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.
It looks you already advanced a bit since you posted this code fragment.
There are two lines that you need to delete and then it should work better.
<li><a href="/info.php">Info</a></li>
</ul> <-- delete
</li> <-- delete
<li><a href="/about/index.php">About Me</a>
Thank you, Kristen, for the kind words! I remember this moon shot well... I almost went home because it was too cloudy. But eventually the moon showed up for a few clicks.
Hoping Ben will check in and give some info on how to get rid of the old album set. Its happening with any deleted albums I have. When I'd delete them in LR it would state that even if I deleted it in LR that the album may still exist on the server. That is when I'd go in and manually delete the album.
That's strange. Let's see what Ben advices. If you don't hear from him in a day or two, you might want to PM him.
CE4 now uses a database on your server to keep track of your images and galleries. So you might not see the directory, the database still knows about it.
I tried to recreate the wild gallery in LR but it states that there is a duplicate gallery online. I do believe I manually took it off the server. There must be some hidden folders as I do not see that folder or any remnants of it on the server. Any ideas?
Were you able to recreate the gallery or did Lr prevent you from doing it?
You might want to check with Ben how you can get rid of this old album set.
Hi Tom,
There are several issues at work here:
you need to escape the single quotes and the already escaped single quotes (' becomes \' and \' becomes \\\')
cookielawinfo.js is needed
cookielaw custom css is needed
Here is the code that works for me:
function ttg_canvas_bottom( $style, $path){
echo '
<script type="text/javascript" src="http://tomowens.openpoint.co.uk/blog/wp-content/plugins/cookie-law-info/js/cookielawinfo.js?ver=3.9.2"></script>
<script type="text/javascript">
//<![CDATA[
jQuery(document).ready(function() {
cli_show_cookiebar({
html: \'<div id="cookie-law-info-bar"><span>This website uses cookies to improve your experience. We\\\'ll assume you\\\'re ok with this, but you can opt-out if you wish.<a href=\"#\" id=\"cookie_action_close_header\" class=\"medium cli-plugin-button cli-plugin-main-button\" >Accept</a> <a href=\"http://tomowens.openpoint.co.uk/cookies\" id=\"CONSTANT_OPEN_URL\" target=\"_new\" class=\"cli-plugin-main-link\" >Read More</a></span></div><div id="cookie-law-info-again"><span id="cookie_hdr_showagain">Privacy & Cookies Policy</span></div>\',
settings: \'{"animate_speed_hide":"500","animate_speed_show":"500","background":"#fff","border":"#444","border_on":true,"button_1_button_colour":"#000","button_1_button_hover":"#000000","button_1_link_colour":"#fff","button_1_as_button":true,"button_2_button_colour":"#333","button_2_button_hover":"#292929","button_2_link_colour":"#444","button_2_as_button":false,"font_family":"Helvetica, sans-serif","notify_animate_hide":true,"notify_animate_show":false,"notify_div_id":"#cookie-law-info-bar","notify_position_horizontal":"right","notify_position_vertical":"bottom","showagain_tab":true,"showagain_background":"#fff","showagain_border":"#000","showagain_div_id":"#cookie-law-info-again","showagain_x_position":"100px","text":"#000","show_once_yn":true,"show_once":"10000"}\'
});
});
//]]>
</script>
';
}
You might want to fiddle a bit with the position for the notice using custom CSS so it doesn't interfere with the standard TGG layout.
Cheers
You have an album that doesn't exist anymore: Galleries » Wildlife » Wild Birds » Raptor Portfolio pointing to http://kristenwestlake.net/galleries/wi … and-Hawks/
Did you maybe deleted it by hand on the server? If yes, it seems you can recreate it in Lr and then delete it again to cleanup these leftovers on the server.
BTW, love your site!
I had a CE4 test site up and running for a while and finally decided this weekend to update my main site. I tried to reproduce the same look&feel I had with my CE3 based design. With the new features in CE4, less customization was needed. Vertical navigation, breadcrumbs and search are all part of the TTG plugins. Still, my phplugins file is bigger than before...
This is what I did:
Custom single page layout: Love the single page layout. Unfortunately, there is no phplugins support to customize the image view. So I 'hacked' the template to get my look and feel. An example is at http://danielleu.com/galleries/united_s … single.php. Now I really have to spend some time naming images and adding captions and keywords for optimal SEO support.
Custom mobile navigation: This replaces the standard navigation for mobile devices. It is really cool to be able to do this just with a bit of PHP and CSS.
I like a consistent look and feel so I added breadcrumbs to the non-publisher managed pages too.
search: Some galleries and blog posts had direct links my CE3 GallerySearch page. Now all these links are invalid. Instead of trying to locate the different locations where I did this and change them, there is a simpler fix: Duplicate /search/index.php and name the duplicate /search/search.php, but do NOT replace/rename /search/index.php! All your previous search query links will now continue to work.
I am certain that there are still a few things to fix, but I am happy how my site looks now. If you find something that doesn't work, please let me know! Thanks!
My site is at: http://danielleu.com
During my migration from CE3 to CE4, I had part of the site running CE3 (and I still have a few pages under CE3) while I continually added new modules in CE4. Phplugins for CE4 are named phplugins_ce4 to avoid conflicts. As far as I can remember, this was the only thing I had to do avoid conflicts between the two versions.
Try with a gallery template name without a 'space'. Maybe 'CE4-Gallery' instead of 'CE4 Gallery'.
I see the missing Thumbnails too.... and eventually all but one appeared. No idea about that.
Independent of the permalink issue, the link in your navigation menu for 'buy-prints' should be preceded with a '/'. So use '/print-shop' instead of 'print-shop'.
I like the design of your site!
As Rod said, if one knows the link to an image even in password protected galleries, he/she can see the image. More about password protection is at http://ce4.theturninggate.net/docs/doku … _obscurity.
On my test site, I can disable the download link with a little CSS
.hs-controls-right li:last-child {
display: none;
}
Try to enable phplugins even if you don't use them right now.
How about creating an image with your color swatches and import it into Lr? You could even use it as identity plate during development so it is easy visible.
Independently of this issue you reported, I noticed that your CE4 Gallery template name has whitespaces in it. So instead of "CE 4 Gallery" you should use something like "ce_4_gallery". No whitespaces and all lower case. I use only lower cases to avoid possible issues as Linux filenames are case sensitive.
Looks great, Jon.
Have a look at mobile navigation, the second level galleries might need some tweaking.
I agree, everything goes better with a glass or two of Malbec ;-)
Hi Michael,
There is no need to hack CSS files. This can be set in Site Info > Navigation Items > Color:hoover
You can have HTML inside your markdown code. This should work.
Glad you got it working, Mark!
With the new built-in breadcrumbs implementation I like that I can name the crumbs in the Publisher album rather than depending on the directory names.
I would use phplugins to add a counter. This way you don't have to modify any of the php files.
Hi Mark, on my CE4 test site I am using the new breadcrumbs. I added them as well to all non-gallery pages to have a consistent look.
For testing purposes, I just copied over my original breadcrumb code fragments and inserted them in my galleries. They still work. So I don't know what's different in your setup.
In Publisher -> Edit Album, if you set "Items per page" to a number instead of "All in one page", it should work.
Unfortunately, you have to redesign the pages. But once you have done this with one template, you can share it with the other plugins: http://ce4.theturninggate.net/docs/doku … _templates
My site is Pages based with the Wordpress plugin running the /blog. If I would start a new site now, it would be Wordpress based.
Why I didn't do this for my current site? The WP CE3 wasn't available at that time.
From: http://digital-photography-school.com/w … room-files. Scroll down to "Where are your Presets?" for more infos.
It is easy to create a new subdomain with 1and1. In the control panel, open Domain/DomainCenter, then New->Create Subdomain.
Once you have created the subdomain, select Destination and enter a new Target Directory such as /test