Joomla Answers

Tuesday, May 1, 2012

Joomla redirect from view.html.php

If you ever want to redirect url from view of a component i.e. view.html.php simply use the following two lines:

$app =& JFactory::getApplication(); 
$app->redirect('index.php?option=com_mycomponent&view=default'); 
0 comments
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: joomla, Joomla 2.5, joomla redirect from view, php, redirect, redirect from view, redirect from view.html, view, view.html
Newer Posts Older Posts Home
Subscribe to: Posts (Atom)

Blog Archive

  • ▼  2013 (3)
    • ▼  June (3)
      • Add custom address city user profile fields joomla...
      • Disable right click on link anchor a tag
      • View page / popup without template Joomla 2.5
  • ►  2012 (33)
    • ►  August (4)
    • ►  July (8)
    • ►  June (2)
    • ►  May (3)
    • ►  April (4)
    • ►  March (10)
    • ►  February (2)
  • ►  2011 (2)
    • ►  May (1)
    • ►  March (1)

Visitors

Pageviews

Followers

Awesome Inc. theme. Powered by Blogger.