Joomla Flexicontent Anywhere is a plugin for your Joomla 2.5 allows you to insert Flexicontent article rendered with its default template or any items' fields into any place of your pages.
NB! Use FlexiContent version >= 2.0.1 only. Versions 2.0.0 and older have bugs critical to current plugin functionality.
Here are cases how you can use it:
Insert Flexicontent item into an article. Paste this code in your article's content:
{flexi:35}
"35" is ID of the article to display. Substitute your own one.
Insert Flexicontent item's field into an article. Paste this code in your article's content:
{flexi:24:my_field}
"24" is your articles ID, "my_field" is machine name of your Flexicontent field owned by the item. Substitute your own values.
PRO. You can display a list of items by getting their IDs via SQL request. Here is example, showing the last 3 items of type "blog-post":
{flexisql:SELECT c.id FROM #content c JOIN #flexicontent_items_ext f ON f.item_id = c.id JOIN #_flexicontent_types t ON t.id=f.type_id WHERE t.alias='blog-post' ORDER BY c.created DESC LIMIT 3}
Also you can use pager adding this parameters like this: flexisql(10,someclass):... Where "10" is items count on one page, "someclass" is CSS class applied to pager.