cancel
Showing results for 
Search instead for 
Did you mean: 

Freemarker injections

mangar
Star Contributor
Star Contributor
I have set up my deployment receiver to deploy to an Apache/PHP hosted solution.  I am wondering if there is a was to do the freemarker rendering at deploy time.

Also, is there a way to do this with php (or any file really)  files. For instance, I have a banner.php, and it has some code. It also has a Message of the day type thing… Marketing wants to go into alfresco, change a template, it injects it into the PHP and deploys it.

Can someone give me a place to start?
2 REPLIES 2

mrogers
Star Contributor
Star Contributor
For static assets I'd suggest your first approach is to to render your content before deployment.   

Alternativly you could have your live web site link back and pull content out of alfresco at runtime.

Or you could have a post deployment step.

That's three options to get you started.

mangar
Star Contributor
Star Contributor
I think of those three, the first is what I want. How would I go about doing that? Are we talking web script or an custom action?

I am dealing with marketing people, not tech savvy at all.. so I would love a web form, then they press the deploy button, and then that's it…

Where would I start with that?