Community @ The Turning Gate

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.

  • New user registrations are disabled.
  • Users cannot create new topics.
  • Users cannot reply to existing topics.

You are not logged in.

#1 2014-11-05 10:53:41

chenrysjr
Member
Registered: 2013-10-12
Posts: 24

Home Page in CE4 Pages

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

#2 2014-11-05 10:56:08

Matthew
Administrator
From: San Francisco, CA
Registered: 2012-09-24
Posts: 5,795
Website

Re: Home Page in CE4 Pages

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.


Matt

The Turning Gate, http://theturninggate.net

Offline

#3 2014-11-06 00:42:56

chenrysjr
Member
Registered: 2013-10-12
Posts: 24

Re: Home Page in CE4 Pages

Any suggestion which PHPlugin to use?  This sounds like it might get a little complicated.

Thanks,

Offline

#4 2014-11-06 01:11:27

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: Home Page in CE4 Pages

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

#5 2014-11-06 11:20:06

Matthew
Administrator
From: San Francisco, CA
Registered: 2012-09-24
Posts: 5,795
Website

Re: Home Page in CE4 Pages

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

Matt

The Turning Gate, http://theturninggate.net

Offline

Board footer

Powered by FluxBB