Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

DataObjectManager Module

Discuss the DataObjectManager module, and the related ImageGallery module.

Moderators: martimiz, UncleCheese, Sean, biapar, Willr, Ingo, swaiba, simon_w

Data Objects as Pages


Reply

850 Views

Avatar
Jonn

15 December 2010 at 1:48pm Community Member, 10 Posts

Hi All,

I've been following the tutorials on ssbits for some work I'm doing:

[url=http://www.ssbits.com/tutorials/2010/dataobjects-as-pages-part-1-keeping-it-simple/]DataObjects as Pages - Part 1[/url]

[url=http://www.ssbits.com/tutorials/2010/dataobjects-as-pages-part-2-using-model-admin-and-url-segments-to-create-a-product-catalogue/]DataObjects as Pages - Part 2[/url]

It's been extremely helpful so thanks to Aram for the information.

What I am now trying to do is to get the pages that are based on part 2 of the tutorial to show up in my sites navigation. There is a method for doing this in part 1 but obviously there is something I'm missing because using that code throws an error: : the method 'categorypages' does not exist on 'Product'.

Has anyone managed to get this working?