Welcome Guest, Not a member yet? Register   Sign In
Calendar as Widget+URI Segment = Error???
#1

[eluser]newbiewcoder[/eluser]
Hi guys...

I have a calendar in a section of the page, as a widget. I show this calendar widget from view, using Modular Extension HMVC run::module(blablabla)(Sound Oldschool huh?) So, this calling not interfere main controller process.

For example:
http://localhost/ci/index.php/news/detai...ews-title/

"not interfere main controller process" means we are in news detail like in the URL above.

Now, how calendar show next and prev link with out depending on uri segment? As we generate the calendar:
Code:
$this->calendar->generate($this->uri->segment(5), $this->uri->segment(6));

I mean, how to keep the URL
http://localhost/ci/index.php/news/detai...ews-title/
while the calendar running well when user click on next / prev links?
How to subtitute $this->uri->segment(5) and $this->uri->segment(6)?

Thank you.


Messages In This Thread
Calendar as Widget+URI Segment = Error??? - by El Forum - 07-16-2010, 12:43 PM



Theme © iAndrew 2016 - Forum software by © MyBB