What does this do?

This module provides an additional contenttype when adding/editing pages.
With this contenttype users can create custom input controls in backend to the add/edit page area by just using additional params in the page template when calling the content.
That means you can display the content blocks as dropdowns, multiple select lists, checkboxes etc.
You can also display the content blocks in different tabs or group them in fieldsets.

It also adds ability to grant access of pages or single blocks only to certain users of the FrontEndUsers module and hide the content, replace it by the login form of the FrontEndUsers module or redirect to a specified page showing the login form or just redirect without doing anything else if the frontend user is not logged in or does not belong to a certain group.

Additionally pages can have a start and end date to activate/deactivate pages automatically.

The advanced content properties can be inherited from parent pages.

You can even use smarty logic in parameter values. That means you can use the result of a plugin, an udt or even a module or just the content of a global content block as parameter value to create dynamic values.

Notice: In some cases it is recomended to use the the {AdvancedContent} tag in template instead of the default {content} tag. (case sensitive)
e.g. the annoying message "Parameter [X] is not known by Module [Modulename]" can be avoided with it. (only affects the default content block at the moment)

How is it used?

After installation the module settings can be found in "Extensions->AdvancedContent".
Additionally you will have a new content type "AdvancedContent" available when adding/editing a page.

WARNING!
If you uninstall the module without reverting all pages of type AdvancedContent back to the default contenttype your CMSms won't work anymore!
Make sure to set all pages of type AdvancedContent back to default content or delete them before uninstalling! (use the module preference 'uninstall action' to do this automatically)

To use the modules functions use this content type and optionally add the following parameters to your content tag in your page template...

What parameters are available?

(all params are optional)

Default params:

(see also tag help of the default {content} tag)

Advanced params:

Params of blocktype "checkbox":

Parameter für Colorpicker: no additional parameters

Parameter für Slider: (see also documentation of the built in jquery slider plugin)

Params of blocktype "dropdown"/"select_multiple":

Params of blocktype "date":

Params of blocktype "multi_input":

Support

This module does not include commercial support. However, there are a number of resources available to help you with it:


Feel free report any kind of feedback.

Copyright and License

Copyright © 2010-2011, Georg Busch (NaN). All Rights Are Reserved.

This module has been released under the GNU Public License. You must agree to this license before using the module.

As per the GPL, this software is provided as-is.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Or read it online: http://www.gnu.org/licenses/licenses.html#GPL
Please read the text of the license for the full disclaimer.