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 2015-06-29 19:15:53

patrickdej
Member
Registered: 2013-07-08
Posts: 60

text above and under Ce4 image gallery

We would like to have some text above the thumbnails and some bellow the thumbnails. I'm referring to this page specifically.

http://dejourdan.de/de/galleries/b-port … otografie/

Perhaps someone has a brilliant suggestion on how to best achieve this?

On the page referred to, we would like to have the button for "Gutschein" as well as the "Fotoshooting im Studio" under the thumbnails. Is this something that has to be done in the Plugins? Any tips?


Thanks in advance for the brilliant suggestion.

Patrick

Offline

#2 2015-06-29 21:27:15

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

Re: text above and under Ce4 image gallery

You can do this using phplugins.

Set up the gallery template so that the text you want above the grid will be above the grid.

Use the phplugins hook ttg_grid_bottom to insert content after the grid:
http://ce4.theturninggate.net/docs/doku … rid_bottom

You'll need to place the text with html. I'd suggest using the responsive grid framework: http://ce3wiki.theturninggate.net/doku. … _framework

Unless you "aim" this at only one certain page or pages, this text will appear below every album that uses a phplugins enabled template.

There are new phplugins hooks in CE4 that allow you to target albums with a specific template name or an album with a specific slug:
http://ce4.theturninggate.net/docs/doku … album_sets


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 2015-07-01 19:33:07

patrickdej
Member
Registered: 2013-07-08
Posts: 60

Re: text above and under Ce4 image gallery

Hi Rod,

Thanks for your suggestion, seems to have worked.

Patrick

Offline

#4 2015-07-01 20:45:47

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

Re: text above and under Ce4 image gallery

What you've done looks great!


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

Offline

Board footer

Powered by FluxBB