Go Back   NiceCoder Community Forums > Nicecoder Products > IndexU > Templates
Register Projects FAQ Members List Mark Forums Read

Closed Thread
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-09-2007, 01:49 PM
jai jai is offline
Registered User
 
Join Date: May 2007
Posts: 5
jai is on a distinguished road
Default display catagory folders on another page

Hi

I'm using the Kosmos template and what I want to do is just provide a search box on the main page instead of the catagory listing, how can I move the catagory listing to another page so that I can have a "view full catagories" option.

I have tried moving the <%$category%> to another page but the list doesn't appear. (with the kist I mean the main catagories with the folders showing.

I'm new to php, can someone advise, Thank You
  #2 (permalink)  
Old 10-09-2007, 06:16 PM
Bruceper's Avatar
Nicecoder Team
 
Join Date: Jun 2002
Location: Winnipeg Canada
Posts: 4,018
Bruceper is on a distinguished road
Default

To disable the categories just remove <%$category%>.

Category wont show up anywhere else because the corresponding .php files aren't coded to display the main category.

Why not change your .htaccess so when they visit www.yoursite.com they are redirected to a custom search page?
  #3 (permalink)  
Old 10-10-2007, 02:33 PM
jai jai is offline
Registered User
 
Join Date: May 2007
Posts: 5
jai is on a distinguished road
Default

Thank you for your reply,

I'm not looking to disable just move the catagories from the front page on the Kosmos template to another page.

Think of it as instead of clicking for the advanced search but to view the full catagory list, this is what i'm looking for.

index = search box alternative page = full listing as it was on the index page.

hope this can be done,

jai
  #4 (permalink)  
Old 10-10-2007, 03:26 PM
Bruceper's Avatar
Nicecoder Team
 
Join Date: Jun 2002
Location: Winnipeg Canada
Posts: 4,018
Bruceper is on a distinguished road
Default

As I said, the browse pages are not coded to display the index categories. Of course you could add the code but for what reason?

If you did that then every subdirectory would show all the categories and would in effect become the index. Then you would create a nasty loop and show the directories every time you clicked on a directory and would never see the listings.

If all you want to show to a user is the search then code a custom page and redirect them via .htaccess to this custom page which would in effect now be your landing page.

This does exactly what you want, without having to mess with the script or cause issues of loops by displaying main level categories in subcategories.

Of course you could move the categories to it's own custom page, but then that requires more work than simply making a landing page. If that's what you want to do then copy index.php and index.html, rename them, change the code in them to reflect their new names, change the code in the origional index.html to remove <%category%> and then you should be good.
  #5 (permalink)  
Old 10-12-2007, 02:55 AM
jai jai is offline
Registered User
 
Join Date: May 2007
Posts: 5
jai is on a distinguished road
Thumbs up

Thanks again for your quesk reply,

I understand what your saying, and appreciate your help/support, your last paragraph sounds like the best way, but I will re-think my idea.


Again Thanks for your time and help
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Better way to layout "folders" on home page (I have 300+ Categories) HELP! mxwebsites v5.x 1 06-21-2007 11:16 PM
Template modifier sub folders player77 v3.2 0 06-03-2005 07:47 PM
How to display $cat in Detail page? cucupidon v3.2 1 03-25-2005 10:56 AM
Customizing Catagory Display ezykiwi v5.x 0 07-21-2004 12:29 PM
Problems with page display tsmedstad v5.x 4 07-05-2002 04:30 AM

HACKER SAFE certified sites prevent over 99.9% of hacker crime.

All times are GMT -5. The time now is 07:18 PM.


Powered by vBulletin®
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO
SSL Certificate