forum.coppermine-gallery.net
Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: rony446 on July 22, 2008, 10:18:21 am
-
Hello, i am rony, new in web designing. I am trying to use coppermine photo gallery. I got some problem and i want to know about some changes...like:
1. I want to change this option from bellow to top of the image/.thumnail. " Display file caption (in addition to title) below the thumbnail" like: Display file caption (in addition to title) Top the thumbnail.
2. There are some option when i uploaded file: name of the image, description, keyword. etc. I want to add some extra option. I want to use photographer name for per picture. when a picture shows then it will be shown. how can i add this and which file. do u help me?
total structure is:
image_caption
Image
Photographer name
Views
Up loader Name
Description.
is it possipble? reply me urgent.
-
Anything is possible, with more or less effort. Question #1 requires you editing your custom theme. Question #2: use the custom fields for that purpose.
Respect the one questiopn per thread policy in the future. You agreed to do so when you signed up.
-
thanks for reply and sorry for 2 questions.
do you tell me how to edit theme and how to make change that field for 2nd questions? I tried but failed to solve it.:(
-
sorry for 2 questions
and then: do you tell me how to edit theme and how to make change that field for 2nd questions?
;D are you joking? ;D
Read all sticky topics that already exist in this sub-forum...
-
Anything is possible, with more or less effort. Question #1 requires you editing your custom theme.
Bro, I tried 2/3 days but i failed to find the location where i can add the image caption to the upper of the image. like:
caption
[image]
please help me. it will be helpful if you tell me the location of that files. I found all the information of album/image title, description, views but could not find the location of image link. please reply me soon.
-
Hello, I am using coppermine 1.4.18 version. i fall in a problem. i want to show the image caption/title upper of the image. normally it shows below of the image. any one can help me, how to solve this problem? please....
-
Hello, I am using coppermine 1.4.18 version. i fall in a problem. i want to show the image caption/title upper of the image. normally it shows below of the image. any one can help me, how to solve this problem? please....
-
Merged double-posting.
-
Surprisingly, Mr. "I don't like to play by the rules" aka rony446 even sent me a PM. Guess what it contained:
Bro,
Last few days i tried to solve my this problem but i could not do this. please help me. I am using coppermine 1.4.18 version. using classic themes.
I want to show image title on the top of image. normally it shows below the image. how can i put image title on top of image. please help me.
First of all, I'm not your "bro". Second: you're not allowed to PM me or anyone else on this board if you have not specifically been allowed to do so.
Patience is a virtue. I have been ignoring you on purpose, so don't molest me again, but maybe someone else will help you (which I doubt, with you showing an attitude like this).
Stop it or you'll get banned. >:(
Joachim
-
Surprisingly, Mr. "I don't like to play by the rules" aka rony446 even sent me a PM. Guess what it contained:First of all, I'm not your "bro". Second: you're not allowed to PM me or anyone else on this board if you have not specifically been allowed to do so.
Patience is a virtue. I have been ignoring you on purpose, so don't molest me again, but maybe someone else will help you (which I doubt, with you showing an attitude like this).
Stop it or you'll get banned. >:(
Joachim
sorry Mr. Joachim. At firlst, I didnt see that you dont like pm from any visitors/any persons. I am sorry for gave you pm & I am sorry to say you Bro.
I need urgent solution for this topics but i didnt get any solution from any of person. I tried many times and trying now also. I am searching over this forum or google but i have failed to overcome from this problem. if you provide me solution for this topics, then it will be helped me a lots. sorry if you bother of my this request. and you have all the right to ban me or ignore me.:(
thanks n take care.
-
I already told you that you're not allowed to double-post, nor are you supposed to hijack other threads (http://forum.coppermine-gallery.net/index.php/topic,35324.msg263681.html#msg263681). Stop it! This is the last warning.
-
I already told you that you're not allowed to double-post, nor are you supposed to hijack other threads (http://forum.coppermine-gallery.net/index.php/topic,35324.msg263681.html#msg263681). Stop it! This is the last warning.
:( sorry. i thought he will help me. thats why i wrote his topics about this problem. sorry for double posting.
-
If he wants to help you, he will do so, no matter what thread you post in. Trying to catch his attention by spreading your support request all over the forum is like shouting at supporters - it won't make it more likely that someone will actually help you. Instead, it will just get more likely that you're being ignored. That's what I do: I'm not ready to look into your issue, as you continue to misbehave by the hour. You have already wasted my time by causing extra moderation effort, so I decided that I will not help you. If you continue to misbehave, your request probably will not attract other supporters, but they will ignore you just as well.
You're doing everything not to get supported instead of doing something bright that will make it more likely to get support: it is usually a bright idea to post a link to your gallery. This will allow potential supporters to see what theme you are using and may make it easier for them to come up with an answer to your request. Start doing clever things instead of just behaving badly.
-
.....
.....
You're doing everything not to get supported instead of doing something bright that will make it more likely to get support: it is usually a bright idea to post a link to your gallery. This will allow potential supporters to see what theme you are using and may make it easier for them to come up with an answer to your request. Start doing clever things instead of just behaving badly.
thanks Joachim Müller. I am new in this forum and new is php-mysql that's why i didnt understand why i didnt get any reply from any one. thanks for your idea.
now i am giving a screen shot where i want to change.
Screen Shot >> [added as attachment - Hein]
my Gallery >> http://systechprojects.co.nr/photo_gallery (http://systechprojects.co.nr/photo_gallery)
I want to put title of the front page image to the top of the image like the screen shot. how can i do this.
-
Actual gallery URL is http://systech.byethost10.com/photo_gallery/ - don't send us to silly framsets!
-
Actual gallery URL is http://systech.byethost10.com/photo_gallery/ - don't send us to silly framsets!
Do you tell me how can i edit this topics name?
I found two file in cpg 1.4.18 where the caption is handling:
1) function.inc.php >>
function build_caption(&$rowset,$must_have=array())
{
global $CONFIG, $THEME_DIR;
global $album_date_fmt, $lastcom_date_fmt, $lastup_date_fmt, $lasthit_date_fmt, $cat;
global $lang_get_pic_data, $lang_meta_album_names, $lang_errors;
foreach ($rowset as $key => $row) {
$caption='';
if ($CONFIG['display_filename']) {
$caption .='<span class="thumb_filename">' . $row['filename'] . '</span>';
}
$caption .= ($row['title']) ? '<span class="thumb_title">' . $row['title'] . '</span>' : '';
...
...
=>Last line provides the tile name of image.
2) theme.inc.php >>
<!-- BEGIN header -->
<tr>
<!-- END header -->
<!-- BEGIN thumb_cell -->
<td valign="top" class="thumbnails" width ="{CELL_WIDTH}" align="center">
<table width="100%" cellpadding="0" cellspacing="0">
<tr>
<td align="center">
<a href="{LINK_TGT}">{THUMB}<br /></a>
{CAPTION}
{ADMIN_MENU}
</td>
</tr>
</table>
</td>
<!-- END thumb_cell -->
=> here {CAPTION} is the position of the title, description, views number. if i put the {CAPTION} to the top of <a href="{LINK_TGT}">{THUMB}<br /></a>
then all the information goes up. but i need only title to the top of image and rest information at the below.
Please give me proper solution. You told, u are ignoring my this topics. but please I need a solution for how to use title on the top of image. give me solution or tell me any way how to change it. please....
-
Don't edit include/themes.inc.php. Instead, edit themes/yourtheme/theme.php, copy the section you want to see changed (and only that section) into themes/yourtheme/theme.php from themes/sample/theme.php, then start modifying it as you see fit.
-
Don't edit include/themes.inc.php. Instead, edit themes/yourtheme/theme.php, copy the section you want to see changed (and only that section) into themes/yourtheme/theme.php from themes/sample/theme.php, then start modifying it as you see fit.
am i replace theme.php from themes/sample/theme.php to themes/mytheme/theme.php ? I dont understand it. where i have to put that section in themes/mytheme/theme.php? please dont mind. i am afraid to ask you anything because of you warning me:(.
-
No, you just copy the function or variable definition that you want to see changed from the sample theme into your custom theme.
-
No, you just copy the function or variable definition that you want to see changed from the sample theme into your custom theme.
sorry i could not find what to change from sample > theme.php to mytheme>theme.php. can u tell me the exact solution ?:(
-
No, you just copy the function or variable definition that you want to see changed from the sample theme into your custom theme.
Mr. Joachim Müller, Thank you for your information. Now I found the how to edit mytheme/theme.php. after changing the file, it changes the title when i clicked on it. but in front page, the image title is not changed. still it is at below the image.
do u tell me which file have to edit for put the title to the up of the image at the front page?
-
That's it: you used yet another thread to post the question dealt with in this thread:
it is possible to flip individual information ( description or views or price ) to the top of the image? if yes then how?
, breaking board rules once more and although I have told you clearly that you definitely are not allowed to spread the question from this thread over others. I have had enough of this: you're banned from this board for a week to allow you to review your childish behaviour. Next ban will be permanent. Do not dare to re-register.
-
same question from me. is it possible to place title of image to the top of image?
-
same question from me. is it possible to place title of image to the top of image?
dhanshiri, did you read the whole post ? you are also breacking board rules by hijacking this thread. Please, stop with this and search the board. we are not just a hotline...