CMS Pages - Editeur de pages statiques v0.8

Release Notes:

CMS Pages ported to Elgg version 1.8.x (tested on 1.8.2).

 

This version has not been tested extensively, so please report any bugs/improvements in comments.

  • nice job!

    How do this plugin work like articles and Categories? thx

  • I don't understand your question ??   This is an admin tool aimed to build static pages that don't trigger notifications and allows unfiltered HTML.

  • Hi @facyla,

    cmspages is exactly the kind of plugin, I was looking for. Unfortunately, if I create a page and click on the cmspages:cmspage_url , I'll only get an empty page.
    Can you give me a hint, what's going wrong here?

    Thanks in advance,
    Thomas

  • Another thing:

    If I make any changes to an existing page, the page won't be updated. Instead, another page is created, with the same title and the new content.

    Thomas

  • Another bug:

    If I add users to the "additional editors"-list (cmspages:settings:editors), they won't see the CMS-Pages topbar-menu.

    There seems to be a bug in start.php, line 72:
      if ( (elgg_in_context('admin') || elgg_is_admin_logged_in())
        || (elgg_in_context('localmultisite'))
        || ((elgg_in_context('cmspages_admin')) && in_array($_SESSION['guid'], explode(',', elgg_get_plugin_setting('editors', 'cmspages'))))
        ) {

    If you compare it with line 82, you'll find that there's a && instead of || :
    if ((elgg_in_context('cmspages_admin')) || in_array($_SESSION['guid'], explode(',', elgg_get_plugin_setting('editors', 'cmspages'))) )  return true;

    Thomas




     

  • @ThomasR : (i missed your message, late reply..)

    I thought you were using it on a 1.5 or 1.6 install, but it seems you're using 1.8 version. That was only a quick port to 1.8, and was not enough tested yet.. Thanks for reports.

    FYI : I'm working on a newer version, which handles multiple level page templates, and some "configured views" such a search listing, entities selection criteria, entity display, and things like that ; these will enable this tool to build various rendering interfaces out of an intranet-configured Elgg, such as thematic blogs, etc.  combined with an other plugin. Well, it's not ready at all yet, but that explains why i won't take too much time on updating that first 1.8 release. Next will be probably out by the middle of the year (might be quicker if the project is funded...).

    I've added some light corrections to make the current release usable though :

    if I create a page and click on the cmspages:cmspage_url , I'll only get an empty page.

    checked, corrected : there was the "pg/" prefix in the link + bug in read page (missing "echo" before elgg_view_page.

     

    If I make any changes to an existing page, the page won't be updated. Instead, another page is created, with the same title and the new content.

    Also a bug in action "save.php" : corrected.

     

    If I add users to the "additional editors"-list (cmspages:settings:editors), they won't see the CMS-Pages topbar-menu.

    I had almost no occasion to test that one : i usually rewrite menus and never uses default ones.. According to my tests, it seems to be "functionnaly OK" : other editors can edit pages. For the menu itself, your suggested change should do the trick - i just don't have time to check right now.

     

    => Please tell me if the new version (0.8.1) works fine now ?

Florian DANIEL aka Facyla

Web strategy consultant, Elgg integrator and developer, collaborative tools trainer

Stats

  • Category: Site admin
  • License: GNU General Public License (GPL) version 2
  • Updated: 2014-11-17
  • Downloads: 3391
  • Recommendations: 10

Other Projects

View Florian DANIEL aka Facyla's plugins