Call directory in blocks for sperate content types (one directory per content type)

lavuunit - January 30, 2009 - 09:32
Project:Directory
Version:6.x-1.0-alpha1
Component:Administration
Category:support request
Priority:normal
Assigned:lavuunit
Status:active
Issue tags:block, Content type, directory per content type
Description

Very nice module, simple and powerfull.

I have a site with search on different content types (all linked to shared taxonomy vocabularies). I would like to call in different blocks the Directory module each time for only ONE content type, but in each block a different content type.

For all defined content types, I can do it with the code

<?php
print directory_page()
?>
, but not while restricting to one content type.

How can this be done ?

#1

szermierz - February 17, 2009 - 10:47

I am thinking of such an idea as well. An example would be a site front page where possibly there is a Block in the Top Content which may be Knowledge Base Directory and possibly underneath that another Block which might be something like a FAQ Directory.

Any case where you may set a Directory in a Block and possibly have more than one Directory.

#2

szermierz - February 17, 2009 - 10:57

Even without the Directory for Blocks deal I want to say that the Directory Module is really fantastic. It's simple, concise, intuitive and delivers BIG TIME. And it's stable across the versions it supports. I really REALLY like it.

 
 

Drupal is a registered trademark of Dries Buytaert.