Advanced Layout Functions

It is possible to render blog, news and listings with any layout you wish. It could be on the home page maybe using the one page scroll system you wish to render the news but require a specific layout. Or maybe you wish to add a page that uses a certain layout to render the data.

This requires use and knowledge of the placeholders system.


For news & Blog type results
The reference placeholder can be simply copied from the layouts page or layouts selection dialog window  the string is automatically created.

Listings results using custom layout
This requires a bit more setting up. In the placeholder string we will need 2 reference ID's. The category of listings and the layout we require.
On the layouts page we have the string as follows

$show-A-custom1Col[00000XXXXX][00000YYYYY]$

We need to replace the string 00000XXXXX for the category we require. The 00000YYYYY is the layout ID replacing the Y's for the correct ID. This can be found on the categories edit page make sure and copy exactly the numbers between the brackets otherwise the data will not be picked up. The correct numbers of characters between the square brackets needs to add up to 10. A completed example as below:

$show-A-custom1Col[00000XXXXX][00000YYYYY]$


Listings results using preset layout
This requires a bit more setting up. In the placeholder string we will need 2 reference ID's. The category of listings and the layout we require.
On the layouts page we have the string as follows

$show-A-preset1Col[00000XXXXX][00000YYYYY]$

We need to replace the string 00000XXXXX for the category we require. The 00000YYYYY is the layout ID replacing the Y's for the correct ID. This can be found on the categories edit page make sure and copy exactly the numbers between the brackets otherwise the data will not be picked up. The correct numbers of characters between the square brackets needs to add up to 10. A completed example as below:

$show-A-preset1Col[00000XXXXX][00000YYYYY]$






Updated on: 25/10/2015 10:42:08
 
How Helpful was this article
1 Votes Cast
 
 
0 Comments