Community @ The Turning Gate

Support community for TTG plugins and products.

You are not logged in.

#2 Re: CE4 Pages » How to remove a page from navigation (solved) » 2019-01-10 22:14:38

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

#3 Re: CE4 Pages » How to remove a page from navigation (solved) » 2019-01-10 01:19:37

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?

#4 Re: CE4 Pages » How to remove a page from navigation (solved) » 2019-01-09 19:42:12

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.

#5 Re: CE4 Pages » How to remove a page from navigation (solved) » 2019-01-09 03:39:31

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>&nbsp;Recherche de dessins</a></li>

        <li><a href="http://martine-cheval.be/info.php"><i style="color:green;"class="fa fa-info-circle"></i>&nbsp;Infos utiles</a></li>

        </ul><!-- #nav -->

Rod do you have a magical idea please, I'm becoming to feel stupid :-(

#6 CE4 Pages » How to remove a page from navigation (solved) » 2019-01-08 21:54:41

fwillette
Replies: 10

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

#7 Re: CE4 Publisher » Unable to upload from CE4 Publisher in LR Cassic CC » 2018-12-27 04:39:55

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

#8 Re: CE4 Publisher » Unable to upload from CE4 Publisher in LR Cassic CC » 2018-12-24 23:19:50

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

#10 Re: CE4 Publisher » Unable to upload from CE4 Publisher in LR Cassic CC » 2018-12-24 02:11:34

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?

#11 CE4 Publisher » Unable to upload from CE4 Publisher in LR Cassic CC » 2018-12-23 21:15:54

fwillette
Replies: 15

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

#12 Re: Backlight Support » Top level gallery in specific CSS element on portfolio page » 2016-06-30 20:17:52

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

#13 Re: Backlight Showcase » My Backlight 2016 / 06 / 15 » 2016-06-23 20:07:28

Hello Dominique

Merci pour le compliment pour les dessins. Je transmettrai à ma compagne, c'est elle l'artiste.

Frédy

#14 Re: Backlight Showcase » My Backlight 2016 / 06 / 15 » 2016-06-19 17:21:31

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

#15 Re: Backlight Support » What does this mean? » 2016-05-17 01:49:43

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.

#17 Re: Backlight Support » Where to store images for Masthead? » 2016-05-15 21:00:26

Sorry, but I don't see any "Uploaded images" there

fredy

#18 Backlight Support » Where to store images for Masthead? » 2016-05-15 20:51:09

fwillette
Replies: 5

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

#19 Re: General » Erasing old traces in database » 2016-04-15 06:43:05

rod barbee wrote:

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.

#20 General » Erasing old traces in database » 2016-04-14 18:36:26

fwillette
Replies: 4

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?

#21 Re: General » Font Awesome updated to 4.6.0 » 2016-04-13 23:31:40

rod barbee wrote:

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

#22 Re: General » Font Awesome updated to 4.6.0 » 2016-04-13 20:28:41

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

#23 Re: PHPlugins (CE4) » Drop menu in several autoindex pages » 2016-04-11 02:30:12

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?

#24 Re: PHPlugins (CE4) » Drop menu in several autoindex pages » 2016-04-11 02:24:21

Fine
Works now like expected.
Not sur I could point it by myself. Rod you are great.
Thanks a million times.

#25 PHPlugins (CE4) » Drop menu in several autoindex pages » 2016-04-11 01:41:43

fwillette
Replies: 4

Hello

I am building my own site and experimenting things like Drop menu with autoindex.

http://fredy-willette.be/

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>&nbsp;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>&nbsp;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.

Board footer

Powered by FluxBB