Nukemods Forum  
» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 55
3 members and 52 guests
buynm6ymobcha8b, cliaw9cckhereto, int5nwernetmarx
Most users ever online was 611, 03-21-2008 at 10:10 PM.
» .::.
» .:.

Go Back   Nukemods Forum > NM Staff > Purged Topics

Reply
 
LinkBack Thread Tools Display Modes
how can i do different modules, blocks in different pages?
Old
  (#1 (permalink))
Junior Member
 
Status: Offline
Posts: 3
Join Date: Feb 2003
how can i do different modules, blocks in different pages? - 03-11-2003, 05:41 AM

hi all,
i wanna show my visitors the blocks or modules which they are interested in. for an example guess, i have a site which has only two main topics. "Economy" and "Life". Each block has modules or links in it. (for php-nuke 6.0)

when a visitor surfs over my site and if he/she wants to visit;
- economy section, i want to show him/her only the blocks, modules, links which are about only economy (ex. stock ex., news, fx rates, etc.), and main page link,
- or if a visitor wants to visit "life" section, i want to show only the blocks, modules or links which are about only "life" (ex. movies, theatres, dining, etc.)
can anyone help me about this subject. by the way im not very good on php. please explain this basicly.
thnx for the helps.
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#2 (permalink))
Junior Member
 
Status: Offline
Posts: 89
Join Date: Nov 2002
Location: USA
03-11-2003, 08:13 AM

At NSN They have a mod called Nuke Groups that will allow you to assign modules and blocks to a specific group of users. So you could make two groups on your site called economy and life. And based on which group the user is a member of is what blocks will show up. But this isn't based on where the casual user is just visiting for it to work the visitor would have to register to your site and you would have to assign a user to that specific group.

Another option is something I saw over at nuke forums called the multi-menu block. It uses if else statements to show users choices in the main menu based upon which part of the site they are looking at. Now this won't show all the other blocks based on thier choices it only effects the main menu. There is a pretty long discussion about that here

I guess you could add code into the top of the blocks that basically said if page=finance then do this else die. (not exact code just a concept) but you said you weren't very code savvy so that could really take some work.

I'm not the best coder either just a bit of a hack but hopefully some of that info will help lead you in the right direction.

Good Luck
 Send a message via ICQ to Cyberclark  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#3 (permalink))
Junior Member
 
Status: Offline
Posts: 3
Join Date: Feb 2003
03-11-2003, 03:15 PM

thank you very much for your help. i hope i can do it
c u
bibi
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#4 (permalink))
Junior Member
 
Status: Offline
Posts: 6
Join Date: Sep 2002
03-12-2003, 03:25 AM

Or, maybe even better option is to use php-proxima pack, which give you that option and much, much more. Check for yourself http://www.php-proxima.com
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#5 (permalink))
Junior Member
 
Status: Offline
Posts: 3
Join Date: Feb 2003
03-12-2003, 04:04 AM

thnx
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

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
How do you add pages? thegauntlet Nuke 7.x - General 7 03-07-2005 01:21 PM
blocks/modules order/line up all "messed up" caridad Nuke 6.5 to 6.9 - General 2 12-18-2004 09:37 AM
Disabling Inactive modules in modules block Krutch Nuke 7.x - Modules 2 12-14-2004 10:43 AM
how to add pages to Modules and add pages to blocks?? steve70000 Nuke 7.x - General 0 10-23-2004 04:38 AM
how do i make it so that all modules show right blocks? regnator Purged Topics 5 01-27-2003 07:33 AM




vBulletin Skin developed by: vBStyles.com


LinkBacks Enabled by vBSEO 3.3.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31