Support Forum

Please note that this forum is only available to you in read only mode. In order to contribute to this conversation you will need to renew your subscription.

no sidebar-right in my T3 defaults?

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

I could have sworn there was once a sidebar-right option. Is this something I can create in php?

T3 wishlist: change sidebar-1, -2 to sidebar-right, sidebar-left...and in the back end, show them that way. The sidebar management in the template UI seems nonintuitive and unfinished.
  • blueshift's Avatar
  • blueshift
  • 6 Month Developer
  • 2579 posts
  • 78 Thanks
  • Karma: 26
Last Edit: 10 years 9 months ago by blueshift.
The administrator has disabled public write access.
Quick update - yes, that worked. I had to duplicate and edit two files.

1) sidebar-left.php -->> sidebar-right.php.
then reversed all left right combinations.
changed
<?php $this->loadBlock ('mainbody-right') ?>
to
<?php $this->loadBlock ('mainbody-left') ?>

2) mainbody-right -->> mainbody-left
then reversed all left right combinations, as shown.
"two_sidebars": {
      "default" : [ "span6 pull-left" , "span3"    , "span3 pull-right"             ],
      "wide"    : [],
      "xtablet" : [],
      "tablet"  : [ "span12"        , "span6 spanfirst"   , "span6"             ]
    },
    "one_sidebar1": {
      "default" : [ "span8 pull-left"         , "span4"             ],
      "wide"    : [],
      "xtablet" : [ "span8 pull-left"         , "span4"             ],
      "tablet"  : [ "span12"        , "span12 spanfirst"  ]
    },
  • blueshift's Avatar
  • blueshift
  • 6 Month Developer
  • 2579 posts
  • 78 Thanks
  • Karma: 26
Last Edit: 10 years 9 months ago by blueshift.
The administrator has disabled public write access.
blueshift wrote:
Quick update - yes, that worked. I had to duplicate and edit two files.

1) sidebar-left.php (clone/rename)-->> sidebar-right.php.
changing
<?php $this->loadBlock ('mainbody-right') ?>
to
<?php $this->loadBlock ('mainbody-left') ?>

2) mainbody-right (clone/rename)-->> mainbody-left
then reversed all left right combinations, as shown.
"two_sidebars": {
      "default" : [ "span6 pull-left" , "span3"    , "span3 pull-right"             ],
      "wide"    : [],
      "xtablet" : [],
      "tablet"  : [ "span12"        , "span6 spanfirst"   , "span6"             ]
    },
    "one_sidebar1": {
      "default" : [ "span8 pull-left"         , "span4"             ],
      "wide"    : [],
      "xtablet" : [ "span8 pull-left"         , "span4"             ],
      "tablet"  : [ "span12"        , "span12 spanfirst"  ]
    },
  • blueshift's Avatar
  • blueshift
  • 6 Month Developer
  • 2579 posts
  • 78 Thanks
  • Karma: 26
Last Edit: 10 years 9 months ago by blueshift.
The administrator has disabled public write access.
Thanks for your solution :)

We are planning to add more layouts once we've released some T3 migrations and the July template release

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Happy Campers