coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: Circle on March 25, 2006, 01:56:49 PM

Title: Adding a link
Post by: Circle 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?
Title: Re: Adding a link
Post by: Joachim Müller on March 25, 2006, 08:09:13 PM
Quote from: Circle 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.
Post a link to your page instead of a dummy URL

Quote from: Circle on March 25, 2006, 01:56:49 PM2. 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.

Quote from: Circle on March 25, 2006, 01:56:49 PM3. 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.
Title: Re: Adding a link
Post by: Circle 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.
Title: Re: Adding a link
Post by: Circle 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);
Title: Re: Adding a link
Post by: Joachim Müller on March 26, 2006, 09:58:50 AM
Quote from: GauGau on March 25, 2006, 08:09:13 PM
Post a link to your page instead of a dummy URL