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-04 22:56:12

jcvallot
Member
From: Versailles FRANCE
Registered: 2015-04-03
Posts: 9
Website

Rendering of HTML (single.php)

Hi every body,
I'm quite a newbe here... Need your help !
The Publisher works fine when I use a template with "Magnific Popup" option but it refuses to render the "single.php" files when using a template based on "HTML: single-image option"

If I export a collection on my desktop based on the HTML template and upload it on my server, it works but the "page copy" is filed with "ipsum factum" stuff... Where could I change this contain when exporting galleries this way ?

A lot of question, thanks for your care


Jean-Claude
website http://haddok.fr

Offline

#2 2015-04-04 23:06:54

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

Re: Rendering of HTML (single.php)

Hi Jean-Claude,

that text is just the dummy text included. Change that in Color Palette:
http://ce4.theturninggate.net/docs/doku … ntent_area

for actual album content, add that in the Content tab of the Create/Edit Album dialog

if your single html pages aren't showing, it could be an .htaccess issue. See this thread:
http://community.theturninggate.net/post/27368/#p27368

if that doesn't fix it, then be sure to post a link to an album that's not working as expected.


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-04 23:17:47

jcvallot
Member
From: Versailles FRANCE
Registered: 2015-04-03
Posts: 9
Website

Re: Rendering of HTML (single.php)

HI Rod, thanks a lot for that swift answer. I have read the topic you directed me to. In fact it can't be a .hotaccess problem. "single.php" file work when I upload galleries with my FTP client.
As I explained, they aren't rendered when I use the Publisher to upload new galleries using a "HTML" template...

As for the dummy text, Thanks for Color Palette information...


Jean-Claude
website http://haddok.fr

Offline

#4 2015-04-04 23:29:23

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

Re: Rendering of HTML (single.php)

can you post a link to the album then?

also, I believe the .htaccess file is there and needed for Publisher created albums. Your uploaded template will work because it's not created by publisher and all the -single.php files get uploaded with the template.
For the albums, those single.php files are created dynamically, which relies on the .htaccess file


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-05 00:19:20

jcvallot
Member
From: Versailles FRANCE
Registered: 2015-04-03
Posts: 9
Website

Re: Rendering of HTML (single.php)

Here is the address of the gallery built from Publisher: http://tinyurl.com/o37uplw
and here is the one I exported and then uploaded to my server : http://tinyurl.com/n9nfod3

I checked the htaccess file and it reads :

<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteRule ^(.*)-single.*php$ single.php?id=$1 [L]
</IfModule>

There is no single.php files on the server


Jean-Claude
website http://haddok.fr

Offline

#6 2015-04-05 00:32:29

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

Re: Rendering of HTML (single.php)

have you tried editing the .htaccess file as outlined here: http://community.theturninggate.net/post/27386/#p27386


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-05 00:36:54

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

Re: Rendering of HTML (single.php)

there should be one single.php file in each of your album folders


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

Offline

#8 2015-04-05 01:08:24

jcvallot
Member
From: Versailles FRANCE
Registered: 2015-04-03
Posts: 9
Website

Re: Rendering of HTML (single.php)

Thank you Rod for your efforts...
You're right, there is one single.php file in the folder. I modified the htaccess file according to Ben recommandation but it changed nothing.
I'll ask the support of my provider about rewrite rights but I have to wait until tuesday. It's Easter bank holiday here ;>). I'll take some rest now, I need it.


Jean-Claude
website http://haddok.fr

Offline

Board footer

Powered by FluxBB