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: [Solved]: Changing URL's in my gallery menu.  (Read 4037 times)

0 Members and 1 Guest are viewing this topic.

sharon1

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 21
[Solved]: Changing URL's in my gallery menu.
« on: April 09, 2009, 07:24:35 am »

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

« Last Edit: April 09, 2009, 11:16:16 am by Joachim Müller »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Changing URL's in my gallery menu.
« Reply #1 on: April 09, 2009, 08:11:39 am »

That's plain, basic HTML skills. In your custom theme.php, you have the line
Code: [Select]
<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
Code: [Select]
<li><a href="/">Van Lieu Photography</a></li>would send you to the web root of your domain. Absolute reference would be
Code: [Select]
<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.
Logged

sharon1

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 21
Re: Changing URL's in my gallery menu.
« Reply #2 on: April 09, 2009, 08:14:11 am »

Thank you! I'll start over.  :)
Logged

sharon1

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 21
Re: Changing URL's in my gallery menu.
« Reply #3 on: April 09, 2009, 08:44:22 am »

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
Logged

sharon1

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 21
Re: Changing URL's in my gallery menu.
« Reply #4 on: April 09, 2009, 08:51:05 am »

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
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Changing URL's in my gallery menu.
« Reply #5 on: April 09, 2009, 11:16:05 am »

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.
Logged

sharon1

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 21
Re: [Solved]: Changing URL's in my gallery menu.
« Reply #6 on: April 09, 2009, 04:48:55 pm »

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

Sharon
Logged
Pages: [1]   Go Up
 

Page created in 0.022 seconds with 19 queries.