Some questions about template system Some questions about template system
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Some questions about template system

Started by kamikaze cow, January 23, 2011, 01:40:13 AM

Previous topic - Next topic

0 Members and 3 Guests are viewing this topic.

kamikaze cow

I am about to make a new template for cpg1.5 and there are some questions about the system after I have spent a few days on it.
( http://salsafuerte.hu/gallery0/index.php )

Is it possible
- to format the breadcrumb line (image instead of ">")?
- to format the shortorder_options class?
- to remove the icons from in front of "last updated" and "random" titles if I use icons on any other places?
- to put the caption under the images on the front page?
- to edit the captions?

Thank you for your reactions.






Αndré

Quote from: kamikaze cow on January 23, 2011, 01:40:13 AM
format the breadcrumb line (image instead of ">")?
Edit function theme_breadcrumb.


Quote from: kamikaze cow on January 23, 2011, 01:40:13 AM
format the shortorder_options class?
Just edit it in your style.css file.


Quote from: kamikaze cow on January 23, 2011, 01:40:13 AM
remove the icons from in front of "last updated" and "random" titles if I use icons on any other places?
That's a little bit harder to accomplish (if it's possible at all). The icon is added in the function get_pic_data in include/functions.inc.php. You cannot modify that function in your theme.php file, but it should be possible by modify the function theme_display_thumbnails (I haven't checked that).


Quote from: kamikaze cow on January 23, 2011, 01:40:13 AM
put the caption under the images on the front page?
Under which images? A link to your gallery would help a lot.


Quote from: kamikaze cow on January 23, 2011, 01:40:13 AM
edit the captions?
Please elaborate.

kamikaze cow

Quote from: Αndré on January 24, 2011, 12:06:45 PM
Edit function theme_breadcrumb.
I would like to make something like this (Kezdőlap>Zene>Pupy y los que Son Son: La Borrachera). I found this token in theme_breadcrumbs: {BREADCRUMB}. If I insert an arrow after or before it, it doesn't work.
Quote from: Αndré on January 24, 2011, 12:06:45 PM
Just edit it in your style.css file.
I have tried it, so maybe it is my mistake, I will try to clear css.
Quote from: Αndré on January 24, 2011, 12:06:45 PM
That's a little bit harder to accomplish (if it's possible at all). The icon is added in the function get_pic_data in include/functions.inc.php. You cannot modify that function in your theme.php file, but it should be possible by modify the function theme_display_thumbnails (I haven't checked that).
I would not really like to modify core files. I had used the Coppermine Gallery 1.4.x with a lot of modifications until it was hacked...
I'd rather help the developers to implement this feature if it is possible.:)
Quote from: Αndré on January 24, 2011, 12:06:45 PM
Under which images? A link to your gallery would help a lot.

Please elaborate.
I would like to modify and to reposition the album thumbnails, titles, descriptions, date formats and so on in the middle of the main page above the random line.

And a new problem: the film strip line doesn't work in all browsers and  the quick page chooser (select) doesn't work in IE.

Here is the link to the gallery: http://www.salsafuerte.hu/gallery/index.php (It was launched yesterday in half ready current state after the pressure of the dance school dancers:) )

Thank you for your help!

kamikaze cow

And the slideshow doesn't work, either. Unfortunately, I am of average skills in html/css, but not in JavaScript, so any ideas are welcome.

germs


Αndré

I think now is the time to follow our board rules, as it's almost impossible to track all your issues in this single thread:
Quote from: Joachim Müller on September 28, 2008, 10:28:42 AM
10. One question per thread
We have a strict "One question/issue per thread rule", which helps both supporters/moderators to keep track of open/closed issues as well as users who search the board or browse it, looking for answers to their question.


Let's address your first question:
Quote from: kamikaze cow on January 23, 2011, 01:40:13 AM
format the breadcrumb line (image instead of ">")?
Quote from: kamikaze cow on January 24, 2011, 10:22:54 PM
I found this token in theme_breadcrumbs: {BREADCRUMB}
You shouldn't edit function theme_display_breadcrumb, but function theme_breadcrumb.

kamikaze cow

Quote from: germs on January 25, 2011, 12:14:36 AM
anyway i can contact you kamikaze?

Yes, as you wish.:)


Quote from: Αndré on January 25, 2011, 10:00:45 AM
10. One question per thread

Accepted, I will be back in a new topic, thank you for your help!