Closed (won't fix)
Project:
Vocabulary Index
Version:
6.x-2.x-dev
Component:
Code
Priority:
Minor
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
24 Feb 2008 at 00:55 UTC
Updated:
3 Mar 2008 at 07:16 UTC
okay, i'm using this - works great on drupal 6 - my only request: is it possible to insert a block of text at the top of the page that is generated by this module? it appears to be a reasonably static list spun out of a run against the vocabulary, but it would be great to have simple options like 'insert text box at top' and edit that, or use CCK to add multiple fields to the page generated...but it isn't a content type...any ideas?
alternatively, a way to call the page created into another page - so i decorate some other page, then 'call in' the vocab index like i would an image or anything else for insertion...
Comments
Comment #1
xanoHmm, could you please explain your thoughts a bit further? For instance: why exactly would you like to have the option to view CCK fields on the index pages?
Embedding index pages in other pages with vocabindex 1.0 can be done by calling vocabindex_view_page($path), where $path is the index page's path defined in the admin panel. The original index page will remain, but so far this is the best option until I have implemented something new. Note: you will have to include vocabindex.view.inc before calling this function.
Comment #2
xanoForgot to change status.
Comment #3
zilla commentedaha - what you've described solves this exact problem! but does vocabindex.view.inc requires 'views' or is it a file inside vocabindex (didn't see it)
Comment #4
xanoVocabindex does not rely on any other module than itself. Vocabindex.view.inc is a file in the vocabindex folder you have downloaded from drupal.org. That is if you're using 6.x-1.0. Vocabindex 5.x-1.0 does not use include files and therefore you won't have to include any file before using vocabindex_view_page().
Could you still shed some more light on your thoughts about CCK implementation?
Comment #5
zilla commentedsure - what i'm thinking about specifically is that your module may in fact be a simple and elegant solution to the popular 'business directory' request (search drupal and you'll see what i mean) - people want easily navigable directories of (for example) local businesses, and this module does it perfectly and makes it super easy and moron-proof
cck would or might allow for me to build the index page but also describe each category beyond a simple hyperlink - or add a header to a category page (which is in itself simply a vocab index page)
so instead of:
term1
term2
term3
a user will see a page like:
Title of page
block describing category (all local services)
term1 (e.g 'household services')
CCK: (count of number of entries in vocab, description of category like 'this includes cleaners, painters, etc...')
--term1/childterm1 (e.g. housecleaners / it's own page link)
term2 (e.g. 'local restaurants)
CCK (ditto, includes possibly toplevel summary of each category pizza/chinese/etc)
Comment #6
xanoAs far as I can see business directories are nothing more than a way to easily browse a category hierarchy? If that's the case vocabindex 2.0 might save the day for everybody who wants such a feature. I have started development for term index pages one or two weeks ago. If that's finished I will only need to add some minor features to make an index page look like this (example page provided by Michelle in one of the business directory brainstorm threads).
Thank you very much! Due to some extra features the 2.0 release won't be as extremely easy to use as the 1.0 release, but I'm doing my utmost to keep it as user-friendly as possible. If you would, please keep an eye on the 6.x-2.x development branch. In a while a new version should be committed which will feature term index pages (one of the reasons 2.0 won't be as easy-to-use as 1.0). I could use some tips on usability :-)
Term descriptions are already possible with the 1.0 releases. When a term has got a description it is automatically being displayed on the page, just like vocabulary descriptions. Descriptions are set at the Taxonomy admin page. Displaying the amount of subterms/nodes is not yet possible. I will put this feature on the to-do list for the 2.0 release.
Comment #7
zilla commentedvery cool - and duh, just realized taxonomy items aren't described with any text on my dev site, need to add that in there...
and this does solve the problem for the majority of folks looking for a simple auto-generated directory style site - it could also always be done manually, hard coding links into pages and stuff - which is great for sites that don't change much - in fact, one might be able to build a book as a directory, then insert or link to the vocabindex pages via the book structure in turn providing a couple of ways to navigate (e.g the nice little 'next' links in book structure, along with printing tools etc)
as for the next release, i'm happy to try it out and offer feedback - i've got it installed so should see it in the modupdate page i believe
Comment #8
xanoIssue seemed to be a support request rather than a feature request. Issuestarter knows the answer, so issue closed.