VM categories menu issues

More
12 years 2 months ago #22964 by ivan.milic
Ok drastic measure, set it to show on all pages, then in index.php pf templte:

Code:
if($columnLayout=="mlr") { require(dirname(__FILE__).DS.'inc'.DS.'col_main.php'); require(dirname(__FILE__).DS.'inc'.DS.'col_left.php'); require(dirname(__FILE__).DS.'inc'.DS.'col_right.php'); } else if($columnLayout=="lrm") { require(dirname(__FILE__).DS.'inc'.DS.'col_left.php'); require(dirname(__FILE__).DS.'inc'.DS.'col_right.php'); require(dirname(__FILE__).DS.'inc'.DS.'col_main.php'); } else { require(dirname(__FILE__).DS.'inc'.DS.'col_left.php'); require(dirname(__FILE__).DS.'inc'.DS.'col_main.php'); require(dirname(__FILE__).DS.'inc'.DS.'col_right.php'); }
Code:
$menu = JSite::getMenu(); if($columnLayout=="mlr") { require(dirname(__FILE__).DS.'inc'.DS.'col_main.php'); if ($menu->getActive() != $menu->getDefault()) require(dirname(__FILE__).DS.'inc'.DS.'col_left.php'); if ($menu->getActive() != $menu->getDefault()) require(dirname(__FILE__).DS.'inc'.DS.'col_right.php'); } else if($columnLayout=="lrm") { if ($menu->getActive() != $menu->getDefault()) require(dirname(__FILE__).DS.'inc'.DS.'col_left.php'); if ($menu->getActive() != $menu->getDefault()) require(dirname(__FILE__).DS.'inc'.DS.'col_right.php'); require(dirname(__FILE__).DS.'inc'.DS.'col_main.php'); } else { if ($menu->getActive() != $menu->getDefault()) require(dirname(__FILE__).DS.'inc'.DS.'col_left.php'); require(dirname(__FILE__).DS.'inc'.DS.'col_main.php'); if ($menu->getActive() != $menu->getDefault()) require(dirname(__FILE__).DS.'inc'.DS.'col_right.php'); }

this will completely hide left and right columns on home page.

Please Log in to join the conversation.

  • milos
    Support Staff
  • Moderator
  • Moderator
More
12 years 2 months ago #23010 by milos
Replied by milos on topic VM categories menu issues
Unfortunately, this is not possible yet with the new version of VM 2.

Please Log in to join the conversation.

  • csimmo
    Inactive member
  • Topic Author
  • Member
  • Member
More
12 years 2 months ago #23037 by csimmo
Replied by csimmo on topic VM categories menu issues
There are many complaints about t on the VM forums. And there is also a fix!! I have put in the fix, and the cart shows, however the rendering is an issue

Please Log in to join the conversation.

  • csimmo
    Inactive member
  • Topic Author
  • Member
  • Member
More
12 years 2 months ago #23038 by csimmo
Replied by csimmo on topic VM categories menu issues

ivan.milic wrote: Ok drastic measure, set it to show on all pages, then in index.php pf templte:

Code:
if($columnLayout=="mlr") { require(dirname(__FILE__).DS.'inc'.DS.'col_main.php'); require(dirname(__FILE__).DS.'inc'.DS.'col_left.php'); require(dirname(__FILE__).DS.'inc'.DS.'col_right.php'); } else if($columnLayout=="lrm") { require(dirname(__FILE__).DS.'inc'.DS.'col_left.php'); require(dirname(__FILE__).DS.'inc'.DS.'col_right.php'); require(dirname(__FILE__).DS.'inc'.DS.'col_main.php'); } else { require(dirname(__FILE__).DS.'inc'.DS.'col_left.php'); require(dirname(__FILE__).DS.'inc'.DS.'col_main.php'); require(dirname(__FILE__).DS.'inc'.DS.'col_right.php'); }
Code:
$menu = JSite::getMenu(); if($columnLayout=="mlr") { require(dirname(__FILE__).DS.'inc'.DS.'col_main.php'); if ($menu->getActive() != $menu->getDefault()) require(dirname(__FILE__).DS.'inc'.DS.'col_left.php'); if ($menu->getActive() != $menu->getDefault()) require(dirname(__FILE__).DS.'inc'.DS.'col_right.php'); } else if($columnLayout=="lrm") { if ($menu->getActive() != $menu->getDefault()) require(dirname(__FILE__).DS.'inc'.DS.'col_left.php'); if ($menu->getActive() != $menu->getDefault()) require(dirname(__FILE__).DS.'inc'.DS.'col_right.php'); require(dirname(__FILE__).DS.'inc'.DS.'col_main.php'); } else { if ($menu->getActive() != $menu->getDefault()) require(dirname(__FILE__).DS.'inc'.DS.'col_left.php'); require(dirname(__FILE__).DS.'inc'.DS.'col_main.php'); if ($menu->getActive() != $menu->getDefault()) require(dirname(__FILE__).DS.'inc'.DS.'col_right.php'); }

this will completely hide left and right columns on home page.


Sorry Ivan, I assume when you point out the text the first area is to find and the second is what to replace it with. When I do this I loos access to all category menu's
I am modifying the index.php file main templates folder.

Please Log in to join the conversation.

More
12 years 2 months ago #23042 by ivan.milic
Than unfortenatlly post 23010 is only answer.

Please Log in to join the conversation.

Time to create page: 0.081 seconds
Powered by Kunena Forum