Where do you modify {GALLERY}? Where do you modify {GALLERY}?
 

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

Where do you modify {GALLERY}?

Started by nameless, July 17, 2006, 06:20:41 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

nameless

I am trying to change some simple fonts but looking at the source I see some text has some bold code around it


                <td class="tableh1" width="80%" align="left"><b>Category</b></td>

                <td class="tableh1" width="10%" align="center"><b>Albums</b></td>
                <td class="tableh1" width="10%" align="center"><b>Files</b></td>
        </tr>


This class is also used for "Random Files" and "Last Additions." It also shows for the following info below which is bolded, but I'd like to put this text in a different class.

"0 files in 1 albums and 3 categories with 0 comments viewed 0 times"

Sami

- if you want to change somthing you should change it on themes/yourtheme/theme.php
- both texts are under $template_cat_list variable
- check your theme.php for $template_cat_list and if you don't have it copy it from sample/theme.php to your theme.php and   tweak it....
‍I don't answer to PM with support question
Please post your issue to related board

nameless

Ah, this is what I was looking for!!! Thanks! The theme.php file didn't have most of this stuff in the "sample" directory. Where was it pulling the data from?

Joachim Müller

If something isn't specifically being defined in your theme.php, the default theme behaviour is being taken into account. This is being defined in include/themes.inc.php. However, you mustn't edit that file, under no circumstances. We mean it! Do as suggested and define the stuff you want to see changed (and only the stuff you want to see changed) in your custom theme by copying the section from the sample theme. The sample theme contains code that would override everything that is being defined in the default theme definition file I told you above, so you can edit absolutely anything with the message I suggested.

nameless

Thanks guys I was able to edit the theme.php file to my likings. I appreciate the help!!! :)

Thats Me

Oh, thank God for this thread. I've been battling with my cp installation for the past three days. Finally (struck with fleeting brilliance!) I decided to check out the support forums. Found this post in a matter of minutes - it solves exactly what I was struggling with. Thank you!