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-10-26 19:47:21

kris11
Member
From: UK
Registered: 2013-06-17
Posts: 64
Website

Side bar determined by Page Copy ?

Hi, Have bitten the bullet and am trying to get my head round CE4 .

Was really excited to see 2 columns and have worked it out for most of the pages. Auto index still in progress.
I am at the moment working on a test site.
BUT in CE4 gallery I am having difficulty in keeping the sidebar on the same plane as the grid.

Depending on where the Page Copy is determines where the side bar sits !!!
If Page Copy is above grid so is the side bar. If nothing is in the Page Copy the grid still sits below the side bar.
http://kma.krismercer.co.uk/galleries/test/index.php
I have tried it in reverse and the same happens
I'm sure this is an easy fix that I have overlooked.
HELP

Thanks

Kris

Last edited by kris11 (2014-10-26 20:47:08)

Offline

#2 2014-10-26 21:06:19

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

Re: Side bar determined by Page Copy ?

No fix needed.
The sidebar floats left or right of the main page copy (and drops directly beneath it on small displays) so will always be next to the main copy. It's in the Block and will be above or below the grid depending on how you assign the block position.
If you need text above and below the grid, use phplugins.
http://ce4.theturninggate.net/docs/doku … e4_sidebar


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#3 2014-10-26 22:27:16

kris11
Member
From: UK
Registered: 2013-06-17
Posts: 64
Website

Re: Side bar determined by Page Copy ?

Even if I have no Page Copy it leaves a large gap the length of the sidebar when in auto index or gallery. I don't want text but I don't want a large space either.
If you assign an image from the filmstrip that also sits in the block and can fill the space but I really don't have need of an image on the galleries page

Last edited by kris11 (2014-10-26 22:31:02)

Offline

#4 2014-10-27 03:09:11

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

Re: Side bar determined by Page Copy ?

Are you trying to get the sidebar to the left of the grid?


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-10-27 08:07:38

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

Re: Side bar determined by Page Copy ?

Even if I have no Page Copy it leaves a large gap the length of the sidebar when in auto index or gallery. I don't want text but I don't want a large space either.

are you talking about the blank space to the left of the grid? That's not the sidebar, that's the padding you've dialed in for the grid.
Or maybe I'm not understanding what you're after.

Or are you talking about the fact that if there's no page copy that the sidebar copy isn't showing either? But it is taking up the height as if there were copy.
Not sure what can be done about that since I think the sidebar depends on the main area. But if you only need the copy you've created for the sidebar, then why not just put that in the main copy area?


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#6 2014-10-27 20:46:07

kris11
Member
From: UK
Registered: 2013-06-17
Posts: 64
Website

Re: Side bar determined by Page Copy ?

I am trying to get the sidebar to the left of the grid.

If the gallery is above content then the sidebar drops to below images and vice versa.

I'm looking to get something like this
http://kma.krismercer.co.uk/test.php (edited in dreamweaver)

but ending up with this
http://kma.krismercer.co.uk/galleries/test/index.php

Offline

#7 2014-10-27 21:36:08

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

Re: Side bar determined by Page Copy ?

I am trying to get the sidebar to the left of the grid.

You'll need to use phplugins to do that.
The sidebar is in the block div and can't be placed next to the grid. You'll need to create the html structure for the new menu and insert it before the grid (ttg_grid_top), floating it to the left. You'll probably also want to write some custom css to make it responsive on smaller devices.


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#8 2014-10-27 22:05:42

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

Re: Side bar determined by Page Copy ?

Another thought is to try using phplugins to surround the block with more html, just another div to wrap the block, and try floating that to the left. You'll need to set the block width pretty small.

Use the block's main copy area and disable the sidebar

And as above, you'll probably need some custom css media queries to handle different sized devices, otherwise your menu may end up being too small to be of any use on iPhones and like and the grid might get weird too.

And one other thought:
There is an option in the CE4 plugins for column navigation. The option can be found in the navigation container. This may not be exactly what you want but you could put all of your navigation on the left or right side of the page.
This has the advantage of already being responsive. On mobile devices the menu will revert to the TTG mobile menu.


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#9 2014-10-27 23:35:05

kris11
Member
From: UK
Registered: 2013-06-17
Posts: 64
Website

Re: Side bar determined by Page Copy ?

Hi thanks for that.
Unfortunately beyond my understanding of web building. A bit of html and tweaking of something that's already there is about my lot.
I did try the column navigation and may end up with that. Not quite what I had in mind but ....

Thanks for your time.

Fantastic photos of the auroras btw.

Offline

#10 2014-10-27 23:36:25

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

Re: Side bar determined by Page Copy ?

thanks. That was the most amazing photo experience I've ever had. Tops the slot canyons by miles!
Can't wait to go back next year.


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#11 2014-10-28 11:46:12

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

Re: Side bar determined by Page Copy ?

I wouldn't recommend trying to put a sidebar into the grid. Unless you really know what you're doing, that would basically wreck the mobile layout.


Matt

The Turning Gate, http://theturninggate.net

Offline

Board footer

Powered by FluxBB