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.
thanks. i did that and uploaded the favicon.ico file from my CE4 site, selected it. it doesn't appear
this is cool. could you share a copy of your css and phplugin files? it will make it easier to understand how they work in backlight.
thanks
awesome. that would be helpful.
even though there are changes, this interface is much easier than the LR-based one and the website is extremely fast.
It seems i can't just past in my old phplugins file. (that would be a nice how-to post...how to transition the phplugins file).
in understanding the differences with backlight, it looks like:
the CE4 ttg_header in BL is ttg_header_top
and ttg_header_masthead has been divided into ttg_header_masthead_top
is this correct?
under advanced customization in the template design section, i can select 'show favicon'. There is a dropdown menu referencing images with the instruction Select from images uploaded in Templates > Upload Images. i cannot find /templates/upload images. where should the directory be?
thanks rod. it has been a couple of months since i messed with the home page and had deluded myself into think i could see it in LR.
i don't see how to include an image in a post, but the gray exclamation point is to the right of the lime green PHPlugins item under Site Info. when i roll over it, it has a message 'when enabled, your pages will export as php documents....
i screwed something up accidentally.
i wanted to modify something on my home page, which was working fine. i created a copy of my pages template (jb-pages) and then modified that. then for some reason i created a new default album with the slug of pages-gallery and published it. after that point TTG Pages will no longer pick up the PHPlugins file on my server (which has not been changed or moved).
So, rather when i select the jb-pages template in LR, it loads the homepage but no longer any of the css changes i made on my server. the website on the server is fine (www.joliverbrooks.com). my PHPlugins path is correct /home1/joliver1/public_html/phplugins. why won't it display within in LR anymore?
(there is also an exclamation point across from PHPlugins in the TTG pane).
yep. that got it. i had to actually rename the photos, then delete the album in publisher, then create it again.
i imported two galleries form an aperture library into lightroom. all the files were .psd. when i created a new collection with CE4 Publisher, there is no preview image not the gallery page. in the publish settings, i duplicated an existing album, which has the preview set to 'random'. how can i get an image preview for the album on the gallery page?
joliverbrooks.com
albums are smithland (images in bakeries do not appear when subjected) and killing machines(images appear when selected but not when advanced)
thanks
So it is. i must have had a typo when i was trying to fix the CSS. perhaps there was a browser cache issue? thanks again.
This css code leads to a successful dynamic background if others are interested:
body {
background: url(/phplugins/images/backgroundSplash29.jpg) no-repeat center center fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
}
i have the following in my custom.css in phplugins/css to make a dynamic sizing background. it works fine for the Pages generated pages, but in gallery, i get the background, yet it is not dynamically sized (ie. will be cropped if you shrink the window). how do i specify this for the Gallery template? (i used the hack to copy over style data generated from Pages to Gallery).
body {
background-attachment: scroll;
background-image: url(/phplugins/images/backgroundSplash29.jpg) no-repeat center center fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
}
p.s. i actually realized the background is only dynamically sized on the landing page, but not when i click the link to galleries.
www.joliverbrooks.com
Got it. that fixed it. thanks.
thanks. that fixed everything i mentioned.
there is a new thing it introduced.
publisher places my new galleries in /galleries and not in /galleries/pages-gallery.
1. consequently, when one goes to the gallery page, you see the three photos i put in pages-gallery rather than a listing of the two galleries i uploaded.
2. clicking on galleries in the breadcrumb results in a page not found
i think i am not understanding something about the hierarchy and how pages-gallery fits in and why publisher doesn't create this if it is what it needs. or, is there why i should try to learn auto-index?
i published a default album to pages-gallery. now that is all shows up. then if i click galleries in the breadcrumb i get a page not found. All this did was direct the gallery page to the default album (and no longer show the two albums i have published). it did not use the template i selected in publisher. the large image at the top was gone, however.
this used to work exactly as i wanted. i could style the gallery in the template and then the albums appeared on it and the template replaced the CE4 Pages gallery. i've never explicitly slugged pages-gallery before.
it seems that the template specified under ttg-be is not being applied. i have the following settings in Pages->theGallery:
Page Assignment -Galleries
Priority - Beneath Content
Gallery Type - Galleria Slideshow
...
Allow Page Replacement ... - Yes
1. All I want on the Gallery page is an Album Index without the large photo at the top. I thought I needed to do this by setting it up in Galleries?
2. The gallery pages (with the thumbnails of an album) are not inheriting the phplugin settings from CE4 Pages (e.g., note that after going into a gallery the navigation bar is right justified, rather than left.) shouldn't these properties be inherited?
this was working and then it stopped for reason's i'm not sure of.
i want to replace the default CE4 Pages "gallery" page with the gallery page generated by Publisher using my template.
I do have two albums i published from CE4 publisher.
if you go to this page http://joliverbrooks.com/galleries.php
and scroll down a bit below the large picture (which i don't want there), you will see the two albums.
isn't Publisher supposed to generate the pages-gallery album?
I've encountered this problem again, even though i have not changed anything. when my gallery page is loaded, it does not display the gallery template (which is in ttg-be/templates/gallery and selected in Publisher).
Instead of the text in the gallery template, the CE4 text is displayed along with a large slide show image at the top.
I have double checked in CE4 pages->Appearance->The Gallery->Allow Page replacement by CE4 Publisher is set to 'yes'.
(direct link is http://joliverbrooks.com/galleries.php)
what am i missing?
thanks
I don't know if this is helpful, but be sure the option to allow CE4 to over write pages is set to yes.
Found it. somehow under Auto Index Galleries, I needed to select "allow page replacement by CE4 Publisher" though i don't recall ever changing that setting.
hi. i finally got things how i wanted them and somehow screwed it up. I can't for the life of me figure out how it happened, but it must be a setting. My gallery page includes a large gallery image above the albums.
http://joliverbrooks.com/galleries.php
i just want the text and then the albums. how do i make the large gallery image go away?
thanks
cancel my last question. for some reason the directory was not appearing in my ftp client even after i restarted. now i can see it.
which is what i did. it was one of the renaming choices. is there a better one to use?
also, after finally getting the animated header to work, it seems on the gallery page (and only the gallery page) it is not finding the javascript runtime. it expects it in joliverbrooks.com/galleries/bw (where bw is the slug name i chose).
how do i reference this directory if it doesn't exist? (or if it does exist where did publisher put it? i can't find any of the images it uploaded).
thanks again!
I created an album with publisher with 6 photos in. it seems to upload, but in the gallery, it repeats the last photo of the album. oddly , the photo is resized (landscape vs portrait) for the other 5 instances. i set publisher to rename the files and have a template in ttg-be/template/gallery.
i deleted the album in publisher and created a new one and it does the same thing:
www.joliverbrooks.com
thoughts?
I made progress. i figured out the position was because when i added something in the masthead hook, it didn't have all the <div> info that was in the default it replaces (i checked the index.php file). what i have below, moves the animation up above the title bar.
now i have two smaller (presumably simpler issues).
1. how do i make the masthead space larger so the animation isn't cut off?
2. is there a way to left justify the masthead (ie. so the object is along the left side of the of page?
code below:
function ttg_header_masthead( $style, $path ) {
echo '
<div id="masthead" class="block-id masthead clearfix">
<div class="mantle clearfix">
<div class="core clearfix">
<div id="Stage" class="EDGE-2227651377">
</div>
</div>
</div>
</div> <!-- #masthead -->
<!-- #masthead -->
';
return false;
} // END
sorry. i somehow pasted over my original response.
i want the animated bit to be above the nav bar, like a header (i can resize animation if necessary). it would be cool if it were clickable, but not imperative.
the site is www.joliverbrooks.com
the current hooks are:
function ttg_head_end( $style, $path ) {
echo '
<link rel="stylesheet" href="/phplugins/css/custom.css" />
<!--Adobe Edge Runtime-->
<script type="text/javascript" charset="utf-8" src="http://animate.adobe.com/runtime/6.0.0/edge.6.0.0.min.js"></script>
<style>
.edgeLoad-EDGE-2227651377 { visibility:hidden; }
</style>
<script>
AdobeEdge.loadComposition("jbRotateBlk300", "EDGE-2227651377", {
scaleToFit: "none",
centerStage: "both",
minW: "0px",
maxW: "undefined",
width: "325px",
height: "110px"
}, {"dom":{}}, {"dom":{}});
</script>
<!--Adobe Edge Runtime End-->
<script src="//use.typekit.net/lfm3nrq.js"></script>
<script>try{Typekit.load({ async: true });}catch(e){}</script>
';
} // END
function ttg_header_masthead( $style, $path ) {
echo '
<div id="Stage" class="EDGE-2227651377">
</div>
<!-- #masthead -->
';
return false;
} // END