How to package content?

Events happening in the community are now at Drupal community events on www.drupal.org.
Posted by transmitter on December 24, 2010 at 4:12am

Hello,

I'm just wondering how I can get some content pages packed for my installation profile.
There are like 10 pages I want to release with the profile itself - I guess I do have to have them in an installtion and export them and then somehow import them.

Which module(s) should I use for that?
Any experiences?

Bye, Transmitter

Comments

Several options

Posted by ergonlogic on January 10, 2011 at 3:17pm

Your best bet is probably Profiler (http://drupal.org/project/profiler), which supports building nodes during install, as you define in your profile's .info file.

Other options I've seen include:
* building nodes in your profile (the hard way, since profiler makes it so easy),
* Features UUID Integration (http://drupal.org/project/uuid_features) should allow bundling content into a feature (I haven't tried it yet, but it looks promising),
* Feeds, Bones, and lots of other modules allow for pulling or building content, but present their own problems, such as properly placing content into menus (feeds), or programatically calling them from within the profile (bones).

YMMV...

Regards, C

Profiler seems to be nice,

Posted by transmitter on January 21, 2011 at 11:13am

Profiler seems to be nice, but I couldn't get the assoziation between menu links and nodes.

How about a hierachy? Can I do it with the my_profile_profiler.inc

menu-items[impressum][link_path] = node/1
menu-items[impressum][link_title] = Impressum
menu-items[impressum][weight] = 1
menu-items[impressum][menu_name] = menu-primary

How can I add something beneath it?

Beside this:
I combine profiler and features .. I assume there won't be any troubles with doing that?
At least, not problems yet. :)

Packaging & Deployment

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

AltStyle によって変換されたページ (->オリジナル) /