Once a website has been published on the Internet, there may be times when somebody other than the original author needs to update some parts of it. It may be the client for whom the website has been created, or members of an association who want to keep their website updated constantly with the latest news and events. Authorized users must be able to update certain parts of the website directly online, without necessarily having a copy of the program and/or project files, and without changing other sections or altering the overall graphic layout.
WebSite X5 makes this possible with the Dynamic Content Object. The website author can use the Dynamic Content Object to authorize named users to make changes to specific areas, whilst maintaining control over the project as a whole. This possibility offers two clear advantages:
▪ | the author saves time by delegating on-the-spot updates to others; |
▪ | the website is kept constantly updated. |
To set up a Dynamic Content Object you must first define the Users, or User Groups, who will have permission to change the Object's contents. A list of the existing groups and/or individual users can be seen in the Groups/Users section. Click on the groups/users you want to enable to modify the contents of the Dynamic Content Object so that a tick appears next to their names. Remember that enabling a group and enabling all the users in a group is not the same thing! Only in the first case, if you enable a group, and subsequently add other users to it, the new users will be automatically enabled to update the contents of a Dynamic Content Object.
The Dynamic Content Object has the following Properties:
|
In the Saving Data section you can indicate how the contents added by users enabled to change the Dynamic Content Object are to be saved:
If you choose Send data to a file as data storage method, you need to:
If, on the other hand, you select Send data to a Database, you don't need to report any parameters.
Once you have set the parameters for configuring the Dynamic Content Object, click on the Preview button to display the website in the built-in browser. In the page that opens, instead of the Dynamic Content Object, you will see an invitation to write your text. If you move the mouse over this area, the space taken up by the Object is shown by a dotted line. Click inside this area to display the text editor with which to write your contents for this Object (a default text is shown and can be changed). |
For this Object to work correctly, the page it is inserted in must be saved as a .PHP file. Use the File Name Format option in the Page Properties | Expert window to specify page formats. |
In the Dynamic Content Object section of the online Control Panel, you can display a list of all the Dynamic Objects that have been added to the website: if you want to edit the contents of one of these Objects, click on its name to open the page where it has been inserted and make your changes. |