-->

How To Manage Virtuemart Admin From Joomla Frontend

By Default Virtuemart admin shop panel only can accessed on Joomla (yourjoomla/administrator/), so if we want to manage our shop, we must login to Joomla administrator first. But with right url and css we can do that on Joomla front end.

This is can work with both Joomla 1.0.15 and Joomla 1.5x.

  • First, go to menu manager, choose any menu that you want to show url to manage Virtuemart shop.
  • Then, create new link / url, and fill url form with this:
    index2.php?pshop_mode=admin&page=product.product_list&option=com_virtuemart
  • Set access level to super administrator, in order only super administrator can see this url.
  • Ok, now we have link to manage Virtuemart shop admin from frontend, you not have to login to Joomla administratorbut we must adding some css rel, open index2.php in your Joomla directory.
  • Adding these in index2.php header (usually can work after <head> line )
    <script language="JavaScript" src="<?php echo $mosConfig_live_site;?>/includes/js/joomla.javascript.js" type="text/javascript"></script>
    <link rel="stylesheet" href="<?php echo $mosConfig_live_site;?>
    /administrator/templates/joomla_admin/css/template_css.css" type="text/css" />
    <link rel="stylesheet" href="<?php echo $mosConfig_live_site;?>/administrator/templates/joomla_admin/css/theme.css" type="text/css" />
    <script language="JavaScript" src="<?php echo $mosConfig_live_site;?>
    /includes/js/JSCookMenu_mini.js" type="text/javascript"></script>
    <script language="JavaScript" src="<?php echo $mosConfig_live_site;?>/administrator/includes/js/ThemeOffice/theme.js" type="text/javascript"></script>
    <script language="JavaScript" src="<?php echo $mosConfig_live_site;?>
    /includes/js/joomla.javascript.js" type="text/javascript"></script>

And now you can accessed your Virtuemart shop admin from your Joomla frontend here are example preview:

Virtuemart Shop Admin On Joomla Frontend

Virtuemart Shop Admin On Joomla Frontend

ads:



Related posts:

  1. How To Insert HTML, Javascript, PHP Code Into Joomla 1.5 Administrator Page
  2. Problem Solving: Images Not Showing In Virtuemart
  3. How To Remove Virtuemart Logo In Empty Cart Module
  4. Joomla
  5. Spoiler Widget For Blogger And WordPress


Share To Facebook | Tweet! This | Watch The Video


 
7 Comments. Leave Comment Or Trackback.
  1. #1 • Date 26 November 2009, ludo said:
     

    Hi,

    The link to acces virtuemart front-end works perfectly ;)

    But why do we have to add thoses javascript lines??
    And where?? Do you mean in the index2.php in the root directory of Joomla?? I can’t find any section!!!

    Thanks

    ReplyReply
  2. #2 • Date 28 November 2009, El Nino said:
     

    @ludo:
    Yes, to avoid weird display in virtuemart frontend admin, you must added those line into index2.php in root directory of your Joomla

    ReplyReply
  3. #3 • Date 8 December 2009, hootin said:
     

    index2.php in Joomla 1.5 does not contain a head section. Any idea where to go from here? The link works but the formatting is strange.

    ReplyReply
  4. #4 • Date 15 December 2009, ziggi said:
     

    interesting too

    ReplyReply
  5. #5 • Date 23 December 2009, ludo said:
     

    That’s what I don’t understand!
    Where to put this piece of code as there is no section in index2.php???

    Here is the content of index2.php :
    <?php
    $_REQUEST['tmpl'] = 'component';
    include('index.php');

    So what to do??

    Thanks a lot ;)

    ReplyReply
  6. #6 • Date 26 December 2009, El Nino said:
     

    @ludo: @hootin:
    Sorry for late reply, yes i think for Joomla 1.5 there’s no need to put that code in index2.php.

    Even maybe we can tryin to inserted with “include” function, but i think its not necessary. The display is little strange, but not too bad.

    I will updated here if i found another way to fixed some messed up with Virtuemart frontpage admin display

    ReplyReply
  7. #7 • Date 15 June 2010, jeffT said:
     

    Hi,
    If you want to get a cleaner display of Virtuemart administration in front end, beside checking your css, you also have to load mootools scripts, which are not loaded when using index2.php.
    A quick and easy hack is to modify application.php file in Joomla (includes/application.php)
    Look for function dispatch($component){
    After if ( $user->get(‘id’) ) { add the following code:
    $document->addScript( JURI::root(true).’/media/system/js/mootools.js’);
    This will fix the menus on the left pane
    Jeff

    ReplyReply

 

Comment With Facebook?

Comment:

 
 
-->