Support community for TTG plugins and products.
NOTICE
The Turning Gate's Community has moved to a new home, at https://discourse.theturninggate.net.
This forum is now closed, and exists here as a read-only archive.
You are not logged in.
Pages: 1
Hi,
I'm setting up my home page using the Galleria slideshow and want to put content on the home page down the left side of the page beside the slideshow pictures. I want to start the content right under my page links about a column width wide and run down the page as needed. The length of the content my vary. I can't figure out how to do this in the settings. Is this something that should be done with custom HTML?
Thank you,
Henry
Offline
Off the top of my head, I'd advise using PHPlugins to inject custom HTML into the page above and below "the grid". Use our responsive grid framework to constrain the slideshow, and to create your sidebar. Then when the layout goes mobile, it should rearrange nicely.
Offline
Any suggestion which PHPlugin to use? This sounds like it might get a little complicated.
Thanks,
Offline
there is no "which phplugin". PHPlugins is a way to insert custom content into your pages as specific points.
See the docs here:
http://ce4.theturninggate.net/docs/doku … _phplugins
There are a few functions built in to the phplugins.php file (like navigation and implementing custom css) and Matt has provided some tutorials as well:
http://ce4.theturninggate.net/docs/doku … bility_api
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
This is untested, but as a mind sketch, I'd start with something like this:
function ttg_grid_top( $style, $path ) {
if (G_STYLE == 'CE4-PAGES-HOME') {
echo '
<div class="container_12 clearfix">
<div class="grid_8 gutter_12px alpha clearfix">
';
return true;
}
return true;
} // END
function ttg_grid_bottom( $style, $path ) {
if (G_STYLE == 'CE4-PAGES-HOME') {
echo '
</div><!-- grid_8 -->
<div class="grid_4 gutter_12px omega clearfix">
<!-- sidebar content -->
</div><!-- grid_4 -->
</div><!-- container_12 -->
';
return true;
}
return true;
} // END
Offline
Pages: 1