Some Plone tips
To add a tab in the green tab bar, go to portal_actions/object and add an action.
Some useful expressions:
- string:${context/portal_url}/folder/document
- python:portal.restrictedTraverse(‘@@plone_context_state’).current_page_url()==”testurl”
Note the python expression portal.restrictedTraverse allows python expressions/scripts to access the new browser views