<< Creating Bookmarks || Class Tree View >>

Object Folders


  

If a class has been defined to be a hierarchical one on its creation, there is the possibility to create a folder by clicking on the “Create New Folder” icon . The following screen only consists of one field, asking you for the name of the folder.

Folders in spunQ are not only useful for keeping your classes tidy, but also – and mostly – for grouping objects according to certain criteria for different usage in the frontend. In your image class, you might for example store all pictures belonging to a gallery module in one folder while images related to current events in another one. This will allow you to select the images you need by calling the frontend's getStructureObjects() method.

When you are inside a folder, you may change its name and enter additional information by pressing the “Edit Folder” button. You will find it in the header of the folder objects, next to the “New Class Object” icon. The additional fields you will get are the unixname and a short description. The unixname field might be helpful in the case the folder name contains special chars or spaces. If you want to create nice URLs in the frontend containing folder names, you should provide a clean unixname which can be used for that purpose.


Tags

User Interface

Related Subjects

>> Relations between Objects
>> DB Config - Creating Classes

Do you need additional information?

Pose your question

Search