-
AuthorPosts
-
ibewguy Friend
ibewguy
- Join date:
- July 2011
- Posts:
- 255
- Downloads:
- 18
- Uploads:
- 6
- Thanks:
- 62
- Thanked:
- 9 times in 2 posts
October 1, 2015 at 11:33 pm #694568Hello –
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 ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
October 2, 2015 at 3:07 am #694645Hi 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
1 user says Thank You to Saguaros for this useful post
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
October 2, 2015 at 3:07 am #750366Hi 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
1 user says Thank You to Saguaros for this useful post
ibewguy Friendibewguy
- Join date:
- July 2011
- Posts:
- 255
- Downloads:
- 18
- Uploads:
- 6
- Thanks:
- 62
- Thanked:
- 9 times in 2 posts
ibewguy Friendibewguy
- Join date:
- July 2011
- Posts:
- 255
- Downloads:
- 18
- Uploads:
- 6
- Thanks:
- 62
- Thanked:
- 9 times in 2 posts
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
October 2, 2015 at 3:31 am #694653You’re welcome and Have a nice weekend!!!
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
October 2, 2015 at 3:31 am #750374You’re welcome and Have a nice weekend!!!
ibewguy Friendibewguy
- Join date:
- July 2011
- Posts:
- 255
- Downloads:
- 18
- Uploads:
- 6
- Thanks:
- 62
- Thanked:
- 9 times in 2 posts
October 2, 2015 at 11:27 am #694901Hello @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 Friendibewguy
- Join date:
- July 2011
- Posts:
- 255
- Downloads:
- 18
- Uploads:
- 6
- Thanks:
- 62
- Thanked:
- 9 times in 2 posts
October 2, 2015 at 11:27 am #750425Hello @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!
-
AuthorPosts
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