PDA

View Full Version : Custom Nav link Question - can on view current year


CStory
01-18-2008, 12:38 AM
I am working on integrating this into my CMS installation. I have it working for the most part. You can view it here: http://paoutdoorsportsman.com/joomla1013/component/option,com_epcal/Itemid,32/

I am calculating prev and next month and passing it in. The links are working fine but I can go past the current year. It pays attention to the month but ignores the year. Is there some variable that is limiting it to one year?

I also have it in a standalone web page and it works just fine.http://events.paoutdoorsportsman.com/

ve9gra
01-18-2008, 07:03 AM
Well there's nothing that 'limits' it to one specific year, but you have to use the correct variables to control the year being displayed.
The year variable is "yr" not "year". I don't know what you've got coded in the background, I'm going only on what you're passing through the URI.

CStory
01-18-2008, 08:08 AM
DUH!!! I think I have been working too much. That was it. Once I made that change it worked. Silly me.

Thanks!