Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
A controller is responsible for executing a sequence of instructions in response to some stimulus (maybe a command, action, or event). This tag is appropriate for questions pertaining to the controller of a Model-View-Controller pattern.
1
vote
Accepted
How to remember User State settings when returnng to a Site View?
It doesn't look like you are including the menu Itemid in your redirect which is why your URL is changing. Add another hidden field with the value of your current Itemid. Your redirect code is fine ju …
3
votes
How to get menu parameters and itemid in component controller
Use the following:
$menu =& JSite::getMenu();
$activeMenu = $menu->getActive();
$Itemid = $activeMenu->id;
or
$menu =& JSite::getMenu();
$activeMenu = $menu->getActive(); …