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-04-11 22:38:08

paulpegg
Member
Registered: 2013-03-07
Posts: 252

Custom css not recognized

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

#2 2015-04-12 00:09:18

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

Re: Custom css not recognized

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

#3 2015-04-12 00:24:16

paulpegg
Member
Registered: 2013-03-07
Posts: 252

Re: Custom css not recognized

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

#4 2015-04-12 00:57:09

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

Re: Custom css not recognized

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

#5 2015-04-12 01:05:32

paulpegg
Member
Registered: 2013-03-07
Posts: 252

Re: Custom css not recognized

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

#6 2015-04-12 01:13:54

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

Re: Custom css not recognized

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

#7 2015-04-12 01:14:36

paulpegg
Member
Registered: 2013-03-07
Posts: 252

Re: Custom css not recognized

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

#8 2015-04-12 01:24:19

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

Re: Custom css not recognized

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

#9 2015-04-12 02:20:28

paulpegg
Member
Registered: 2013-03-07
Posts: 252

Re: Custom css not recognized

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

#10 2015-04-12 03:09:22

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

Re: Custom css not recognized

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

Board footer

Powered by FluxBB