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 have tried everything I have found here and still cannot get custom.css to work. I even put the phplugins folder at the root and in /ttg-be. Perhaps you can set me straight. www.photoimpressions.org
Thanks,
paul
Offline
the custom css file isn't even being called on that page
did you delete the indicated lines from above and below the function that adds the custom css?
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Yes. Where does the call come from? The last time I made a Pages set I copied everything to the server except the galleries and fragments folders.
here is the HOOK setup in the index.php
// Begin hook processing
define( 'TTG_ROOT', __FILE__ );
define( 'TTG_HOOK', 'http://photoimpressions.org/phplugins' );
define( 'TTG_COMP', 'TTG CE4-Pages-home 4.0' );
if (file_exists( TTG_HOOK . '/phplugins.php')) {
require_once TTG_HOOK . '/phplugins.php';
Is this correct?
Offline
no. You shouldn't be changing that part of the file at all.
the path to phplugins should be entered in the Web Module. In Site Info
http://ce4.theturninggate.net/docs/doku … _phplugins
the part of the file you need to change is further down. It's marked CUSTOM C STYLESHEET
http://ce4.theturninggate.net/docs/doku … custom_css
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 did remove those two lines and the path was entered properly in Site Info. When I first started with CE4 I had entered the path as http://photoimpressions.org /ttg-be/phplugins but later changed it to http://photoimpressions.org/phplugins. When custom didn't work with the second one I put the phplugins folder in both locations but it still doesn't work.
Where is the path referenced throughout the site so I can search for any problems? The very first time I created a Pages set I had misspelled it and one of those bad paths might still be in there someplace. Possible?
Thanks,
Offline
the server path is not a URL. See this section of the documentation: http://ce4.theturninggate.net/docs/doku … _phplugins
your server path is: /home/photoimp/public_html/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
Interesting. When I clicked on the second link above I got this
Not Found
The requested URL /phplugins. was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
The folder is there and everything is spelled correctly. When I use the first url I get a google listing of all the pages on the site.
Luckily, I have no hair, or i would be bleeding from the scalp right now.
Offline
as the documents state, to obtain the server path enter http://yoursite.com/phplugins/path.php
for your site that would be: http://www.photoimpressions.org/phplugins/path.php
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 used the home path, redid the Pages and got custom to work. Now I need to figure out how to enter the things I want to control.
Thanks,
paul
Offline
learn to use your browser's inspector to figure out the css selectors you need to target:
http://ttg-tips-and-tricks.barbeephoto. … selectors/
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