Community @ The Turning Gate

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.

  • New user registrations are disabled.
  • Users cannot create new topics.
  • Users cannot reply to existing topics.

You are not logged in.

#1326 Re: CE4 Pages » Drop-down navigation question » 2014-08-13 10:22:08

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>

#1327 Re: CE4 Publisher » Search results posting broken links (images that no longer exist) » 2014-08-13 04:53:16

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.

#1328 Re: CE4 Publisher » Search results posting broken links (images that no longer exist) » 2014-08-13 02:31:39

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.

#1329 Re: PHPlugins (CE4) » Global Cookie Control » 2014-08-13 02:24:40

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

#1330 Re: CE4 Publisher » Search results posting broken links (images that no longer exist) » 2014-08-12 23:48:31

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!

#1331 CE4 Showcase » Yet an other CE4 site » 2014-08-12 03:52:38

Daniel Leu
Replies: 9

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

#1332 Re: CE4 Gallery » Migration question » 2014-08-11 23:58:33

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.

#1333 Re: CE4 Gallery » Problem with Gallery » 2014-08-10 00:15:30

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.

#1334 Re: CE4 Gallery » Pages Gallery and Iconic Fade » 2014-08-09 10:57:14

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!

#1335 Re: CE4 Gallery » How do I remove this icon? » 2014-08-06 06:29:42

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.

#1336 Re: CE4 Gallery » How do I remove this icon? » 2014-08-06 04:13:18

On my test site, I can disable the download link with a little CSS

.hs-controls-right li:last-child {
    display: none;
}

#1337 Re: CE4 Gallery » Problem Not Found » 2014-08-06 04:01:43

Try to enable phplugins even if you don't use them right now.

#1338 Re: CE4 Gallery » CE3 LR User Templates » 2014-08-06 02:19:32

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.

#1339 Re: CE4 Publisher » Publish Error Message » 2014-08-03 15:15:11

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.

#1340 Re: CE4 Showcase » New CE4 Updated Site » 2014-08-03 03:11:45

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 ;-)

#1341 Re: PHPlugins (CE4) » Site-wide Navigation -- which css? » 2014-07-29 10:53:25

Hi Michael,

There is no need to hack CSS files. This can be set in Site Info > Navigation Items > Color:hoover

#1342 Re: CE4 Pages » Centering page content » 2014-07-23 03:04:43

You can have HTML inside your markdown code. This should work.

#1343 Re: PHPlugins (CE4) » Breadcrumbs the old way » 2014-07-20 12:27:30

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.

#1344 Re: CE4 Gallery » CE4 Gallery Permalink HighSlide and Metadata TOUCH » 2014-07-20 12:22:06

I would use phplugins to add a counter. This way you don't have to modify any of the php files.

#1345 Re: PHPlugins (CE4) » Breadcrumbs the old way » 2014-07-20 07:23:46

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.

#1346 Re: CE4 Gallery » Image Permalinks » 2014-07-18 07:12:05

In Publisher -> Edit Album, if you set "Items per page" to a number instead of "All in one page", it should work.

#1347 Re: CE4 Pages » Converting CE3 to CE4? » 2014-07-18 04:08:13

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

#1348 Re: General » Setting up website - Would like your advice, tips, etc... » 2014-03-30 02:25:53

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.

#1350 Re: General » Migrating test website to the real thing » 2014-02-07 11:54:10

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

Board footer

Powered by FluxBB