Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Adding a link  (Read 3627 times)

0 Members and 1 Guest are viewing this topic.

Circle

  • Coppermine newbie
  • Offline Offline
  • Posts: 14
Adding a link
« on: March 25, 2006, 01:56:49 pm »

1. I want to create a link in the Home-Search block to my homepage how do I do this I know it's done in the theme.php file but when I add <a href=www.mysite.com>site</a> it gives me a error.

2. I also want to add the name of the website and sponsor underneath the copyright is there any way to do this?

3. Where can I change the colors used?
« Last Edit: March 25, 2006, 02:03:10 pm by Circle »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Adding a link
« Reply #1 on: March 25, 2006, 08:09:13 pm »

1. I want to create a link in the Home-Search block to my homepage how do I do this I know it's done in the theme.php file but when I add <a href=www.mysite.com>site</a> it gives me a error.
Post a link to your page instead of a dummy URL

2. I also want to add the name of the website and sponsor underneath the copyright is there any way to do this?
Edit themes/yourtheme/template.html and add whatever you like after the {GALLERY}-token.

3. Where can I change the colors used?
http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#creating

Read the docs and search the board before posting. We have a "one question per thread" policy you agreed to respect when signing up. Do so in the future.
Logged

Circle

  • Coppermine newbie
  • Offline Offline
  • Posts: 14
Re: Adding a link
« Reply #2 on: March 26, 2006, 05:34:52 am »

Thanks, I will watch it and only ask one question in each post.

But could you tell me what is wrong in this line?

addbutton($sys_menu_buttons,'Forum','Forums.','http://www.forum.mysite.com','home',$template_sys_menu_spacer);

http://www.forum.mysite.com is the forums location.
« Last Edit: March 26, 2006, 05:51:23 am by Circle »
Logged

Circle

  • Coppermine newbie
  • Offline Offline
  • Posts: 14
Re: Adding a link
« Reply #3 on: March 26, 2006, 05:56:14 am »

Sorry I got it needed to be:

addbutton($sys_menu_buttons,'Forum','Go to the forums.','http://forum.mysite.com/index.php','forum',$template_sys_menu_spacer);
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Adding a link
« Reply #4 on: March 26, 2006, 09:58:50 am »

Post a link to your page instead of a dummy URL
Logged
Pages: [1]   Go Up
 

Page created in 0.023 seconds with 15 queries.