modifying header
| Author |
Message |
protoplasm


Joined: Oct 30, 2004 Posts: 40
|
Post subject: modifying header Posted: Mon Nov 08, 2004 11:29 am |
|
I'd like to introduce a graphic header in the main Coppermine gallery. Is there a header file or code somewhere that I can modify? I realize the template.html file holds the two main titles that I would prefer to avoid using if at all possible. Thanks, Mike
protoplasm's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Unix/Apache 1.3.33 /PHP 4.4.14/MySQL 4.1.14-standard/Dragonfly 9.0.6.1 |
|
| Back to top |
|
 |
Phoenix


Joined: Apr 19, 2004 Posts: 8729 Location: Netizen
|
Post subject: Re: modifying header Posted: Mon Nov 08, 2004 11:39 am |
|
That would be your main theme file like theme.php or header.html, depending on what theme you are using.
_________________ • DonationsPro for DragonflyCMS, SMF, MyBB, vBulletin •
Phoenix's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
 |
|
| Back to top |
|
 |
protoplasm


Joined: Oct 30, 2004 Posts: 40
|
Post subject: Re: modifying header Posted: Mon Nov 08, 2004 2:19 pm |
|
In PH2, I believe there is neither--at least as far as I can see. Unless you are talking about the theme.php which exists outside Coppermine and affects everything. It looks like the header is simply created from template.html. Thanks, Mike
BTW, I know how to do this on the standalone version, but the cpgnuke mod is clearly different.
protoplasm's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Unix/Apache 1.3.33 /PHP 4.4.14/MySQL 4.1.14-standard/Dragonfly 9.0.6.1 |
|
| Back to top |
|
 |
Phoenix


Joined: Apr 19, 2004 Posts: 8729 Location: Netizen
|
Post subject: Re: modifying header Posted: Mon Nov 08, 2004 2:30 pm |
|
For PH2 it will be in the themeheader function inside theme.php
_________________ • DonationsPro for DragonflyCMS, SMF, MyBB, vBulletin •
Phoenix's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
 |
|
| Back to top |
|
 |
Śyama_Dāsa


Joined: Apr 19, 2004 Posts: 2049 Location: Dragonfly CMS Tribe
|
Post subject: Re: modifying header Posted: Tue Nov 09, 2004 8:13 am |
|
so you'd like to a graphical image where the titles are in coppermine?
open template.html
replace
Quote:
<p class="gal_title">{GAL_NAME}</p>
<p class="gal_desc">{GAL_DESCRIPTION}</p>
with
Quote:
<!-- <p class="gal_title">{GAL_NAME}</p>
<p class="gal_desc">{GAL_DESCRIPTION}</p>-->
then insert your html there...
_________________ AKA Akamu / Read these and your life will be successful | Find a Repair
--
Mods and Professional Support via YIM
Śyama_Dāsa's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) win32 / Apache 1.3.33 / MySQL 4.1.16/PHP 4.4/CPG-CVS ( browsers: Mozilla 1.7.x / IE6 / Opera 8.0) |
|
| Back to top |
|
 |
protoplasm


Joined: Oct 30, 2004 Posts: 40
|
Post subject: Re: modifying header Posted: Tue Nov 09, 2004 12:20 pm |
|
Thanks for your reply akamu. Yep, I finally decided that the graphic had to go into template.html because I didn't find either of the other files that would affect solely coppermine. It's already up. What makes a great header graphic is a downsized filmstrip with your own album photos inside the filmstrip. I actually changed the type so it matches the generated type in some of the modules and not that huge header stuff. Looks decent.
protoplasm's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Unix/Apache 1.3.33 /PHP 4.4.14/MySQL 4.1.14-standard/Dragonfly 9.0.6.1 |
|
| Back to top |
|
 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum
|

|
User Info ![Show/hide content [x]](themes/dragonfly/images/minus.png)
 Welcome Anonymous
Last CVS commits ![Show/hide content [x]](themes/dragonfly/images/minus.png)
Languages ![Show/hide content [x]](themes/dragonfly/images/minus.png)
Community ![Show/hide content [x]](themes/dragonfly/images/minus.png)
 Support for DragonflyCMS in a other languages:
• Deutsch
• Español
X-links ![Show/hide content [x]](themes/dragonfly/images/minus.png)
Preview theme ![Show/hide content [x]](themes/dragonfly/images/minus.png)
Each user can view the site with a different theme.
Themes marked with a * also change the forum look.
|