CMS integrations: CMS -- where is it at?

CMS integrations: CMS -- where is it at?

John Gold發表於
Number of replies: 3
Can anyone tell me where development of the CMS is at? I tried installing it and it appeared to be successful, but I've run into two problems:

-- I can't find how to start setting up pages -- the only link to the CMS I can find in the admin pages is in the "Blocks" section and all it allows me to do is change multiple from yes to no, and to delete it;

-- And, now when I try to go to the "Site Settings" I get an error message:

Parse error: parse error, unexpected T_DOUBLE_ARROW in /home2/thornton/thornton-www/moodle/admin/site.html on line 37


So, I thinking maybe CMS isn't quite ready yet?

Or maybe I'm using the wrong version -- I think it is: 2005112001

Thanks,

John
評比平均分數: -
In reply to John Gold

Re: CMS integrations: CMS -- where is it at?

Janne Mikkonen發表於
Core developers的相片
You have slight programming error in you site.html file make sure that site options are exactly like:

$options = array(FRONTPAGENEWS => get_string("frontpagenews"),
                 FRONTPAGECOURSELIST => get_string("frontpagecourselist"),
                 FRONTPAGECATEGORYNAMES => get_string("frontpagecategorynames"),
                 FRONTPAGETOPICONLY => get_string("frontpagetopiconly"),
                 FRONTPAGECMS => get_string("frontpagecms","cms"));


- Janne -

In reply to Janne Mikkonen

Re: CMS integrations: CMS -- where is it at?

John Gold發表於
Ah -- Thank you Janne. I didn't integrate your code correctly.

But I still can't find where to begin setting up the CMS. Everything seemed to install correctly (cms and cms navigation) and there is a reference to the CMSNavigation in the blocks section of the Configuration, but nothing else.

Do I need to install anything else?

Thanks,

John
In reply to John Gold

Re: CMS integrations: CMS -- where is it at?

Janne Mikkonen發表於
Core developers的相片
No, you do not need to install anything else.

Did you assign menu for the block?

- Janne -

edit:
I usually use this sequence:
  1. coding changes
  2. visit http://my.site.dom/cms (which install database and block)
  3. back to http://my.site.dom/cms
  4. create menu
  5. create pages into that menu
  6. assign default page
  7. back to frontpage.
  8. add cms navigation block
  9. configure block and assign menu for it.
  10. visit adminstration page and change site layout to cms.

附件 nav_conf.gif