[Pro] how to make FW output only parts of a page....

This question is related to Expression Engine.
One methode of working with EE is to split up a page into several parts and combine them on demand on a ‘motherpage’ by using {embed} http://expressionengine.com/docs/templates/embedding_templates.html
Templates in EE can be whole pages, but also snippets of code. A header, a footer, the left-colum and so forth. I was thinking to mimic that in FW, just because of the complexity that sometimes comes along when building a dynamic page.
So. How to make FW output only one DIV that I draw on a page. No Doctype, no header tag etc. Just the code for that DIV. Any idea’s? Thanks!


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

This is what I use for this situation.

http://actionsforge.com/actions/view/11-templatehelper

It’ll output a new individual file rather than the main file, but if you’re doing embed tags this is typically the best way to do so. Then you can use the crowbar action to embed the code so it doesn’t allow FW to add paragraph tags.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

This Action may help too:

http://www.actionsforge.com/actions/view/133-php-make-insert-page


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Thank you, both.

I’ll try them, to find out which workflow is best for the plan I have.
:slight_smile:


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options