Adding extra links on header Adding extra links on header
 

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

Adding extra links on header

Started by leon043, February 03, 2009, 09:58:16 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

leon043

Alright I've been trying to add new links to different sites I want to connect my site to. If I look at the page source I can easily find it's location as to where I need to add it, but if I look around for the php file that it's being taken from I cannot find it. I searched around trying to find help, but I couldn't find any. Any help would be much appreciated.

Hein Traag


leon043

alright thank you. i feel really dumb now lol  :D

but i am curious as to if it's possible to add more than 1 link to the top?

Joachim Müller

Well, you want to actually include more files I guess. Linking is something else. If you just need links, then edit themes/yourtheme/template.html and add as many links as you want to your custom theme.
If you want to actually include more files, create a small PHP file on your server that does the including. The custom header include setting in coppermine points to your little custom PHP script. That little script should then do all the including you need to see done. This is plain PHP, please look up the PHP documentation for the include and require commands. However, be warned: it is not very wise in terms of security nor stability to include files that are not under your control, i.e. on different sites.
If you need details, post details: posting a link to your gallery is almost mandatory for every support request anyway. Specify what you actually want to see done (including or linking). Specify what files you want to see included etc.