Search…

X3 Photo Gallery Support Forums

Search…
 
User avatar
andreamarucci
Experienced
Topic Author
Posts: 312
Joined: 01 Mar 2011, 11:13

Some advice

18 Mar 2016, 19:03

Hello Karl, I've tried to show all my submenu in my gallery

http://gallery.kog.it

but it seems that the initial gallery load is a bit slower.

Can you tell me if showing all the year's submenu can make the site slower when you go there for the first time? It's a good solution?

Thanks!
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

Re: Some advice

19 Mar 2016, 00:21

andreamarucci wrote:Can you tell me if showing all the year's submenu can make the site slower when you go there for the first time?
Yes, it will take much more processing when processing pages the first time after you make an edit. This is because it has to loop through all folders and collect data. It will be fine once the menu gets cached once though.
andreamarucci wrote:It's a good solution?
Not sure. Your menu is quite crowded now and it's hard to navigate and find anything ... Especially on small mobile devices. In my opinion, you should "hide children" for the YEAR categories ... It is probably more functional to find specific events directly from within page listings.
 
User avatar
andreamarucci
Experienced
Topic Author
Posts: 312
Joined: 01 Mar 2011, 11:13

Re: Some advice

21 Mar 2016, 05:11

you should "hide children" for the YEAR categories
That was before but all my members asked to have such a navigation so I've modified it...

Maybe I can hide childres and publish a page with a sort of gallery map so anyone can find what searched fast...
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

Re: Some advice

21 Mar 2016, 06:50

andreamarucci wrote:That was before but all my members asked to have such a navigation so I've modified it...
I won't argue that. It would perhaps be easier to find items if you used the mega menu LIST feature?
andreamarucci wrote:Maybe I can hide childres and publish a page with a sort of gallery map so anyone can find what searched fast...
Yes, perhaps. There is no native function for that currently in X3, although a "searchable sitemap" could be an interesting feature to add later.
 
User avatar
andreamarucci
Experienced
Topic Author
Posts: 312
Joined: 01 Mar 2011, 11:13

Re: Some advice

21 Mar 2016, 06:56

I'm doing manually a thing like that one

http://gallery.kog.it/indicegenerale/

If there would be such a feature, would be very interesting :-)
 
User avatar
andreamarucci
Experienced
Topic Author
Posts: 312
Joined: 01 Mar 2011, 11:13

Re: Some advice

22 Mar 2016, 04:29

Karl in that page when I click on a link it open in a new window. There a mean to avoid that?

All the link are in this way
Code
# 2001
* [**Raduno di Bardolino** | 29 Settembre 2001](http://gallery.kog.it/20012005/2001/290901/)
* [**Pranzo di Natale** | 1 Dicembre 2001](http://gallery.kog.it/20012005/2001/011201/)
* [**Cena di Natale** | 15 Dicembre 2001](http://gallery.kog.it/20012005/2001/151201/)
it's correct?
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

Re: Some advice

22 Mar 2016, 10:55

andreamarucci wrote:Karl in that page when I click on a link it open in a new window. There a mean to avoid that?
Yes. Use root-absolute links, so X3 understands you are trying to open internal X3 links. If you use HTTP, X3 will think it's an external URL.
Code
# 2001
* [**Raduno di Bardolino** | 29 Settembre 2001](/20012005/2001/290901/)
* [**Pranzo di Natale** | 1 Dicembre 2001](/20012005/2001/011201/)
* [**Cena di Natale** | 15 Dicembre 2001](/20012005/2001/151201/)
 
User avatar
andreamarucci
Experienced
Topic Author
Posts: 312
Joined: 01 Mar 2011, 11:13

Re: Some advice

22 Mar 2016, 11:02

Thanks!