Quote from: Lammikko at Mar 02, 2009, 04:41 AM
Qm is a real diamond but has couple rough edges. This is my approach to improve Qm: http://modxcms.com/forums/index.php/topic,33530.0.html
1. Thanks for ideas!
2. ThickBox is Good Idea!
3. Fixed must work in all browsers (fixed.htc included in package)
4. Enhances not disabled by default. They work BUT NOT FOR ADMINS (to test it you need to create new role and new user)!
To use enhances you need to insert special string in template description (not described in help).
To test more Qm functions (works where logged in user’s role is not Administrators!) You can do:
1. To set children template for some template just add to parent template’s description: {children=`10`}
Here 10 is ID of child template, you can use 10,11,12 to set few children templates. In manager template field will shown just children templates!
2. To switch QM mode for template add to template description string: {class=`unit`}
You can use three modes: unit (for object edition), doc (for documents) and set (for folders - parent of document/object set).
Every mode hides some tabs/fields (like ManagerManager for example).
This functions work for all users with role>1 (not admins)
To see this functionality you need to:
1. Create new role (manager for example) and create user with this role.
2. Login with this user and look how it work.
Examples for template descriptions:
House - {class=`unit` table=`realty` pagetitle=`%floors%-stage house`}
here table is name of shadow table for Quid, %floors% is TV floors that is used to autodesign Pagetitle.
Houses - {class=`set` alias=`houses` children=`17,21`}
This functionality is just experimental!
Lammikko, can I use your QM+ ideas/code in QM?
Sorry 4 english, I’m learning for...