I’ll herby try to give this a shot in the hope that some of your already existing action-skeletons may fit.
As you maybe (or not know) I’m trying to build a template theme for WordPress using FreewayPro. On the „design-level“ I am not unhappy so far but now it is for the „basic-root“ which will mean to figure out the best way to re-use the created partials by template-helper action.
Basically, I need a way to create a php page in FreewayPro that should look the following way:
By this means that the action has to „kill“ all FW generated content (destructive) first.
In the next step, it should allow slightly to add the required content which is:
1. PHP comment
Within this comment I could think of form fields such as name/value pair which allow to enter „Template Name“ : „Articles“ and print it in php commenting way.
2. get the header
This is default WP requirement and if it is WP related necessary. To make the action more re-usable for other purposes, I could think of „activate“ check if wanted.
3. the php include partials
This is the include of the created partial(s). The path is:
This would be cool to have maybe a „choose file“ possibility that automagic figures out this path (I know - perhaps a bit too much).
4. get sidebar and footer
as no 2 a WP specific requirement. If used for WP activate if not leave it.
5. Using this action for other purposes
If all „requirement-sections“ are to activate/deactivate I could even think of an additional „custom-markup“ field. A brief wrap how the action-interface could look is enclosed:
Unfortunately I can’t write any line of code (only copy, paste and sometimes adjust with much luck).
Does it look achievable and even re-usable for other purposes?
actionsdev mailing list
Update your subscriptions at: