New answers tagged


Looking at how Weblinks works I can see that the only time weblinks.go gets involved is when you have have an option selected to count Hits for each link causing view.html.php to display this style of link: $item->link = JRoute::_('index.php?option=com_weblinks&task=weblink.go&id=' . $item->id); at line 88 of default_items.php I would ...


An approach I have found that works for my situation in regards to the returning to the same URL is the use of a hidden input to grab the URI as I want it and then plug it into the redirect in the controller to come back. In the View default.php I have this, <input type="hidden" name="return_url" value="<?php echo htmlspecialchars(JUri::getInstance()...


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 just add the &Itemid= portion to include the value that you are passing.

Top 50 recent answers are included