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 know I'm missing something here but my CSS is not being recognized (trying to remove drop shadows from SM Sharing buttons using code provided by Matthew in earlier post). Thought I followed the PHPlugins-Custom CSS set up instructions. Screen shots show current config...
Offline
'phplugins-sample' on your webserver should be renamed to 'phplugins'.
As always, a link to your site would be helpful.
Last edited by Daniel Leu (2015-01-30 03:08:55)
Daniel Leu | Photography
DanielLeu.com
My digital playground (eg, Backlight tips&tricks): lab.DanielLeu.com
Offline
And after renaming that folder, be sure to modify the path to phplugins to reflect the change in the folder name.
be sure to look over this part of the documentation: http://ce4.theturninggate.net/docs/doku … _phplugins
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Thanks to you both but still stumped I'm afraid. I changed the folder name to 'phplugins' and got the full path from the browser per instructions and pasted that in. Screen shots and link to one of my gallery pages is below. Any additional suggestions would be much appreciated...
http://outpostcreative.com/galleries/entertainment/
Offline
PHPlugins are working just fine. The problem is that the page isn't looking for the custom stylesheet in the right place. In the phplugins.php file, update the path to the custom.css file.
Offline
And best practice would be to have the phplugins/ folder at the root of your site if you intend to use it for site wide changes.
If you decide to remove or rename your sample_galleries template you'll lose all your customizations
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
I am experiencing the same issue...after reading through this I THINK I have addressed all the issues here..but still not seeing the custom CSS kick in...
Currently I am doing this on a standalone page but will ultimately be using this on many pages managed through "Publisher"
Here is my test page: http://www.hursey.com/clients/test
Sitting Pretty in Sunny L.A.
Offline
It looks like your custom.css is not called. Did you setup phplugins for this gallery?
Daniel Leu | Photography
DanielLeu.com
My digital playground (eg, Backlight tips&tricks): lab.DanielLeu.com
Offline
Did you enable the custom stylesheet include in phplugins.php? There is some code that you need to uncomment.
function ttg_head_end( $style, $path ) {
echo ' <link rel="stylesheet" type="text/css" media="screen" href="/phplugins/css/custom.css" />';
}
Daniel Leu | Photography
DanielLeu.com
My digital playground (eg, Backlight tips&tricks): lab.DanielLeu.com
Offline
I took out the "delete" lines... this is the entire section now:
// CUSTOM STYLESHEET
// This function implements a custom stylesheet from which users may provide additional page styling or override existing styling set by the plugin
// Edit the custom.css file in /phplugins/css/ to define styles
// Serves as an example of a function being applied globally
function ttg_head_end( $style, $path ) {
echo '
<link rel="stylesheet" href="http://www.hursey.com/clients/phplugins/css/custom.css" />
';
} // END
Sitting Pretty in Sunny L.A.
Offline
did you remember to change the name of the exported phplugins-sample folder to phplugins?
where did you upload your phplugins folder?
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
I have deleted "sample" from the folder name within the specific gallery... I also have the same folder in the parent or main directory which I am using, I have placed the revised php doc in both.
Sitting Pretty in Sunny L.A.
Offline
ah. Just found your phplugins folder.
this should be the server path: /home3/hurseyco/public_html/clients/phplugins
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
if you're using a global phplugins.php file then you don't need to modify the phplugins.php file in the gallery. All you need to do is modify the globally used file, which is in your /clients/phplugins/ folder
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
THERE we go! Sorry & Thank You! Same goes if I use publisher and templates? Just make sure that path is in each template then I am good to go? (Could you also direct me to where I can find out how to insert head tags / metadata?)
Last edited by hursey (2015-02-08 12:07:48)
Sitting Pretty in Sunny L.A.
Offline
yep. use the same server path in all templates
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
That's in the Site Info section under Page Setup of the Lr plugin.
Daniel Leu | Photography
DanielLeu.com
My digital playground (eg, Backlight tips&tricks): lab.DanielLeu.com
Offline
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Pages: 1