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.
O.K.
Thanks again Rod
F
rédy
The custum.css file has been cleaned.
The phplugings.php file you sent me works fine.
I wonder why the pages home and galleries you didn't include in the scrit appear however in the navigation bar.
I dont't remember why after all I didn't implement drop down menu, maybe the album set system did the job.
Thanks a lot.
Best Geatings
Frédy
Hello Rod
I just sent you the phplugings file.
The content of the custom.css file is:
function ttg_head_end( $style, $path ) {
echo '
<link rel="stylesheet" href="/phplugins/css/custom.css" />
';
}
.selected {
background-color: #2b2b2b !important;
color: white !important;
} // END
I can't remember having removed or even modied anything in the structure of the site for it was working perfecly for my use, whitch was onfy ceate new albums or modify existing one.
I wonder where is the code of the navigation that appears on the page and is present in the code of the page?
Hi Rod
Phplugings is enabled in every plugin (Iwas 100% sure of that) and path is /home/martinec/www/phplugins whitch seems to be correct
I am 99.99% sure to have authored a file; didn't i to have done it to organise the pages in the navigation ?
I feel getting completely lost
Edit:
Also did I somewhere copy your code to highlight the selected page, but where?
I found an authored phpligins.php file in a kind of backup, but don't seem to be the good one, not all pages presents.
Very very very strange; I don't understand
Editing the phplugins.php file is well the way I supposed was the good one, but....
Neither before asking help, nor now, am i able to find my code back.
I remember having deleted a line to edit my code to implement drop down navigation, but when after having downloaded the phplugins.php file to my computer I open it with Notepas++ my code don't appear. The text is almost green like it had never been edited?????????????
Repeted the manipulation several times with allways the same result. The code is however present in the page code:
<ul id="nav">
<li><a href="http://martine-cheval.be/index.php">Home</a></li>
<li><a href="http://martine-cheval.be/stage-derniers-dessins">Oeuvres récentes</a></li>
<li><a href="http://martine-cheval.be/galleries.php">Galeries</a></li>
<li><a href="http://martine-cheval.be/about.php">Mon parcours</a></li>
<li><a href="http://martine-cheval.be/contact.php">Contact</a></li>
<li><a href="http://martine-cheval.be/search/"><i style="color:red;"class="fa fa-search"></i> Recherche de dessins</a></li>
<li><a href="http://martine-cheval.be/info.php"><i style="color:green;"class="fa fa-info-circle"></i> Infos utiles</a></li>
</ul><!-- #nav -->
Rod do you have a magical idea please, I'm becoming to feel stupid :-(
Hello
I would prevent these page: http://martine-cheval.be/stage-derniers-dessins/
from appearing in the navigation bar. Whem I created the site these page seemed a good idea, but now it has nearby the same fuction that the Chronologie page, for there is there the last semestre.
This is a stage page and I don't remember exactly how I set it up.
I thougnt that i could prevent these page from appearing in the navigation by commenting a line like this:
<!--<li><a href="http://martine-cheval.be/stage-derniers-dessins">Oeuvres récentes</a></li>-->
I did it in about.php and index.php but without, or too mutch, result.
I remembered that to add a page, without having to republish entirely pages, I added a line like these in a phplugin file but couldn't find where (see here: http://community.theturninggate.net/vie … hp?id=3988 )
Is it an "easy" way to do what i am intended?
Thanks
Greatings
Frédy
Well in fact the API URL was wrong; it was http://www.martine-cheval.be/ttg-be/publisher/ instead of
http://martine-cheval.be/ttg-be/publisher/.
I think we'l never know how it happend.
Rod thanks for the help.
Best regards
Frédy
I don' remember to have made any changes in this instance of Publisher or in the site whitch, is still working perfectly.
The link to Facebook can be broken; this was due to a wrong message about Facebook at the first attempt to edit a Publisher instance.
I have several instances of publisher working properly, thus something must have changed for the site http://www.martine-cheval.be
However I can't explain how,where and when.
When i try to authenticate the publisher instance do I get an errot message: Unable to perfor action: checkAuth
Message: the page sent an action whitch was not available.
The API URL seems to be correct and I changed the API KEY in ttg-be manager online, and in the Publisher instance but without any results.
Gallery templates are presents at the right place and appear when setting up a new album.
The site http://www.martine-cheval.be was "frozen" from 2016 and was only used to ceate or update albums.
Maybe do you have more interesting things to do today, thus don't worry for me, this problem is not urgent.
Have a nice Christmas :-)
Best greatings
Frédy
Hi Rod
PHP version must be 5.4
Do I have to upgrade?
Hi Rod very glad to see you are still active.
The message i get when trying to publish an album is somthing like
Impossible to update these collection
Unable to perform action:GetSetupForTemplate
Message: The page sent an action whitch was not available.
When I try to create an album, get I the message Error: Unable to perform action: ListTemplates
On the other hand could you remember me how to log into ttg_be
I logged into my site hosted hightlighted ttg-be but I don't find the View PHP Info. Must i search somewhere else?
Hello
First have I to apologise having neglected my appications, not only TTG but also LR, many monthes long.
I have been greatly surprised when i encountered LR Classic CC; good and less good surprises.
My main problem is that I am no more allowd to create ou republish albums. Seems that this issue is related to the fact that Facebook allows no more direct upload from external publishers.
As this issue seems not to have been reported, I wonder if my opinion is correct.
Same kind of problem exist with CE4 or Backlight publishers.
Anyone an idea?
Best greetings and Merry Christmas to everybody
Frédy
Dag Ariaan
I find your portfolio really fantastic. I easily found the slider to scroll across the page. Would even be greater if the mouse's wheel could be the job, no idea if it is possible.
I think that for this kind of display horizontal scrolling is the best option.
Fredy
Hello Dominique
Merci pour le compliment pour les dessins. Je transmettrai à ma compagne, c'est elle l'artiste.
Frédy
Hello Dominique
Nice site, I love "Simplicité et sobriété"
If I may in your home page, "suivi ne prend pas de t à la fin"
Cordially
Frédy
Am I wrong, or should it be usefull to remember that CE4 templates wil be replaced by default templates of Backlight?
Fredy
edit
Sorry, I hdn't seen the other post above on the same sbject.
O.K.
Found it
Thanks
Fredy
Sorry, but I don't see any "Uploaded images" there
fredy
Hi all
First of all thanks a lot for Backlight.
Following doc and presentation video did I install Backlight without great problem.
I'm now designing a page template and my first question is: Where do I have to store images for the masthead. In designer item is indicated: Select from images uploaded in Templates > Upload Images
Do I have to create this folder and where exactly?
Incidentally, images for masthead must they be png or can they also be jpeg.
Cordially
Fredy
As always, make sure you back up the Publisher database before making any changes. Just in case.
This is certainly a very good advice, but how can I do That? Is it possible to do it in TTG BE ADMIN, or have I to simply back up the data folder included in Root/ttg-be when logged in the site host by FTP? I suppose the second option is the good one.
Hello
Due to many errors from mysefl, I have problems with albums descriptions remaining in the data base.
One is an albumset called expos an the other is the spécific pages-gallery album.
When I had to re-created them ( they were no more present in galleries folder, probably due to the way the site has been rebuild), did I get a message saying that the slug allready exist and that the new slugs will get a trailing 1, and it works pretty well so.
Now did I discover in Rod's Trick an tips site, thanks for that, the way to achieve the concerned part of the database and effectively can I sea the old items.
I suppose I can delete these twoo outdated items, but is it a real advantage doing in, and should I reconfigure the twoo new items for making the trailing 1 to disappear ? Won't it be worse?
Looks like they updated again, their post still shows 4.6.0
Possible, the link to 4.6.1 leads to a whole list of items
Hi Rod
Here is the info I got from Fontawesoe Get started page:
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.1/css/font-awesome.min.css">
Seems tha t new version is 4.6.1.
Cordially
Fredy
May I?
Seems that the number of albums beeing detected is limited to 8 in the example.
Is it a technical reason, or is it for display cleanliness?
Fine
Works now like expected.
Not sur I could point it by myself. Rod you are great.
Thanks a million times.
Hello
I am building my own site and experimenting things like Drop menu with autoindex.
If I well understood, Drop menu with autoindex can only provide one level sub menu, like in Galeries pages, thus Would I add one or more galleries pages. I uploaded an AutoIndex (called voyages) at the root and created a publisher instance to publish there and it works. Next step is to implement drop menu with autoindex for this new item. I tried to paste code, adapted for that page, but the result is not exactly what I hoped. I even don't know if it is possible. That is what my phpligins.php code is looking now:
<!-- EDIT ONLY BELOW THIS LINE : -->
<li><a href="/">Home</a></li>
<li><a href="/galleries.php">Galeries</a>
<ul>
';
$theroot = $_SERVER['DOCUMENT_ROOT'];
$indexPath = '/galleries/'; // set folder location to scan for galleries
require_once($theroot.'/lib/autoindex/autoindex.php');
if (trim($_SERVER["QUERY_STRING"]) == 'debug')
define ('AUTOINDEX_DEBUG', true); // enable statement to output debugging info from autoindex()
$albums = autoindex($theroot.$indexPath);
// $albums = array_reverse($albums); // Reverses album order
// shuffle($albums); // Shuffles albums
$j = min(count($albums), 8); // build <li>s from first 8 in gallery list
for($i=0; $i < $j; $i++) {
echo '<li><a href="'.$albums[$i]['url'].'" title="'.$albums[$i]['description'].'">'.$albums[$i]['title'].'</a></li>';
};
if (count($albums) > 8) { // the 8 here matches the 8 above
echo '<li><a href="/galleries.php" title="See more galleries" >more ...</a></li>';
};
echo '
</ul>
</li>
<li><a href="/voyages/">Voyages</a>
</ul>
';
$theroot = $_SERVER['DOCUMENT_ROOT'];
$indexPath = '/voyages/'; // set folder location to scan for galleries
require_once($theroot.'/lib/autoindex/autoindex.php');
if (trim($_SERVER["QUERY_STRING"]) == 'debug')
define ('AUTOINDEX_DEBUG', true); // enable statement to output debugging info from autoindex()
$albums = autoindex($theroot.$indexPath);
// $albums = array_reverse($albums); // Reverses album order
// shuffle($albums); // Shuffles albums
$j = min(count($albums), 8); // build <li>s from first 8 in gallery list
for($i=0; $i < $j; $i++) {
echo '<li><a href="'.$albums[$i]['url'].'" title="'.$albums[$i]['description'].'">'.$albums[$i]['title'].'</a></li>';
};
if (count($albums) > 8) { // the 8 here matches the 8 above
echo '<li><a href="/voyages/" title="See more galleries" >more ...</a></li>';
};
echo '
</ul>
</li>
<li><a href="/contact.php">Contact</a></li>
<li><a href="/search/"><i style="color:red;"class="fa fa-search"></i> Recherche de photos</a></li>
<li><a href="/about.php">About</a></li>
<li><a href="/info.php"><i style="color:green;"class="fa fa-info-circle"></i> Infos utiles</a></li>
<!-- EDIT ONLY ABOVE THIS LINE -->
Am I dreaming or is it simply a "little" code missing. I apologise but my knowledges coding are near absolute zero.