Insert text between sections in menu

dAMP / 2012-10-30 13:09:40   

I'd like to insert some non-clickable titles between sections in the menu to form like 'groups of sections'. So the menu structure would be something like for example:
- top
- title1
- sections 1-10
- title2
- sections 11-20
...
- bot

I know html and a bit of php so.. which files should I modify? It is possible wright?
Another solution would be make a section non-clickable, but I don't it can be done through css.

Ganim / 2012-11-01 00:33:22   

I need to do this too. Any luck?

Vaska A / 2012-11-01 00:41:54   

Guys, this is really complicated. In five years I've never even heard somebody ask for something like this.

The only way I can think of, aside from hacking up the index code, would be to set this text via javascript.

Ganim / 2012-11-01 01:22:28   

I did thought about javascript but i waited for an official solution :)

Here is how i solved;

  1. <script type="text/javascript">
  2. $(function() {
  3.     $('#section_title_2').html($('#section_title_2 a').html());
  4. });
  5. </script>
dAMP / 2012-11-01 13:11:23   

Thanks Ganim.
How does it work? It deactivates the link of the section with that id?
Don't get nothing that way.

arsondpi / 2012-11-01 15:24:22   

I think that this thread is a "misunderstanding"
dAMP is propably looking for something described in this thread: indexhibit.org/forum/thread/15591/
Ganim and Vaska understood something else...

:-D

dAMP / 2012-11-01 16:40:50   

Hi arsondpi. If I can make a exhibit title to show only as text and not as a clickable link that can somehow achieve what I'm trying.
Basically would be make non-clickable the two subsections that now have hidden its section title: meseta.es
Wouldn't be elegant, but it would work.

arsondpi / 2012-11-01 17:34:33   

yes I understood. Did you read the thread I posted? Vaska has an updated index.php for download.

dAMP / 2012-11-01 17:42:29   

Sorry! Started reading form the end ; )

That works perfect. Thanks!

This thread has been closed, thank you.