Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • ibewguy Friend
    #694568

    Hello –

    Is there a way to change the supported layout name? Do you just change the name in the .ini file?

    Here is what i see now:

    http://mysite.com/index.php/media-page#prettyPhoto/1/

    Can I call it video ? Just like the Gallery layout?

    Thanks –

    Saguaros Moderator
    #694645

    Hi ibewguy,

    You can change the predefined layout or create new layout as you wish via this directory: root/templates/ja_charity/tpls/ : http://prntscr.com/8mrsj7

    As you see that the associated PHP file of gallery layout is ‘gallery.php’, just change the name and change the blocks’ name if you want.

    For more info about layout of templates built with T3 framework, pls check out this documentation: http://www.t3-framework.org/documentation/bs3-layout-system#about-layout

    Saguaros Moderator
    #750366

    Hi ibewguy,

    You can change the predefined layout or create new layout as you wish via this directory: root/templates/ja_charity/tpls/ : http://prntscr.com/8mrsj7

    As you see that the associated PHP file of gallery layout is ‘gallery.php’, just change the name and change the blocks’ name if you want.

    For more info about layout of templates built with T3 framework, pls check out this documentation: http://www.t3-framework.org/documentation/bs3-layout-system#about-layout

    ibewguy Friend
    #694652

    Great @saguaros! Thanks!!

    ibewguy Friend
    #750373

    Great @saguaros! Thanks!!

    Saguaros Moderator
    #694653

    You’re welcome and Have a nice weekend!!!

    Saguaros Moderator
    #750374

    You’re welcome and Have a nice weekend!!!

    ibewguy Friend
    #694901

    Hello @saguaros – i tried what you recommended – I also needed to change the block name in the sermon.php file – see below.

    Changing the name of the php files changed the layout tag on the JA CHARITY – SERMON template style. I then selected my new name from the LAYOUT drop down box and I received a “mainbody-sermon.php” block not found error. I then went into sermon.php and modified the block name as follows:

    [PHP]<div class=”t3-wrapper”> <!– Need this wrapper for off-canvas menu. Remove if you don’t use of-canvas –>

    <?php $this->loadBlock(‘topbar’) ?>

    <?php $this->loadBlock(‘header’) ?>

    <?php $this->loadBlock(‘masthead’) ?>

    <?php $this->loadBlock(‘mainbody-museum’) ?>

    <?php $this->loadBlock(‘footer’) ?>

    </div>
    [/PHP]

    After I changed the name to mainbody-museum it worked. However, I still get this ugly URL when I click on a video

    mysite.com/index.php/media-page#prettyPhoto/1/

    It looks like Sermon is misspelled in one of the php files somewhere since is shows instead of . Actually I want this to say, [museum]

    Thanks!

    ibewguy Friend
    #750425

    Hello @saguaros – i tried what you recommended – I also needed to change the block name in the sermon.php file – see below.

    Changing the name of the php files changed the layout tag on the JA CHARITY – SERMON template style. I then selected my new name from the LAYOUT drop down box and I received a “mainbody-sermon.php” block not found error. I then went into sermon.php and modified the block name as follows:

    <div class="t3-wrapper"> <!-- Need this wrapper for off-canvas menu. Remove if you don't use of-canvas -->

    <?php $this->loadBlock('topbar') ?>

    <?php $this->loadBlock('header') ?>

    <?php $this->loadBlock('masthead') ?>

    <?php $this->loadBlock('mainbody-museum') ?>

    <?php $this->loadBlock('footer') ?>

    </div>

    After I changed the name to mainbody-museum it worked. However, I still get this ugly URL when I click on a video

    mysite.com/index.php/media-page#prettyPhoto/1/

    It looks like Sermon is misspelled in one of the php files somewhere since is shows instead of . Actually I want this to say, [museum]

    Thanks!

Viewing 9 posts - 1 through 9 (of 9 total)

This topic contains 9 replies, has 2 voices, and was last updated by  ibewguy 9 years, 1 month ago.

We moved to new unified forum. Please post all new support queries in our New Forum