AIKI_VIEWS =============================== For views i added a new table:
aiki_views: Structure view_id view_name: views name. Will be used as id in relationship with other tables. Use only A-Z,0-9,_ view_site: name (site_shortcut) for site. view_active: 1 active, 0 inactive view_prefix: prefix in url view_short_description: short text (2 o 3 lines) view_description view_use_prefix : reserved for subdomain view_url : reserved for subdomain Example: ------------------------------------------------ view_id: 1 view_name: dark_night view_site: betadmin view_active: 1 view_prefix: dark ( so url will be aiki/betadmin/dark. Use short prefix, but clear name.) view_short_description: Dark Night, version 0.1 by roger margin. A awesome theme for... view_description: Here you can put a large description.. Notes: - i'm not using auto-increment id field for relationship, because i'm think in a dynamic site where you can import application, themes, site..etc. VIEW_PARSER ============ In widget html we have a new markup. I have choose this form, for two reason: homogenuos with (css( and it's easy to write and parse. (view( conditions : .... )view) Example: (view( dark_night: ...this code would only appears in dark view. )view) (view( */pl: ...this code would only appears in german (any theme) )view) (view( bluemarine dark_night: ...this code would only appears in bluemarine or dark theme )view) You can nested (view( block. View is one of the first parse, so you can't use other parse in conditions (view( <php strlen... php>: WILL NOT WORK ... )view) VIEW IN URL ------------- Aiki try to find in url site/view/language/rest... Site, view and language are optional, but if there are defined they must go in this order) Variable [view] have been added. [route] have been upadted.
_______________________________________________ Mailing list: https://launchpad.net/~aikiframework-devel Post to : [email protected] Unsubscribe : https://launchpad.net/~aikiframework-devel More help : https://help.launchpad.net/ListHelp

