Forum Index
RegisterSearchFAQMemberlistUsergroupsLog in
why full story link screw up my page layout?

 
Reply to topic    Forum Index » Help View previous topic
View next topic
why full story link screw up my page layout?
Author Message
Cypher



Joined: 17 May 2008
Posts: 4

Post why full story link screw up my page layout? Reply with quote
so from the front page/index php page where the news includes is, everything looks good. but then i clik on the news title to enter the full story, the page got screw up... why is that?

every image is gone, picture links are broken, style css links are broken. everything is just broken. why? how do i fix this?
Wed Jun 04, 2008 5:42 am View user's profile Send private message
Guest








Please login to hide the ads.

Cypher



Joined: 17 May 2008
Posts: 4

Post Reply with quote
fixed!

the URL before was like

hxxp://www.mysite.com/news.php/year/day/month/newstitle.html

and i fixed it by changing the URL to this.

hxxp://www.mysite.com/news.php?id=1/year/day/month/newstitle.html

I did this by changing this.

Code:

[home]
post = "{year}/{month}/{day}/{title}.html"


to this:
Code:

[home]
post = "?id={id}/{year}/{month}/{day}/{title}.html"


and it seems to work great with my news home page.

now i just need to figure out how/where to change the category URL. Sad
Wed Jun 04, 2008 9:50 am View user's profile Send private message
scottdallas



Joined: 04 May 2006
Posts: 1955
Location: US

Post Reply with quote
Does hxxp://www.mysite.com/news.php?id=1 show the same result as hxxp://www.mysite.com/news.php?id=1/year/day/month/newstitle.html

?

if so, I have some ideas...

_________________
www.scodal.com is an example of cnr as a social forum - www.scottdizzle.com is an example of cnr as a personal website to share whatever cool stuff i feel like. i have another, but it's nsfw. pm me Wink
Thu Jun 05, 2008 5:14 am View user's profile Send private message Visit poster's website AIM Address
Cypher



Joined: 17 May 2008
Posts: 4

Post Reply with quote
yeah, both address are linked to the same page ofcourse... i could just remove {year}/{month}/{day}/{title}.html but i like the way it looks. do you have any other ideas then?

also how do i change the category link?

right now it's like this hxxp://www.mysite.com/news.php/category/category-name

i want it like this.

hxxp://www.mysite.com/news.php?do=category/category-name

you got any ideas?
Thu Jun 05, 2008 6:14 am View user's profile Send private message
Display posts from previous:    
Reply to topic    Forum Index » Help All times are GMT + 1 Hour
Page 1 of 1

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum



Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Music Lyrics.