I'm stuck with the following; i've got a website where i would like to link the author's name on top of the articles to link with their profile, so i've eddited the template to show:
Code:
[profile]{author}[/profile]
instead of the standard:
Code:
[email]{author}[/email]
Fact is that the profile link doesn't redirect propperly.
Examples:
When you're on my index.php page, it says: http://www.joostthehost.nl/news/profile/Joost
When you first open '0 reacties', and the titlebar shows 'http://www.joostthehost.nl/?id=6', it says: http://www.joostthehost.nl/?goto=profile&user=Joost
I think the error is caused because all the n-13 news files are in a subfolder called 'news', because i cán find my profile when i use the following link: http://www.joostthehost.nl/news/index.php?goto=profile&user=Joost
I would like not to change having the n-13 files inside a subfolder.. Is there a way i can fix this problem any other way?
Access: Admin
Total Posts: 1395
Joined: 2006-05-19
Hey Joostthehost,
I've made a small change to the index.php file, if you replace everything in your copy of index.php with the contents of this file it should fix your problem.
I've made a small change to the index.php file, if you replace everything in your copy of index.php with the contents of this file it should fix your problem.
Dear Chris,
First of all: Thanks for your reply!
Unfortunately it didn't fix the whole problem. The links now are in the correct '?goto=profile&user=NAME' format, but the page doesn't show a profile.
You'll know what i mean when you try it yourself at JoostTheHost.nl.