Hi Nancy, I very much like the look of your module and have had a quick experiment with it.

I was just wondering how it differs from creating a custom content type and then using views to generate a summary page for that node type (i.e. to generate a page like your site notes summary page)?

I guess maybe the differences will begin to show in later versions of the module (you talk about weighting and stuff ...) - or are they there now? - quite probalby I've missed something.

cheers

gpk

Comments

nancydru’s picture

Assigned: Unassigned » nancydru
Priority: Normal » Minor
Status: Active » Closed (works as designed)

Honestly, the only reason this module came into life is because the menu item wouldn't stay hidden unless it was created by a module. With a manually created content type (and, BTW, Views is not needed at all), and a manually created menu entry, when you are not logged on the menu item gets "promoted" to the primary links, making it accessible to anonymous users. Not exactly what I wanted.

The weighting and stickiness is there in the -dev version. It's stable, so give it a try.

gpk’s picture

Thanks Nancy,

Currently I have your module on my sandbox and the Views approach on a a development site where I am using Views anyway. Views lets me control access by role, hence gets round the menu issue, and I also have TAClite running so easy to restrict access to individual pages that way. Without all of this though would be much easier to use your module. (Arguably it still would be!)

>Views is not needed at all
So is it possible to create a "summary" page for a content type without using Views?? Apologies, this is getting off-topic(!)

Best,
gpk

nancydru’s picture

Are there ways this could have been doen without a separate module? Absolutely. But the site I originally did this for had neith an access control module nor Views. I know, some would have you believe that's not possible. But there are many simpler Drupal sites out there that simply do not need either. Hence, a solution like this is needed for some people. By the way if you look at the sizes of those modules, you'll see that Sitenotes is smaller than even TAC_Lite, not to mention the gargantuan size of Views. I've seen Views exports that are larger than Sitenotes just by themselves. So I would expect Sitenotes to be much faster and require much fewer resouces. But, in the end, it's always up to the site's designer.

So is it possible to create a "summary" page for a content type without using Views?

Yes, it is, and it's not hard. I don't know why this function was left out of D5 when they moved basic CCK into core. I would have thought they would have mirrored "taxonomy/term/xxx" with something like "node/type/xxx," but they didn't. http://drupal.org/project/get_content_type.

gpk’s picture

Thanks Nancy, that's all really helpful info, and you are right, sitenotes is kinda compact :-)

Taxonomy of course ... that would be the way to avoid Views ... and use a url alias to hide the geeky taxonomy/term/xxx url ... might hit your menu "visibility" problem though ... I probably don't need a 3rd way of doing all of this right now though, so I will leave that issue as an exercise for the reader!

Best,
Giles

nancydru’s picture

Status: Closed (works as designed) » Closed (fixed)