PDA

View Full Version : Moving categories to non-index page


searchpurple
01-08-2007, 05:53 PM
http://www.forumdetector.com

As you can see, I have two main pages right now: index.php and categories.php. They each have a different tpl file.

Right now, I have my categories on my index page and nothing on my categories page. I want to move my directory listing to the categories page.

I was trying to just wing it and figure it out myself, but I was having problems with the subcategory pages' layouts, so I figured ill just get it done right...

thanks

searchpurple
01-09-2007, 05:46 PM
categories.php can be found if you click "All Categories" in the middle left menu.

Any idea how to go about doing this? Do I need to explain myself better or do you get the idea of what I am tryin to do?

searchpurple
01-10-2007, 10:25 PM
Bump...

Or should I have just installed the directory in the subcategory to begin with? But then would the sidemenu work on the index page?

David
01-12-2007, 04:41 AM
Hi, I saw your post and even got your PM. I just think it may take getting a programmer to take a look and do some testing to get this to work. I didn't understand well enough to get a simple answer for you.

If you want to get an organized plan together and maybe make some screen shots with notes on them, maybe I can get someone to try to figure out how to do what you are asking.

James
01-12-2007, 09:37 AM
handled via pm

searchpurple
01-12-2007, 05:07 PM
Note to forum. The fix was this:

Copy code from index.php to categories.php. Then, in htaccess, change

RewriteRule ^(.*)$ index.php [QSA,L]

to

RewriteRule ^(.*)$ categories.php [QSA,L]

Thanks for the help Dawzz and David.