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.

#126 CE4 Gallery » Headers in Mobile versions » 2015-11-14 04:10:15

theomolenaar
Replies: 8

I have changed my template galleries. Different logo, album name in header etc. and republished.

However in the mobile versions the headers have have not changed. In the autoindex they have.

#127 Re: CE4 Auto Index » Autoindex problems » 2015-11-13 18:24:45

@Rod

After some trial and error I got it. In the autoindex documentation it is mentioned that you fill in thumbnail.jpg in the autoindex and the thumbnail in the root. However I did not get that working. By choosing for Custom in the album and putting the thumbnail in the custom-thumbnaill directory I got everything working as I wanted.

#128 Re: CE4 Gallery » Header » 2015-11-13 18:06:07

I am sorry

When you choose album you get to the first level (diredctory gallery). Then there is no name in that heading. It is a separate occurence of the autoindex script.

http://test.theomolenaar.nl/galleries/

I put a title in the autoindex-xml like there is in the underlying directories but somehow it does not seem to work..

#129 Re: CE4 Gallery » Header » 2015-11-13 06:27:15

I decided tot ad a subtitle as a literal. Works great.

Only at the album (first) level things are different... Any Idea ?

#130 Re: CE4 Auto Index » Autoindex problems » 2015-11-13 01:19:16

Aha. But some remain the same as I reload. I filled in the template.I wanted the scipts to use the thumbnail.jpg in the root. But I see now that some albums have a different behaviour. Confusing if you put the Antigua thumbnail in the china/thumbnails folder :-)

So I have to look at my publisher settings I guess.

Thanks

#131 Re: CE4 Auto Index » Autoindex problems » 2015-11-12 22:37:17

In the meantime I have without any knowledge of PHP but just by looking at the scripts solved one of the problems....

In the 'old' script I saw that the string $urlpath was replaced in all autoindex files. I looked up where that string was now and it was in the autoindex.php in the lib directory of the template under ttg-be/templates/autoindex.

I also found a statement called ireplace, that looked like it was replacing something, looked that up and indeed it was a statement of that kind. So I added a replace: 

            $_root = @realpath($_SERVER['DOCUMENT_ROOT']);
            $_rootlen = strlen($_root);

            $_fp = str_ireplace('/_pictures_CE4_V01/', '/', $_fp);

            $_urlpath = substr($_fp, $_rootlen);

And behold it worked. The galleries page has its own index I guess, i'll do that later.

http://test.theomolenaar.nl/galleries/asia/china/

The images however seem random. Still have to figure out where they come from. 'hardcoded' thumbnail.jpg in the root of the album would be nice...

#132 Re: CE4 Auto Index » Autoindex problems » 2015-11-12 19:39:39

So you are saying that one of the largest hosting companies in the world is doing things wrong ? I' have mailed them that you (the script) said so. Awaiting response.

#133 Re: CE4 Auto Index » Autoindex problems » 2015-11-12 03:53:47

It is the same problem with the album I exported and then uploaded as a with the directories (and albums)) I uploaded using publisher.

Before (old site) I did not use publisher because I made separate mastheads per album... And I made separate autoindex files per directory with the path hardcoded. All things I do not want to do again, because then I'd better use a good blog theme instead of TTG. With your help I got the title in the header, so now this is the obstacle left...

#134 Re: CE4 Auto Index » Autoindex problems » 2015-11-12 03:20:32

No I was not using publisher. But publisher is not the problem I think.

I uploaded an album directly without using publisher:

http://test.theomolenaar.nl/galleries/

I had to make specific autoindex occurences before.  Bottom of this topic:

http://community.theturninggate.net/post/2020/#p2020

I have posted the problem with the hosting company.

#135 Re: CE4 Auto Index » Autoindex problems » 2015-11-12 01:41:36

But how do I solve it? Tell this company with 60.000 servers they are doing someting wrong ? I'll get the answer that the scripting does not work on subdomains probabely. But I will post someting anyhow. Only I do not epect any results.

I know it is because of the redirects. I had the same problem with the previous version. The point is that everything else works just fine. The autoindex can read the files with the header and text that are in the same location as the thumbnail is and that the link should be going to.

#136 Re: CE4 Auto Index » Autoindex problems » 2015-11-11 21:32:32

I uploaded again. So the changes I made in the file are undone. So instead of  http://test.theomolenaar.nl/galleries/asia/bhutan/ the links go to the redireted /_pictures_CE4_V01 again. I understand (i think) why it worked before and not now. I had a dedicatated auto index for each level. Now there is the autoindex in the templates directory. So there is only one.

As for the thumbnails. I have thumnail.jpg everywhere now, but no thumbnails appear. I have changed the thumbnail for Bhutan in publisher. I could locate it in the autoindex.xml and in the source of the genarated page:

<div class="album grid_4 clearfix">
    <div class="album-mantle clearfix">
        <a class="album-link" href="/_pictures_CE4_V01/galleries/asia/"></a>
        <div class="album-core clearfix">
       
        <div class="album-image mosaic-backdrop"
            style="background-image: url(/_pictures_CE4_V01/galleries/asia/bhutan/thumbnails/Thimphu---Clocktower.jpg);">
        </div>

        <div class="mosaic-overlay">
        <div class="album-info">
            <p class="album-title">Asia</p>
            <p class="album-description">Over the years I did the biggest part of my trips to Asia. Recently travel took me to India, China, Japan Tibet and Bhutan. Myanmar (1995) is still an alltime favorite.</p>
            <p class="album-overlay"></p>
        </div>
        </div>

        </div>
    </div>
</div><!-- .album -->

so the image is looked up in /_pictures_CE4_V01/galleries/asia/bhutan/thumbnails/Thimphu---Clocktower.jpg in stead of the link without the redirect.

Where this originates is for me impossible to find. The whole thing looks extremely complicated. There are scripts executing scrips executing scripts it seems. I found a lot of autoindex scrips over various directories.

I looked in the documentation but I could not find something like an architecture view. Which script executes which. With all the relative paths it is impossibe  for me to reverse engineer this.

I think that if the path both the thumbnail and the link could be changed that everything might work. Maybe the root could be identified withh a path like this: /home/strato/http/power/rid/90/89/51959089/htdocs/_pictures_CE4_V01/

But how and where I do not know....

#137 Re: CE4 Gallery » Header » 2015-11-11 19:13:17

Yes

The identityplates where way deep in the template folders under BE under Galleries. Put it in galleries/lib and it works. I guess that makes sense because the galleries folder is where TTG 'lives'

Thanks again for the support

#138 Re: CE4 Gallery » Header » 2015-11-11 01:37:43

Thanks for the info

An identity plate was found. But somehow an old one, not the one that was exported recently. But given this I can figure out where to put it. My templates are in the gallery als was in the Manual. My skills in directories, paths etc. are quite rusty i am afraid.

But with the current info i can figure it out....

Thxs

#139 Re: CE4 Gallery » Header » 2015-11-10 23:35:43

Alas

It does not work the identityplate is not found.

#140 Re: CE4 Gallery » Header » 2015-11-10 23:00:05

Great

Ill try this.

After your first reply I sort of decided that I also like the album description in the header. So I'll add that too. Same for the autoindex.

#142 CE4 Theme for WordPress » Updating a theme » 2015-11-10 06:03:52

theomolenaar
Replies: 7

I have udated my Lightroom Theme for wordpress (different home page with galleria slideshow and a changed header png.

I read in the documenntation that if you give the team the same name wordpress sees it as an upgrade. However Wordppress gives the message that the theme is already there. So the uplod failed.

1) how can I update and does the galleria slideshow als gets uploaded

or

2) What gets damadged if I import as a new theme ? I have not done much settings apart from the menu's. Would the link with the gallery be damadged?

#143 Re: CE4 Gallery » Header » 2015-11-09 22:57:33

Thanks

I'll start working on it. Always saving the last one that worked.. It  is not a real problem if the site is down. It is a test. When it is working and coplete I reroute the pictures subdomain....

#144 CE4 Gallery » Header » 2015-11-08 22:43:29

theomolenaar
Replies: 25

In my current site I have a Header per Gallery. Separate jpegs, so i have as much templates (also for naming, text etc.) as I have gallery (not using publisher). 

I now want to use publisher. I made the logo shorter and have the text filled from the template. However I want different text for different albums.

The site tiltle (as displayed by the browsers tab) is litang to kanding - Travel etc...

http://test.theomolenaar.nl/galleries/a … o-kanding/

I would like the album title from publisher to be in the header in stead of Pictures of a big world (this is only for the homepage).

That will probabely mean usingTTG hooks. I read the manual so oI sort of get the Idea, but my knowledge of code is practically zero..

#145 Re: CE4 Auto Index » Autoindex problems » 2015-11-08 05:56:21

Thanks for looking.

I did not see the realpath error. But then I changed the file. I ofcourse own the domainname. It is my main one. I have several other domainnames and they are handled exactlly as is the subdomain ! A reddirect to a directory under www.theomolenaar.nl. So it is common practice I gues. I doubt if the provider with 4 million domains ISO certified etc. will admit that they are doing anything wrong (even if they are). Unless I can ask something very specific I do nt think the solution comes from that side.

Publisher got all the albums and sets in the proper directories it seems. And the breadcrums are correct. But thenn again I filled them.

The index 'sees' the albums.  It seems that the thumbnails are also not found. They are both in the root and in the thumbnail directoy in the China album.

#146 CE4 Auto Index » Autoindex problems » 2015-11-08 02:32:24

theomolenaar
Replies: 19

I try to go from CE3 to CE4 and use publisher to make more and smaller albums, with masonry layouts.

I have followed the manual and the albums look ok (have to do some tweaking later) as is most of the other stuff.

However I cannot get the autoindex to work.

With Ce3 I had the same problem as people who use Go Daddy (I use Strato one f the biggest hostinng companys in Europe. My site is in a subdomain. The old site was pictures.theomlenaar.nl where pictures is redirected to 'www.theomolenaar.nl/pictures_CE3_V01]. It works fine only I haveto make separte autoindex files for every level.

Now I am working on pictures_CE4_V01. So far  I  redirect from test.theomolenaar.nl, but I will change that when I go online. I am working with publisher to create album sets and everything seemed to work good as far as the upload is concerned. Asia has both an album (bhutan) as another set (China).

I edited the  autoindex-php the $root thing Matt mentioned when I  had a similar error in
CE3. $_root = @realpath($_SERVER["SUBDOMAIN_DOCUMENT_ROOT"]);

But now the hierarchie is lost. If you llook at this you can see that if you go down the link is to the galleries-route. Before that change is was to test.theomolenaar.nl/pictures_CE4_V01/galleries/  etc..

The index sees and reads the content of the album_sets or albums but the link is to another location.

http://test.theomolenaar.nl/galleries/a … he-mekong/

At the Galleries level you can see the original problem (is that another index).

Board footer

Powered by FluxBB