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
I'd like to add a looping Stage animation to my main CE4 Pages Contacts page. Is this possible?
Thanks!
"Never go creeping around old castles at night; you may find what you're looking for."
- Grimsley
Offline
maybe...via phplugins.
I guess it depends on what it is you want to insert. Can you be more specific? There may be an easier way than what I describe below.
If it's something that you want to create via Stage, then the way I'd approach it would be to create the Stage page with whatever you want in it. Put it on line or on your local machine via a virtual server (WAMP, MAMP, XAMPP).
Then look at the page source in the browser. Find the part that contains your "animation" and copy all of that code. (store it temporarily in a plain text file)
See if there is any scripting that's running the animation. Note where on the page it's located, copy and add that to the temporary text file. This might take some guesswork or trial and error.
(You'll also need to think about the images and where you'd store those online. And you'd need to adjust any paths to those images in the code you copied.)
in the phplugins.php file, use the CE4_PAGES_CONTACT G_STYLE Identifier to target the contact page.
then place all the code you copied into the temporary text file into the phplugins.php file using the appropriate hook.
I'm guessing you'd need to hook the animation into the grid area (ttg_grid_top). The hook you use for any script depends on the location in the page where you need to insert it.
Maybe Matt or Daniel will come along with a better idea....
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
It's not clear to me what you want to do. Can you explain it better?
Offline
Pages: 1