Take the "Direct" Route

Oct 24, 2014 3:19 pm

There is a method you can use to cause Freedom to output ONLY the content that would be rendered in the [[content]] tag. If you add " &direct=y " to the freedom url you are requesting, the resulting output that is returned consists only of html. This can be very useful, especially when you want to make ajax calls to pull information into a page, but you don't want the server to send back all the trappings of the page you are requesting (style-based images, css, etc).

For example, here is a link to this Forum, using the " direct=y " variable:
http://accrisoft.com/index.php?src=forum&direct=y

If there's interest in seeing practical implementations of this method for making ajax requests, I'll be glad to elaborate further.