I've created a module using taxonomy which creates vocabulary & terms. Now I want to make use of views to display various data in the module. In my appln there is a vocabulary for departments & 3 fixed terms : event, news & home. Using views I created 2 diff views for events & news for each dept.. Now I want to achieve this using my own module. Pls help.........................

Comments

vm’s picture

you can export the views and turn them into custom views modules. more info on this in the advanced help.module and over at the documentation site for views.

valaydesai_3’s picture

after i export the views i get some code.how to use that code in my module.

vm’s picture

more info on this in the advanced help.module and over at the documentation site for views.

handholding link = http://views-help.doc.logrus.com/help/views/api-default-views

valaydesai_3’s picture

i exported the views and got the function department_views_default_views...how do i call this function in my department.module file??