Brett's plugins:
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!
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)
Version 1.3(March 11, 2013 from https://github.com/brettp/anypage)
Comments
elggcellent! thanks
Thanks for the bugreport!
you are welcome. i have two ideas for enhancements here also:
Nice, thankyou.
Nice plugin! Recommended! :D
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)
https://github.com/brettp/anypage/pull/4
thanks, i'll paste the issue to github
is possible to put html code here? i tried and is not working
http://imgur.com/MCzxaQD
is working, sorry my bad
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:
becomes to
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...).
How can a form that users or visitors can fill and submit to database or email be deployed using this page?