Search…

X3 Photo Gallery Support Forums

Search…
 
illunis
Experienced
Topic Author
Posts: 84
Joined: 14 May 2012, 07:24

Mega Menu depth of folders.

02 Dec 2014, 09:08

Hi all

I am using the Mega menu at the moment to create the galleries and i was wondering if and how it is possible to display all the folders under a category.

I am explaining...

The Structure is

Main
-- suba
-- sub1
-- sub2
-- subb
--sub1
--sub2



and goes on....

So how would this be achievable with Mega menu?....till now i have managed to display only the first 2 levels

main and suba lets say...

If u need FTP access let me know although i think u have the credentials

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

Re: Mega Menu depth of folders.

02 Dec 2014, 23:39

You mean you want to use the mega menu to display a single level of items instead of 2 levels like we have in the examples?

Technically that would not require the mega menu, but I agree it would benefit having a mega menu option like that for simply displaying a large amount of pages in the same parent category. I already have this noted down for integration later.
 
illunis
Experienced
Topic Author
Posts: 84
Joined: 14 May 2012, 07:24

Re: Mega Menu depth of folders.

03 Dec 2014, 02:49

Actually i want to do the opposite...to make Mega menu display 3rd,4th level categories...:P

but i am not sure if it would look nice....
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13999
Joined: 30 Sep 2006, 03:37

Re: Mega Menu depth of folders.

03 Dec 2014, 03:43

ok, so basically you want the mega menu to be able ti display three sub-levels instead of two? Currently we have:

- parent item
-- category
--- item1
--- item1

You want? -->

- parent item
-- category
--- subcategory1
---- item1
---- item1
--- subcategory2
---- item1
---- item2

The main problem is to visualize three levels. Two levels, we can add to columns like we have currently done ... Three levels hmm, not impossible, but it could be quite fragile ...
 
illunis
Experienced
Topic Author
Posts: 84
Joined: 14 May 2012, 07:24

Re: Mega Menu depth of folders.

03 Dec 2014, 03:51

Thats exactly what i was thinking Karl.....:)

but i have to agree that it may look a bit weird....no rush about that....

and if i can make a request while we are here

OK...I am using the Mega menu....and i click at a folder and i go inside to see the pictures or the other folders that may be inside.

HOW can i go back one level WITHOUT using the mega menu?

thanks and keep up the good work....:)
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13999
Joined: 30 Sep 2006, 03:37

Re: Mega Menu depth of folders.

03 Dec 2014, 04:53

illunis wrote:HOW can i go back one level WITHOUT using the mega menu?
You mean back to the previously visited page? ... or up one level to the parent page?

The latter would require "breadcrumbs" similar to as we use here on this website:
Image
 
illunis
Experienced
Topic Author
Posts: 84
Joined: 14 May 2012, 07:24

Re: Mega Menu depth of folders.

03 Dec 2014, 05:20

mjau-mjau wrote:
illunis wrote:HOW can i go back one level WITHOUT using the mega menu?
You mean back to the previously visited page? ... or up one level to the parent page?

The latter would require "breadcrumbs" similar to as we use here on this website:
Image
Yes!...i want to go up one level to the parent page...could you point me towards inserting breadcrumps?
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13999
Joined: 30 Sep 2006, 03:37

Re: Mega Menu depth of folders.

03 Dec 2014, 10:59

illunis wrote:Yes!...i want to go up one level to the parent page...could you point me towards inserting breadcrumps?
I was hoping that maybe "breadcrumbs" module would not be required, but I guess it is ... It is however a module that would require some work, so you may need to wait a bit ...
 
illunis
Experienced
Topic Author
Posts: 84
Joined: 14 May 2012, 07:24

Re: Mega Menu depth of folders.

04 Dec 2014, 02:40

Thanks !
:D
 
User avatar
fsfs
Experienced
Posts: 56
Joined: 24 Apr 2012, 07:28

Re: Mega Menu depth of folders.

16 Jan 2015, 09:49

Hi Karl,
Two questions:

1. Today I've this structure on X2.

-2010
-- January
---Event1
---Event2
-- February
---Event1
-- Mars
-2011
-- January
---Event1

etc etc
as you described before

will this structure be able to import to X3 or is it impossible?

2. If I want to import X2 content, I exclude the tn_files correct?
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13999
Joined: 30 Sep 2006, 03:37

Re: Mega Menu depth of folders.

17 Jan 2015, 02:17

fsfs wrote: 1. Today I've this structure on X2.

-2010
-- January
---Event1
---Event2
-- February
---Event1
-- Mars
-2011
-- January
---Event1

etc etc
as you described before

will this structure be able to import to X3 or is it impossible?
X3 supports any structure just like X2, so yes it does. However, perhaps your question is if the "mega menu" supports that structure? The mega menu basically support TOPLEVEL > CATEGORIES > GALLERIES, and as far as I can see, that is identical to your structure 2010 > JANUARY > EVENT1. The mega menu does not support an additional level (at least not currently). Also, if you don't use the mega menu, default will be an unlimited dropdown menu that supports and depth ... and in sidebar menu mode, it does the same. So basically, YES, X3 supports any depth of structure.

You may need to plan your structure though from a design perspective, in terms of how a visitor would engage your website.
fsfs wrote:2. If I want to import X2 content, I exclude the tn_files correct?
Basically yes, and you would need to rename folders from "myfoldername" to "1.myfoldername", eg. adding a number to make them "active" and in "order".
 
User avatar
fsfs
Experienced
Posts: 56
Joined: 24 Apr 2012, 07:28

Re: Mega Menu depth of folders.

18 Jan 2015, 03:00

mjau-mjau wrote: Basically yes, and you would need to rename folders from "myfoldername" to "1.myfoldername", eg. adding a number to make them "active" and in "order".
Perfect, before I upload. One more thing, you write "1.myfoldername"
Does this mean you cannot use space in the name?
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13999
Joined: 30 Sep 2006, 03:37

Re: Mega Menu depth of folders.

18 Jan 2015, 04:39

fsfs wrote:Perfect, before I upload. One more thing, you write "1.myfoldername"
Does this mean you cannot use space in the name?
There is no strict rule that says you CANNOT use space in the name, but more importantly there is no reason why you SHOULD use space in the folder name. If you have a folder name "my folder", the url will become ugly "website.com/my%20folder/". Besides, you already have the TITLE available when editing the page, which is what visitors will actually see on the page.

The folder name should be kept as simple as possible, because essentially it is used only for the URL, which should be short, concise and not includes characters like empty space which makes the URL unnecessarily complicated.