Hi Folks,

Just getting to grips with how ELMS is "glued" together. Got myself a bit confused (bet you've heard that before :)) I am trying to create a new front page. I looked at the Content types and sure enough there is every drupallers beloved "page" type. But when I try to create a new page I get a 301 redirect!! I take it this is by design? Or have I screwed up the installation? I see the current spaces and feature modules seem to be controlling the current front page, but for the life of me I can't seem to find out where to change it.

Anyone got any clues?

Thanks in advance!

CommentFileSizeAuthor
#12 2012-06-18_0953.png46.76 KBbtopro
#11 contexts.png20.62 KBludo1960

Comments

btopro’s picture

Version: 6.x-1.0-alpha6 » 6.x-1.x-dev

Ok I see the issue...

Page is under the control of Feature ELMS Content. Page is told that it is ONLY allowed to be posted in a group. Not even user 1 can overrule this type of setting because that would be allowing them to post to an area that is deemed illegal. The way to do this...

Make a new content type called like site_page or something of that manner, this is how pages were added to the elms.psu.edu site when I used to do active development at that address while using it for promotional purposes. Make a page by itself, then go to path "features". This should allow you to override the defaulted front page value and you can set it to the node/{nid} that you just created.

Bumping this up to dev as this is true in all versions of the codebase.

ludo1960’s picture

Thanks for reply, created my new front page (node/259) works a treat! Soon I will be an ELMS Ninja!

Thanks again Bryan!

btopro’s picture

Status: Active » Fixed

any blogging, review, video, or social posts about your experience are appreciated!

ludo1960’s picture

Hmm, spoke to soon, where's the link to admin/build/blocks page. Has that been strongarmed too? Can't position my menu block eek!

btopro’s picture

Context module replaces block screen. much easier to criteria match block placement drupal.org/project/context and will be core in D8

ludo1960’s picture

ok gotchya! Thanks Bryan. Hope this helps other new comers to ELMS. All looking good now after a slow/confusing start, getting to grips with things!

btopro’s picture

If you've used open atrium the architecture is extremely similar. In fact, many of the features included with atrium in the atrium_features folder are compatible with ELMS (and visa versa).

ludo1960’s picture

Thanks for the info, all good stuff to know!

ludo1960’s picture

Ok, so I added a few site-pages and created a menu for them. Using the context module I added a condition Node Type = site-pages and a reaction Block show my menu in the superfish region. But it won't show up. I am using the default theme and have tried adjusting the weight but to no avail. Something must be overriding my context conditions, not sure what to try next as I thought that would work?

btopro’s picture

hmmm... clear cache? Also please provide a screenshot of the context page and I can take a look. Sometimes the name of the region is not cross theme compatible (current goof with using an admin theme with the context module). In context, if u click on the settings tab you CAN re-enable the block module though it's probably a performance hit. I was able to make a context condition like you mentioned for elms.psu.edu as that "promo site" runs ahead of an install of elms.

ludo1960’s picture

StatusFileSize
new20.62 KB

Seems when I enable the context it does not save and defaults back to disabled (should there be a save button on the context form?)

btopro’s picture

StatusFileSize
new46.76 KB

No that looks active. Can I see the way you have the context itself structured? Also there might not be a superfish block region, have you tried putting blocks in left right content and header to see which ones will show up? Not sure which theme your using for the front facing site.

This is how I had it setup on the elms website to get a promo site in place

ludo1960’s picture

Thanks again Bryan, clearing the cache didn't help, but when I visited the theme settings page (thus clearing the theme cache) it all started magically working.....weird! :)

btopro’s picture

Drupal advantage and cache curse at times :)

Keep the questions coming

ludo1960’s picture

Don't you fret yourself about more questions! :) Gotta a biggy coming your way soon...

btopro’s picture

Component: User interface » Code
Status: Fixed » Closed (fixed)