I just need some help with the syntax of a tab I need to add in my application. I already have an existing actions.ini file which shows other actions and views in my application. The app is a change management system and one of the fields I have is ImplementationStartday which is a Date-Time field. I want to create a shortcut wherein my users can click on a tab and it shows "changes for today" and another tab that shows "changes for tomorrow". Since my ImplementationStartday field is date-time format, I need to extract only the date portion. How might the construct be? What would be the structure of the URL portion? I was thinking in the lines of the one below but I cant get the exact syntax. Also how would I represent "tomorrow" -- i.e. (today()+1?:
- Code: Select all
[changes_for_today]
category=table_tabs
url="{$site_href}?-table=ChangeRecord&-action=list&-mode=list&Date(ImplementationStartDay)=today()"
condition="$query['-table'] == 'ChangeRecord'"
permission=list
order=3
Thanks very much.