[Solved]: Changing URL's in my gallery menu. [Solved]: Changing URL's in my gallery menu.
 

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

[Solved]: Changing URL's in my gallery menu.

Started by sharon1, April 09, 2009, 07:24:35 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

sharon1

Hello, I am using Coppermine 1.4.21 with the I Feel Dirty 2 theme.

http://www.vanlieuphotography.com/store/

On the right hand side, under "gallery menu", the last two links do not link properly. They have the store link first and then the actual link.

For example, when you click Van Lieu Photography you get this link:

http://www.vanlieuphotography.com/store/vanlieuphotography.com

It should be this:

http://www.vanlieuphotography.com

My theme.php has the correct link but I know there must be some parameter that is automatically adding the store link.

How do I get this to link properly?

Thanks so much,

Sharon


Joachim Müller

That's plain, basic HTML skills. In your custom theme.php, you have the line<li><a href="vanlieuphotography.com">Van Lieu Photography</a></li>, which will result in what you experience, as it's a relative link. An absolute one would start with a slash - something like<li><a href="/">Van Lieu Photography</a></li>would send you to the web root of your domain. Absolute reference would be<li><a href="http://vanlieuphotography.com/">Van Lieu Photography</a></li>
You might want to read up some basic HTML tutorials first, as there are some other common mistakes you made in your custom theme.

The menu is empty for your visitors anyway, because you fiddled with it improperly - see screenshot.

sharon1


sharon1

I wonder if you could give me a clue about where I fiddled with it improperly. I fixed the links (thank you very much) but I do see that no one but me can see them.

Can you not add links in this section?

Thanks,

Sharon

sharon1

Oh, I think I found it. I went back to the original them and I had the links in the wrong place. Thanks so much for your help. I will work on cleaning things up a bit.

Sharon

Joachim Müller

Review the idea to add an email link to your navigation - that will only be picked up by email address harvesters and will be used to fill your inbox with even more spam. Instead I suggest using a contact form - this will be helpfull not only in terms of spam reducing, but also users who haven't configured an email client will benefit from that. Check the plugins section - there are at least two contact form plugins available.
Anyway, the initial issue of this thread has been solved, so I'm marking this thread accordingly.

sharon1

Thanks for the heads up. I'll check on those. I appreciate the help.

Sharon