Log in

Brett

Lead Engineer for Elgg Core

Project Info

Stats

  • Category: Tools
  • License: GNU General Public License (GPL) version 2
  • Updated: 2012-5-7
  • Downloads: 1975
  • Recommendations: 30

Other Projects

Brett's plugins:

AnyPage for Elgg 1.8

Add any page to your Elgg site

Last updated 100 days ago

AnyPage lets you configure site pages at any URL you want. You can use a text editor in the admin area to create content, or if you need more flexibility, specify that the page should call a custom view.

This plugin requires you to configure it. Two pages are created during installation as examples.

Note: Pages can be registered to override paths from core and bundled plugins. This is a shoot-yourself-in-the-foot feature that you should only use if you know what you're doing!

Release notes:

Quick release to fix the creation bugs in 1.3. Changes for both:

Version 1.4(March 12, 2013 from https://github.com/brettp/anypage)

  • Fixed page creation. Sorry!

Version 1.3(March 11, 2013 from https://github.com/brettp/anypage)

  • Added live path checking.
  • Cleaned up some language strings.
  • Added "Show in footer."
  • Moved check boxes to the left side of their labels.

Comments

  • ura soul ☯ 100 days ago

    elggcellent! thanks

  • Brett 100 days ago

    Thanks for the bugreport!

  • ura soul ☯ 99 days ago

    you are welcome. i have two ideas for enhancements here also:

    • add 'admin only' option for pages
    • add commenting option for pages

     

  • elgg!gal 99 days ago

    Nice, thankyou.

  • BillDre 91 days ago

    Nice plugin! Recommended! :D

  • ura soul ☯ 66 days ago

    i notice you didn't update the manifest to 1.4..

    and also i am seeing many of these in the elgg log:

    PHP WARNING: 2013-04-15 13:11:10 (CEST): "Argument 2 passed to elgg_extract() must be of the type array, boolean given, called in /mypath/mod/anypage/start.php on line 74 and defined" in file /mypath/engine/lib/elgglib.php (line 1589)

  • ura soul ☯ 66 days ago

    thanks, i'll paste the issue to github

  • Melvyn Gómez 30 days ago

    is possible to put html code here? i tried and is not working

    http://imgur.com/MCzxaQD

     

  • Melvyn Gómez 30 days ago

    is working, sorry my bad

  • iionly 18 days ago

    It seems a bit confusing to me that the "Visible through Walled Garden" option is only shown when the walled-garden is enabled. After all the state of this option is kept when you disable the walled-garden at a later point. Wouldn't it be better to show this option and the "Requires login" option both regardless of the walled-garden setting? Instead of hiding these options depending on the walled-garden state there could be added some explanation like "Visible through Walled Garden (if this option is enabled in the advanced site settings)" and a similar text for the "Requires login" option.

    It also seems to me that the Footer link is NOT added to the login page for an anypage when the walled-garden option is enabled (though it shows in the footer on other public pages including the anypage).

    Sidenote: in case anyone is using my Loginrequired plugin instead of Elgg's core walled-garden option. The anypages will work then, too. The only tricky thing is setting the "Visible through Walled Garden" option for your anypage as it will of course not be shown with the core walled-garden disabled. To circumvent this you can either set this option by temporarily disabling the Loginrequired plugin, then enable the core walled-garden option to be able to set the option. Then you can return to the Loginrequired plugin. Another possibility is to modify the anypage form anypage/views/default/forms/anypage/save.php line 54:

    <?php if (elgg_get_config('walled_garden')) { ?>

    becomes to

    <?php if (elgg_get_config('walled_garden') || elgg_is_active_plugin('loginrequired')) { ?>

    and the accessibility of the anypages from outside can be configured also with the Loginrequired plugin enabled (btw. the footer link will also shown on the login page...).

  • kxx4 7 days ago

    How can a form that users or visitors can fill and submit to database or email be deployed using this page?