I am trying to create vocabulary index pages with columns and I wonder how to do it. Did someone perhaps accomplish this? The site on which we use vocabindex has index pages that are getting too long. I haven't been able to find any in ofr on the forums on how to do this.

I imagine a setting in the module might be an idea too?

TIA,
Gerben

Comments

xano’s picture

Category: feature » support

Support != feature.

How would you like to theme those indexes exactly and using which view? Can you be more specific?

Gerben Zaagsma’s picture

Thanks for the quick reply.

Have a look at this page: http://primary-sources.eui.eu/country

I'd like to break the index in 2, possibly 3 columns instead of one long list. I use the tree view right now.

xano’s picture

Title: create vocabulary index page with columns » Allow greater flexibility when theming indexes
Project: Vocabulary Index » Index
Version: 6.x-2.2 » 6.x-1.x-dev
Category: support » feature

Nested lists are very hard to break up, because simply splitting the list in half means the hierarchy around that point gets unclear.

Even if there is a way to split the index up in columns it's technically impossible with Vocabulary Index. I'm moving this issue to Index, so I can make sure it's possible using that module.

Gerben Zaagsma’s picture

Ok, will be following there (and good to know about the new Index module).

xano’s picture

Assigned: Unassigned » xano

Index theming can now be overriden by themes not only with a index.tpl.php file, but also with index--$iid.tpl.php, where $iid is the ID of the index, which is also used in the URL structure of the admin pages.

verta’s picture

I did some research last year into styling lists into columns, and wanted to share 2 articles that helped me with concepts and code:

http://www.alistapart.com/articles/taminglists/

http://stackoverflow.com/questions/4923/wrapping-lists-into-columns
This one is a list of suggestions, including one JQuery solution that looks promising: http://stackoverflow.com/questions/4923/wrapping-lists-into-columns/7674...

xano’s picture

Assigned: xano » Unassigned

  • Xano committed 3657d45 on 8.x-1.x
    Partially fixed #649342: Index theming can now be overriden by themes...