Primary links, Pages and menus

broady - May 28, 2008 - 11:36

Hello guys and forgive me for my bad english i will do my best!

I am almost new to drupal but now drupy 6.2 is up and running properly on kubuntu with the last xampp package. I have to realize a mini-portal for a poker association. Till now i have just modified the Aeon5 theme with css/images, i am happy with it and now it's time to build the site. I need a newsletter and i khnow how it can be realized with Simplenews (alreay tested on the real server with drupal 6.0). I am using the image module and it works properly.

Now i'd like to khnow if i have to use taxonomy: i read a lot about it but i dont khnow if i need it for this simple site. Mainly my site needs some primary link (Association, info,rules and partners). Now the primary link content has to be static so i tought about using pages. Now the problem is: when i click on 1 of the primary link (say association) i wanna the site to show on the sidebar a new menu with 3 or 4 voices. This menu has to replace all the stuff (or part) of the sidebar (i.e. the newsletter block that is in the sidebar when i am in the homepage has to fade).

My questions are:

do i need to use taxonomy for my work?
do i need some extra modules to create that submenu of a primary link?

Thanks guys
Sincerelly broady

I'm not sure as for the

valeria78 - May 28, 2008 - 13:30

I'm not sure as for the taxonomy.
For the menus: maybe try the nice_menus module. It can be used to "substitute" the primary links.

Hello again, as i said

broady - May 28, 2008 - 13:40

Hello again,

as i said before, i have to view a nemu on the left when i click on a primary link. To do this i donwloaded the "nice menu" module wich creates menu blocks for me. Now, trough the menu section, i created a submenu for 1 of my primary links (say association). From the block menu i setted the source menu tree for the "nice menu 1" to association. Now "nice menu 1" is obviusly a block containing the submenu of the "association" primary link.

The problem is: i wanna the system to show this menu i just created not on every page of the site, but just when i click on the "association" link.

Since the "association" link heads to a page (page in drupal sense) stored in the path "/node/1", I was thinking to add something like this:

Show the block onfy if this code returns true:

$_SERVER ['PHP_SELF']=="/node/1"

so i should see the menu just when i am in that node. Am i right?

Now it's not working i dont khnow why, but is this a good solution?

i hope u read this my guys :D

thanks

Well i dont khnow if it's a

broady - May 28, 2008 - 14:21

Well i dont khnow if it's a good solution but adding the snippset i reached my goal:

[code]

<?php
if ($_SERVER['QUERY_STRING']=='q=node/1')
return
true;
else
return
false;
?>

[/code]

Hello, anyone has an other

broady - May 29, 2008 - 09:26

Hello,

anyone has an other solution to aim my goal? i am sure u khnow c' mon :D

 
 

Drupal is a registered trademark of Dries Buytaert.