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.
Hi Rod
It's done, and well done I think.
All plugins are now updated, a little brainstorm to remember a few details, but finally everything seems to be O.K.
Thanks for the help.
Cordialy
Fredy
Hi Rod
Thanks
I know that my versions are not up to date for I didn't work with TTG for a lot.
I'm a bit affraid changing a version for an existing site.
Do i have to change version for Pages and Stage an then refresh the site, or must I refresh all modules and also
Gallery, AutoIndex (not sure it is used) and then do I have to refresh the wole site?
Hi Rod
Glad to see you are still very reactive. Thanks for the answer, unfortunately the problem is not solved.
I first tried escaping the period, not successful, then I reexported Stage with only one picture witout any text or caption,
not more effect.
The way I use to refresh these page is it wright?
In LR it works fine.
I see I created a Publisher instance for these application, but I don't see any album in it, thus not sure it has been ever used.
Best regards
Fredy
Hi everybody
There is a long time i didn't come here. Hope everybody is fine.
The site I set up has run well, and is still running well, but i'm now busy updating his content.
For the common galleries, no problem, I just changed the pictures in LR and published.
Same thing for creating new standard albums or album sets.
My problem is with Stage. There is a Stage page in the site : http://martine-cheval.be/stage-derniers-dessins/
with a galleria sildeshow. I don't remember very well how did I realise this.
I want to change the pictures, thus I recalled the Stage page in the Web module of LR, changed the pictures and exported Stage.
Then, with Filezillza, did I replace the stage directory in the site, but in the navigator the page remains white.
Is it something I don't remember that I have to do.
Cordially
Fredy
Now I know that because I experienced erasing, but I was thinking to new users to avoid them the same experience.
Cordially
fredy
Hi
When creating a new album, in Page content, the default value for "Page copy placement", is " Replace template Page Copy", whitch has for effect, if "Page copy (md)" is empty, to erase the "Content/Description" entered in the Gallery template.
Should it be possible to add, as default value " Do nothing", or to implement a test for doing this automatically in case of "Page copy (md)" is empty?
Cordially
Fredy
O.K. Time to stop changing layout. I think I did my best.
I'm not an artist and I created this site to spread my partner's drawings.
There will probably be small changes again, thus comments are welcome.
I have to enrich the content and some pictures have to be redone,
but you can now give a look at: http://www.martine-cheval.be
Thanks for all the support i've got here, never could do it without.
Fredy
Hello Michael
Your site looks fine on PC Win 7 and firefox and I love the layout, and content too.
Just a little remark, in your gallery "Seven wonders", in the table, row titles appear "Costruction" didn't you mean "Construction"?
Cordially
Fredy
Kyle and Michael
icons are now appearing correcty in Kyle's site, and also in your's Michael.
I don't know what could happen, maybe a cache problem with Firefox. I am on PC Win 7.
fredy
Hello Kyle, or Lucy, I don't know what is your first name.
I really like the layout so understated, very classy, and I love pictures too.
You must know that your favicons don't appear correcty in Firefox. Maybe this problem with ".htaccess" file.
Congratulations.
Fredy
Thanks Michael and Rod
For now I solved the issue using a stage page and it words. I didn't try to publish pictures in this Stage with publisher yet. If it works it will stay in the state, if not I'll have to setup an AutoIndex.
Fredy
I'try
I think that I am perhaps beginning to understand how TTG pugins work together. ;-)
Hi Rod
I pasted the code you gave in post 4 above and it works.
This is the code I use:
function ttg_head_end( $style, $path ) {
echo '
<link href="/phplugins/css/custom.css" rel="stylesheet" />
<script>
$(document).ready(function() {
$("#navigation a").each(function() {
if ($(this).prop("href") == window.location.href) {
$(this).addClass("selected");
}
});
});
</script>
';
and it works too.
I don't really remember what was the initial issue, but the most important is that it works.
Thanks
Fredy
OK
I thouhgt tha in the pane "Navigation Hyperlinks", Target was leading to something like a template, not directly to a page.
Thanks.
Hi Rod
Stage page "oeuvres récentes" is now hightlighted, I added a "/" at the end of the URL, seems that the syntax is different for pages ceated by TTG-Pages that are of type" /page.php" and supplementary pages ( like Search or Stage ) that are of type "/url/"
Concerning the code line ( 136 or 137 ) beneath which code must be inserted to activate hightlighting, in your Tip, you mention this line:
<link href="/phplugins/css/custom.css" rel="stylesheet" /> and I think it was the case with CE3, but with CE4 this line is now:
<link rel="stylesheet" href="/phplugins/css/custom.css" /> In this case hightlighting is not active. To acitivate, must be changed in
<link hrel="stylesheet" href="/phplugins/css/custom.css" /> I just tested it now to confirm.
Thanks for all
Fredy
Hello everybody
I find it could be fine if all members should fill in the data "From" in their profile; just country (or state) and city.
Cordially
Fredy
Hi Rod
Done and well done
Here is how:
1 replaced "fragments" folder
2 replaced the "info.php" file
3 Replaced "photos" and "thumbnails" folders
4 As I am using Drop down menu, simply added one line in the "phpluggins.php" file
testing the site after each step.
Thanks again
Fredy
Thanks Rod
I will try to follow your indications.
I won't update to new version now.
I'll tell you if successed, but for now i'll take a break.
Cordially
Fredy
I am ready to add an Info page to the site http://martine-cheval.be/ whitch is nearby his definitive structure.
Is it a way to add this Info page without re upload all the Pages content?
Cordially
Fredy
I was ready to swear having already seen the search template in LR. Probably memory failure from my brain.
I suppose you are right, anyway thanks Matt
Fredy
Hi
I am busy adding an Info page to the site, still in LR setup.
Reviewing the different pages, I noticed that the page Search doesn't appear correctly, I get the following message:
Error 53aRCH : CE4 Pages != search
Search functionality is handled by CE4 Publisher. If using CE4 Publisher, you may leave the "Search" menu item in place, then reference the CE4 Publisher documentation for information on how to setup search functionality; otherwise, you should remove the "Search" item from your menu.
I didn't change anything, but the label, to this Search page. I don't understand why the behaviour has changed.
Could you help me again?
Cordially
Fredy
I didn't really understand your first answer.
Now can I juggle with this
Thanks
Fredy
Hi Rod
Site: http://martine-cheval.be
Maybe did you notice that I had implemented "Highlighting the current page’s navigation menu item" using yout Tip.
I really think this is a great "plus" to navigation, especially when entering a site from Full screen flip gallery. Thanks a lot for this tip.
Just for information: in the phplugins.php file, in CE4, the line <link href="/phplugins/css/custom.css" rel="stylesheet" />
is sligntly different:" link href" has been replaced by "link ref" and it is enouth for prevent the script for working. Just replaced ref by href and it works.
An other point is that Hightlighting doesn't work for the "Oeuvres récentes" page whitch is a Stage page.
Cordially
fredy
Ok. I swapped these two pages; it is the solution I was thinking about.
The question underneath was: the drop down menu is it linked to the second page? In other words, was it possible to swap the drop down menu instead of swapping the two pages?
Coding is absolutely not my way.
Thanks again Rod
Fredy
Hello
Site: http://martine-cheval.be/galleries.php
I have implemented drop down menu and it works, giving the rights infos about abums an albums set, but.....
not on the right page. Albums and album sets are "naturally" loaded in the "Galleries" page, but dropdown menu appears on "Oeuvres récentes" page, whitc is a Stage page.
Here the code I put in phplugins.php:
<!-- EDIT ONLY BELOW THIS LINE : -->
<li><a href="/">Home</a></li>
<li><a href="/stage-derniers-dessins">Oeuvres récentes</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="/galleries.php">Galleries</a>
<li><a href="/about.php">Mon parcours</a></li>
<li><a href="/contact.php">Contact</a></li>
<li><a href="/search/">Recherche de dessins</a></li>
<!-- EDIT ONLY ABOVE THIS LINE -->
Am I wrong or did I miss something.
Cordially
Fredy