Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Old 07-07-2006, 11:26 PM Default Page
ORiN's Avatar
Ultra Talker

Posts: 381
Name: Francis
Location: Singapore
Trades: 0
I am using Nucleus as my CMS for my website. However, I would like to display only my News category by default when a visitor comes to my website. The default now is of course index.php but I would like to change it to index.php?catid=1&blogid=1 to display the news instead of the content. Any idea how to implement this?
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
ORiN is offline
Reply With Quote
View Public Profile Visit ORiN's homepage!
 
 
Register now for full access!
Old 07-08-2006, 02:54 AM Re: Default Page
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,385
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Add a condition to index.php to redirect to the required version if catid or blogid is empty
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 07-08-2006, 03:49 AM Re: Default Page
ORiN's Avatar
Ultra Talker

Posts: 381
Name: Francis
Location: Singapore
Trades: 0
If I do that won't I be creating a loop such that every visitor will be redirected to the category? Nucleus don't work using many pages, the CMS only have index.php. The content is based on the different categories.
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
ORiN is offline
Reply With Quote
View Public Profile Visit ORiN's homepage!
 
Old 07-08-2006, 06:27 AM Re: Default Page
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,385
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
only if the value is empty, if it has a value there will be no redirect
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Reply     « Reply to Default Page
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.21385 seconds with 12 queries