Page 1 of 1

Broken category links?

Posted: Wed 20. Jun 2007, 22:05
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

Posted: Wed 20. Jun 2007, 22:31
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

Posted: Thu 21. Jun 2007, 15:14
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?

Posted: Thu 21. Jun 2007, 17:48
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" ;)