» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 65
0 members and 65 guests
No Members online
Most users ever online was 611, 03-21-2008 at 11:10 PM.
» .::.
Web Hosting - web hosting, dedicated servers and web design services
Online Degree - search for 1000+ online degrees, online colleges & online universities.
Tattoo - we are a group of tattoo enthusiasts
Gexa Energy - your absolute best choice in electric service
Texas electricity - save on electric rates
Oral Chelation - initial cleansing of your veins & arteries

Register Now! Contact Us

About this Page
This is a discussion on how can i do different modules, blocks in different pages? within the Purged Topics forums, part of the NM Staff category; hi all, i wanna show my visitors the blocks or modules which they are interested in. for an example guess, ...


Go Back   Nukemods Forum » NM Staff » Purged Topics

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-11-2003, 06:41 AM
Junior Member
 
Join Date: Feb 2003
Posts: 3
how can i do different modules, blocks in different pages?
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
  #2 (permalink)  
Old 03-11-2003, 09:13 AM
Junior Member
 
Join Date: Nov 2002
Location: USA
Posts: 89
Send a message via ICQ to Cyberclark
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 03-11-2003, 04:15 PM
Junior Member
 
Join Date: Feb 2003
Posts: 3
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
  #4 (permalink)  
Old 03-12-2003, 04:25 AM
Junior Member
 
Join Date: Sep 2002
Posts: 6
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
  #5 (permalink)  
Old 03-12-2003, 05:04 AM
Junior Member
 
Join Date: Feb 2003
Posts: 3
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 02:21 PM
blocks/modules order/line up all "messed up" caridad Nuke 6.5 to 6.9 - General 2 12-18-2004 10:37 AM
Disabling Inactive modules in modules block Krutch Nuke 7.x - Modules 2 12-14-2004 11:43 AM
how to add pages to Modules and add pages to blocks?? steve70000 Nuke 7.x - General 0 10-23-2004 05:38 AM
how do i make it so that all modules show right blocks? regnator Purged Topics 5 01-27-2003 08:33 AM


All times are GMT -5. The time now is 07:54 AM.


Design by Vjacheslav Trushkin, color scheme by ColorizeIt!.

LinkBacks Enabled by vBSEO 3.1.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