Link in Nugget acting Nutty

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
rj
Regular
Posts: 477
Joined: Sun Sep 10, 2006 2:53 pm

Link in Nugget acting Nutty

Post by rj »

I have the following two lines in a nugget.

<a href="index.php?serendipity%5Bsubpage%5D=adduser">register</a>
<a href="serendipity_admin.php">create entry (admin)</a>

All is well until a category is selected. From any category other than ALL CATEGORIES when you click on the links in the nugget it adds the word categories to the path:

serendipity/categories/serendipity_admin.php
(a link failure)

rather than

serendipity/serendipity_admin.php
(the successful link)

Same with REGISTER.

All the testing in the world isnt going help me fix this one.
Its way over my head. :)

RJ
d_cee
Regular
Posts: 603
Joined: Wed Jan 18, 2006 6:32 pm
Location: UK
Contact:

Post by d_cee »

Hi there

the easiest solution would be to use the full pall path for the links. Something like

Code: Select all

<a href="http://your_url/your_path/index.php?serendipity%5Bsubpage%5D=adduser">register</a>
HTH

Dave
rj
Regular
Posts: 477
Joined: Sun Sep 10, 2006 2:53 pm

Post by rj »

That worked!
Thank you very much!
Post Reply