coppermine-gallery.com/forum

Support => cpg1.5.x Support => cpg1.5 miscellaneous => Topic started by: BlackPanda on January 31, 2011, 05:44:06 AM

Title: Custom Menu Link URL Icon
Post by: BlackPanda on January 31, 2011, 05:44:06 AM
I have added a Menu Link in the Configuration of the gallery. When I do this there isn't a way to add an Icon in the configuration like the rest of the menu has. I have the enable menu icons set to yes: everywhere. This doesn't look right. How would I add an Icon, and which file would I edit to move the custom link say as the first link in the list rather than in the middle of all the other links? It looks a little out of place where it is now.

See screenshot attached.
Title: Re: Custom Menu Link URL Icon
Post by: Αndré on January 31, 2011, 02:46:59 PM
If you want to add a custom icon, you have to edit your theme.php file. Please search the board if you don't know what exactly you have to do, as this has been discussed many times before. Then it's also easy to move your button around.

If you don't find any cpg1.5.x thread, have a look at the cpg1.4.x threads, as the procedure how to edit your theme to add menu buttons remains the same.
Title: Re: Custom Menu Link URL Icon
Post by: BlackPanda on January 31, 2011, 03:54:31 PM
Thank you. I will try that.

I did do a search before posting. I always do, because it saves me time if I find the answer before posting.
Title: Re: Custom Menu Link URL Icon
Post by: BlackPanda on January 31, 2011, 03:57:00 PM
Quote from: Αndré on January 31, 2011, 02:46:59 PM
If you want to add a custom icon, you have to edit your theme.php file. Please search the board if you don't know what exactly you have to do, as this has been discussed many times before. Then it's also easy to move your button around.

If you don't find any cpg1.5.x thread, have a look at the cpg1.4.x threads, as the procedure how to edit your theme to add menu buttons remains the same.

It's too early in the morning. I thought you wanted me to search before posting my first post. Sorry...

I will see if I can make it work before posting back. Thank you for your help.
Title: Re: Custom Menu Link URL Icon
Post by: J88 on February 01, 2011, 11:57:48 AM
I used your explain, and it worked!

I have used the link Home (I have the Dutch version, so I don't know what it is in English), the most left link, to take my visitors back to my homepage. But now I wan't to change the name of the link (now it's called Beginpagina, Dutch for homepage) in the name of my website. How can I do that?
Title: Re: Custom Menu Link URL Icon
Post by: Αndré on February 01, 2011, 12:08:05 PM
J88, I already told you to respect our board rules. E.g.
http://forum.coppermine-gallery.net/index.php/topic,55415.msg270608.html#msg270608
http://forum.coppermine-gallery.net/index.php/topic,55415.msg270610.html#msg270610
http://forum.coppermine-gallery.net/index.php/topic,55415.msg270616.html#msg270616
http://forum.coppermine-gallery.net/index.php/topic,55415.msg270632.html#msg270632

So please start a new thread after reading the docs and searching the board. But I'm quite sure your question has been asked and answered many times before.