ad page with just attributes
Permalink
i need a registered business to be able to go to the page he wants his business listed on (via pagelist). click add my business "actually add subpage". then input the attributes that will appear on the new sub page "name, address, image, etc". the business can edit his pages attributes anytime by visiting his page and (edit or update??). only the creator of the page can edit his page. Is their a simple way to do this?
Is the petson who created the page the one who can edit it?
I'm no too sure about the users inputting their OWN new attributed, but you can definately fill up a BIG list of selectable ones, then give the users access to page properties, where they can select the ones they want to use!!
I'll translate. Is the person who created the page the only one who can edit it?
yes, it can be done that way... give access to page owner... set up initially in the page type defaults. then the permissions are carried over to each new page and whoever creates it is the owner ;)
You could use Magic Data with Magic Data Templates.
Add attributes to the page and grant the user permission to edit those attributes. In the page, use a Magic Data template for a content block (or create a template for any other block), then use Magic Data tokens and placeholders in the content for where you want the page attributes to be inserted.
For example, if you have an attribute called 'what_about', you could have content like:
++++
This page is all about [%PAGE ATTRIBUTE what_about%].
----
You are not limited to page attributes, the symbols already cover a much greater scope and (with a little php) are easily extendible.
This wouldn't be a complete solution, just a means of adapting content to attributes.
Add attributes to the page and grant the user permission to edit those attributes. In the page, use a Magic Data template for a content block (or create a template for any other block), then use Magic Data tokens and placeholders in the content for where you want the page attributes to be inserted.
For example, if you have an attribute called 'what_about', you could have content like:
++++
This page is all about [%PAGE ATTRIBUTE what_about%].
----
You are not limited to page attributes, the symbols already cover a much greater scope and (with a little php) are easily extendible.
This wouldn't be a complete solution, just a means of adapting content to attributes.
Click the "Settings" button to add all your custom attributes to that page type as a default.
Click "Defaults" to add any default blocks etc to the page and set some basic properties.
Hope that helps!