Broken category links?

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
funcman
Posts: 8
Joined: Wed 20. Jun 2007, 21:50

Broken category links?

Post by funcman »

Hello,

I am new to phpwcms and have implemented my own custom template. However the navigation links that are generated seem to be broken. (Using {NAV_TABLE_SIMPLE})

All of the category's only have 1 article per page. Is there anyway to make the category link point towards the one and only article? Please help!

The site is here: http://www.electroall.com/phpwcms

Individual article links:
http://www.electroall.com/phpwcms/index ... 12,0,0,1,0
http://www.electroall.com/phpwcms/index ... 13,0,0,1,0
http://www.electroall.com/phpwcms/index ... 11,0,0,1,0
User avatar
juergen
Moderator
Posts: 4556
Joined: Mon 10. Jan 2005, 18:10
Location: Weinheim
Contact:

Post by juergen »

just edit your conf.inc.php:

Code: Select all

$phpwcms['rewrite_url']       = 0;        //whether URL should be rewritable
you have a "1" inside :wink:

After that everything will work well for you

Juergen
funcman
Posts: 8
Joined: Wed 20. Jun 2007, 21:50

Post by funcman »

Juergen,

You're amazing! Thanks it worked!

But what if I wanted to have my urls look like http://www.example.com/aboutus

Is that possible?
User avatar
juergen
Moderator
Posts: 4556
Joined: Mon 10. Jan 2005, 18:10
Location: Weinheim
Contact:

Post by juergen »

If I understand the development of phpwcms in the right manor an option like this is to come in the nearer future .....

For now you need to train yourself in regular expressions, which might become a lifelong "Hobby" ;)
Post Reply