View Full Version : Navigation not working
kenn209
12-05-2005, 08:07 AM
I noticed today that only logged in as admin on my nuke site that the forward and backward nav buttons work, When logged in as a regular user I get the following msg:
Sorry, such file doesn't exist...
Is the way it is supposed to work?
kenn209
kenn209
12-05-2005, 08:30 AM
On further review, it seems to be just the home page your can't advance the calendar...
Brian
12-05-2005, 09:37 AM
Can you provide a link to your page?
kenn209
12-05-2005, 04:38 PM
www.vacampers.com
Brian
12-05-2005, 04:52 PM
What version are you using?
kenn209
12-05-2005, 05:02 PM
Sorry, should have put all that info in the first post,
Its 7.8
kenn209
Brian
12-05-2005, 05:08 PM
What version of the calendar?
kenn209
12-05-2005, 05:47 PM
Sorry, 6.3.11
Brian
12-05-2005, 06:10 PM
Did you try setting the $thisFile="index.php"; variable on the index page, just before requiring the calendar?
ve9gra
12-05-2005, 07:36 PM
If he was to do that then it would break the navigation for the rest of the site. I know I've had that problem before, but right now my brain is on the fritz... I'll post as soon as I regain my cognitive abilities.
kenn209
12-05-2005, 07:37 PM
When I'm on the home page, in the lower left hand of the page, Just above the start button (windows xp) there is a "Done" when the page is done loading.
If you mouse over the navigation button it says:
http://www.vacampers.com/modules.php?mo=1$yr=2006,
If I am on another page ie topics it says:
http://www.vacampers.com/modules.php?name=topics&mo=1$yr=2006,
hope this isn't to confusing, I looked in the modules.php and didn't help to much. I'm not a php programmer. but do some programming.
The calendar works fine otherwise and its not to big a deal if we can;t fix this over night....
I tried the $thisfile statement didn't work.
kenn209
Brian
12-05-2005, 08:07 PM
ve9gra should be able to find the fix. ;)
kenn209
12-05-2005, 09:17 PM
Thanks for the help. Will keep looking to find the problem...
Kenn209
ve9gra
12-06-2005, 05:59 AM
I have a fix in the works, I'll let you know as soon as I can confirm it really works.
ve9gra
12-06-2005, 08:09 AM
Here's an updated blocks-Calendar.php. I've tested it on my own PHP-Nuke 7.8 installation and it worked properly. Let me know if it fixes your problem.
kenn209
12-06-2005, 06:52 PM
Works great!!!
Thanks for the support...
Kenn209
hotestimator
02-07-2006, 03:53 PM
Is that to replace the existing "calendar.php" ?
ve9gra
02-08-2006, 06:23 AM
Absolutely not. This file should be uploaded as block-Calendar.php under the /blocks/ folder of your PHP-Nuke installation. This is so the calendar can be integrated in a block on your frontpage.
twdmcrider
06-18-2006, 10:11 AM
I tried the new block on my site (www.solidrockyouthgroup.com) and the entire right column (where the calendar was) disapears.
ve9gra
06-18-2006, 09:53 PM
That's because your installation is in a non-standard folder. You'll have to modify the blocks so that the paths match where you've installed your calendar. Right now, the stuff doesn't show up because in the script it uses a "require" and it doesn't find the file it requires. What happens then is that the script errors out and quits.
Fix your paths and it should work.
vBulletin® v3.8.4, Copyright ©2000-2013, Jelsoft Enterprises Ltd.