Closed (fixed)
Project:
Custom Page
Version:
6.x-1.9
Component:
Documentation
Priority:
Minor
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
7 Feb 2011 at 10:11 UTC
Updated:
23 Feb 2011 at 08:10 UTC
Hi,
this may sound funny but I feel like this module is of great use for me but I can't figure out exactly how. Are there use cases someone can point me to? I see what context_layout can do and use it a lot but don't quite see the advantage here where only the content area is filled up. Please enlighten me!
Thanks in advance.
Best regards,
Björn
Comments
Comment #1
emackn commentedThe project page, http://drupal.org/project/custompage, talks about features, theming and a quick comparison to Panels.
Do you have specific questions?
Comment #2
dreipunktnull commentedThanks for your feedback.
Panels allows for full pages to be arranged whereas custompage only handles the content area. I was wondering how I can benefit from this like showing menus or blocks in the content area. Maybe I don't get it at all but if I create a custom page and like to show nodes or parts of them on it I would have to hard code their nids in my custompage.tpl.php as the page is bound to a url?
I think a real life example would help my a lot.
Thanks again in advance.
Comment #3
irakli commentedYou don't have to hard-code nids, you can include nodes using titles as well, or define environment-specific nids as settings.php/virtualhost variables. When content items support machine_names, Custompage will support that too, so it will be even easier.
One use-case of custompage that we employ a lot is as a HTML cut-up tool for designers and themers, so they can theme pages and blocks inside drupal, rather than send back-n-forth zips of offline HTML.
Another use-case is theme-layer embedding (in tpl) of nodes, menus or views anywhere you want.
Comment #4
dreipunktnull commentedOk, thanks for explaining. I think I get it now.