modifying header
Post new topic   Reply to topic   Printer Friendly Page     Forum IndexCoppermine
Author Message
protoplasm
Supporter


Joined: Oct 30, 2004
Posts: 40

PostPost subject: modifying header
Posted: Mon Nov 08, 2004 11:29 am
Reply with quote

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
View user's profile
Phoenix
Site Admin


Joined: Apr 19, 2004
Posts: 8729
Location: Netizen

PostPost subject: Re: modifying header
Posted: Mon Nov 08, 2004 11:39 am
Reply with quote

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
View user's profile Visit poster's website
protoplasm
Supporter


Joined: Oct 30, 2004
Posts: 40

PostPost subject: Re: modifying header
Posted: Mon Nov 08, 2004 2:19 pm
Reply with quote

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
View user's profile
Phoenix
Site Admin


Joined: Apr 19, 2004
Posts: 8729
Location: Netizen

PostPost subject: Re: modifying header
Posted: Mon Nov 08, 2004 2:30 pm
Reply with quote

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
View user's profile Visit poster's website
Śyama_Dāsa
Developer


Joined: Apr 19, 2004
Posts: 2049
Location: Dragonfly CMS Tribe

PostPost subject: Re: modifying header
Posted: Tue Nov 09, 2004 8:13 am
Reply with quote

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
View user's profile Visit poster's website Yahoo Messenger
protoplasm
Supporter


Joined: Oct 30, 2004
Posts: 40

PostPost subject: Re: modifying header
Posted: Tue Nov 09, 2004 12:20 pm
Reply with quote

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
View user's profile
Display posts from previous:   
Post new topic   Reply to topic   Printer Friendly Page     Forum IndexCoppermine All times are GMT
Page 1 of 1


Jump to:  
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

stopsoftwarepatents.eu petition banner
User Info [x]

Welcome Anonymous

Nickname
Password
(Register)

Last CVS commits [x]

Languages [x]

Community [x]

Support for DragonflyCMS in a other languages:

Deutsch
Español

X-links [x]
UltraEdit Browse Happy logo Firefox MySQL PostgreSQL Valid CSS! Valid XHTML 1.0! Unicode Encoded Badge NukeBiz Resources Raven DragonflyCMS Dedicated Now InsideSupport Lampe Berger

Preview theme [x]
Each user can view the site with a different theme.
Themes marked with a * also change the forum look.


You are seeing squares or questionmarks on this page?

All content of this website is copyrighted by the Creative Commons NC-SA
The logos and trademarks used on this site are the property of their respective owners
We are not responsible for comments posted by our users, as they are the property of the poster.
Our server runs on a P3 1.2GHz with 512MB RAM with no accelerators
Support GoPHP5.org
This page generated in 0.2908 seconds with 19 DB Queries in 0.035 seconds
Memory Usage: 2.9 MB
Interactive software released under GNU GPL, Code Credits, Privacy Policy