Feature proposal #5529
closed
Great idea, although I would already plan for unlimited views (user defined ones as well, like e.g. different registration forms).
Another idea could be a possibility for an IF substitution based on Joomla menu (itemid) ?
That way the same page, accessed from different menus (protected by Joomla ACL) could give different informations.
- Target version changed from CB 2.0.12 to CB 2.0.13
We could just implemented support for conditioning _REQUEST values like CB Auto Actions allows. Example of how that may work as follows.
[cb:if view="userlist"]Userlist[/cb:if]
Basically add the Input array to the extras substitution array and it should automatically work. This handles itemid conditioning, view conditioning, or even views that condition based off a specific value in the url, etc..
Additionally we should look into ELSE and ELSEIF support. Example as follows.
[cb:if view="userlist"]Userlist[cb:else]ALL OTHER VIEWS[/cb:else][/cb:if]
- Target version changed from CB 2.0.13 to CB 2.0.14
- Target version changed from CB 2.0.14 to CB 2.0.15
- Target version changed from CB 2.0.15 to CB 2.1
- Status changed from Assigned to Resolved
- % Done changed from 0 to 100
Implemented in MR !1165
This is really only needed for Fields usages.
- Status changed from Resolved to Closed
Also available in: Atom
PDF