Indexhibit

Login:

Created by:
Daniel Eatock &
Jeffery Vaska

Built with Indexhibit

expandingTwoLevelMenus.js / Sub sub menu / 2.x

 

Indexhibit version: 2.0
Thread is not resolved.

artteca
UNITED STATES
2 year(s) ago
Permalink Post

Hi,

First of all, Thanks to Vaska and Eatock for their great and hard work.

I had the expandingTwoLevelMenus.js in the old version and I was wondering if there is a way to have it again in the new one.
This was the thread
indexhibit.org/forum/thread/10012/

Vaska A
UNITED STATES
2 year(s) ago
Permalink Post

I hope to release submenus within a couple weeks. We already have them working but I need to spend a day or two resolving some bugs. Expanding menus already work with it, too.

artteca
UNITED STATES
2 year(s) ago
Permalink Post

Awesome! I will wait for that release.
Meanwhile how can I try it? Even tho It might not work full I already have the expanding menus active and would love to try it.

Thank u so much!

Vaska A
UNITED STATES
2 year(s) ago
Permalink Post

Ok, but I don't want people to start sending me emails telling me they turned this on and it doesn't work - there is a reason why I took this out at the last moment before release. It needs more work...

You can uncomment the code and it will be active. It begins around line 1994:

  1. // this is where we display subdirectories if they exist
  2. // enable later
  3. /* <= remove this line
  4. if ($rs['sec_proj'] == 0)
  5. {
  6. ...
  7. }
  8. */ <= and this one

And then you will have the tools when you are editing a section to create subsections. You order them on the same page, too.

artteca
UNITED STATES
2 year(s) ago
Permalink Post

I wont complain :P
I'll try it but will wait for the release anyway.

artteca
UNITED STATES
2 year(s) ago
Permalink Post

This is the sample so far,

lauraserrano.es/index.php/projects-1/INTERIOR%2001/01/

under projects 1
Its almost there!!

cruro
GERMANY
2 year(s) ago
Permalink Post

Would be nice, if you could close sections or subsections by clicking the specific title.

artteca
UNITED STATES
2 year(s) ago
Permalink Post

Eventually I was trying to get that.
To click in the menu and unroll, click again and roll back.

hmadrona
SPAIN
2 year(s) ago
Permalink Post

@Vaska,

Congratulations for Indexhibit 2.0. It is quite a great enhancement over 0.7X.

I've been looking into the issue of the sub sub menus and there is a bug that doesn't allow Indexhibit to display pages saved with uppercase letters/whitespaces in their folder names.

This is one of the problems artteca had with her site with the aforementioned page:
lauraserrano.es/index.php/projects-1/INTERIOR%2001/01/

I'll try to elaborate: When retrieving the page from the DB by url in index.php, the uri contains lowercase letters only and whitespaces, but the DB stores the original name with uppercase letters and all and escaped HTML characters, so not match happens and Indexhibit redirects you to the home page of the site.

Hope this give you some hints to solve the issue. So far folder names should contain "safe" characters: lowercase letters and dashes, as far as I've seen in my tests.

There are other small issues related to the menu generation and the JS file. Let me know if you need any input on this issues.

Cheers!

Vaska A
UNITED STATES
2 year(s) ago
Permalink Post

It's on the list of things to look at. ;)

Jesco
SWITZERLAND
2 year(s) ago
Permalink Post

I think the expanding-menus-problem is a font and font-weight problem...
I changed some settings and it works now with this code. you can open and close the menus by clicking.

Edited by Vaska: instead of posting the whole CSS please explain to us what was changed - I certainly can't even tell what was going on there.

Vaska A
UNITED STATES
2 year(s) ago
Permalink Post

Can you only post the pertinent parts...

Jesco
SWITZERLAND
2 year(s) ago
Permalink Post

I'm not really shure, why it works that way, I just changed it and now I can click the menue open and you can close them.

body {
    font-size: 10px;
    font-family: Verdana, sans-serif; (HERE I CHANGED THE FONT)
    background: #E8E8E8;
    
    line-height: 1.3em;
    /* font-weight: 300; */
}

/* active exhibit title parts */
li.active a:link, li a.active, li.active a:hover, li a.active, li.active a:active, li a.active,
li.active a:visited, li a.active, li span.active, #index ul.section li.active a:link,
#index ul.section li.active a:hover, #index ul.section li.active a:active, #index ul.section li.active a:visited
{ font-weight: normal; } (HERE I CHANGED THE FONT-WEIGHT FROM BOLD TO NORMAL )

Vaska A
UNITED STATES
2 year(s) ago
Permalink Post

Thank you! Now we have something to think about...

;)

paolodll
ITALY
2 year(s) ago
Permalink Post

Dear All,

I would like to get a two level menu, shaped this way:

PROJECTS (main session)

-2012
-2011
-2010

than have a visual index for each project year, with preview images and links to my exhibits.
Is this something I can get with Indexhibit 2.0?

hope I explained well what I'd like to do...
thank you in advance

P

paolodll
ITALY
2 year(s) ago
Permalink Post

Oh, it is exactly what artteca did here, under interiors session
lauraserrano.es

wich is the easiest way to get it?

paolodll
ITALY
2 year(s) ago
Permalink Post

...and just to try...where can I find the code to uncomment to activate the sub sections?

artteca
UNITED STATES
2 year(s) ago
Permalink Post

I think paolodll will be able to do it when the submenus are released and with the expanding menus plugin disabled.

paolodll
ITALY
2 year(s) ago
Permalink Post

thanks for your kind reply artteca.
But just to try in the meantime, could you please tell me where can i find the code to uncomment, as Vaska previously suggested to you? I'm not an expert at all, but I'd love to try anyway.
thanks a lot

bipster
SPAIN
2 year(s) ago
Permalink Post

paolodll, you can find the code in the file /ndxzstudio/module/system/index.php

Sergio_Olivotti
ITALY
10 month(s) ago
Permalink Post

HI,
I tried follow what Vaska suggested:

1) uploaded and activated INDEXPAND;

2) changed:

// this is where we display subdirectories if they exist
// enable later
/*

Sergio_Olivotti
ITALY
10 month(s) ago
Permalink Post

...sorry, i finish.
I tryed what I said before but still clicking on the menu it doesn't happen anything (sorry for my english and my explanation.. :(
italianposterbiennal.it

arsondpi
GREECE
10 month(s) ago
Permalink Post

Works fine for your Exhibitions section (with the 2010 subsection and the 1 exhibit)
At least from my end.

Sergio_Olivotti
ITALY
10 month(s) ago
Permalink Post

Thank you Arsondpi,
yes it runs, but only with this "cronological" option (and why 2010?).
When in "admin" I change the section organization into "default" I can't see anything (I just did it).
Other problem. When I try to upload some images to the subsection it appear this message: "You can not upload to this exhibit. Change the media source in options."

Sergio_Olivotti
ITALY
10 month(s) ago
Permalink Post

(I just solved the second problem putting "tag.php" as template option...but I really don't know what I did :) ...still working on the first problem...

 

This thread has been closed, thank you.