PDA


View Full Version : v2 navigation.php bug?


RBasil
06-07-2005, 04:29 AM
Brand new v2 install.

When trying to add two separate navigation blocks (One for regular members and one for staff only) I get the following error:


Fatal error: Cannot redeclare construct_page_structure() (previously declared in /home/httpd/httpdocs/modules/navigation.php:11) in /home/httpd/httpdocs/modules/navigation.php on line 11


Everything else in v2 is working great so far. First issue I've found. Great work!

Brian
06-07-2005, 12:21 PM
Did you copy your site navigation module? I'm not sure how you would get that error otherwise.

RBasil
06-07-2005, 03:59 PM
Yes, I copied the navigation module and still got the error. I tried it a few times just to make sure.

Brian
06-07-2005, 04:13 PM
That's your problem then, you can't have more than one navigation module.

RBasil
06-07-2005, 04:22 PM
That's your problem then, you can't have more than one navigation module.

uugghh... Didn't know that. I have a few links (staff related) that I only want the staff to be able to use.

Any ideas?

ConqSoft
06-07-2005, 04:23 PM
Create a BBCODE or TEMPLATE module and adjust permissions to it?

RBasil
06-07-2005, 04:32 PM
Create a BBCODE or TEMPLATE module and adjust permissions to it?

Well I'll be damned. Who let you in here bro? Long time no chat. ;)

Thanks for the idea.