Hi, I am trying to create separate blocks on my home page. These blocks will include some of the recently posted ads, but will be separated by the account type. My 2 account types are Dealer and Private. How would I code this?
Hi, I am trying to create separate blocks on my home page. These blocks will include some of the recently posted ads, but will be separated by the account type. My 2 account types are Dealer and Private. How would I code this?
Hello James,
If you want you may create a new ticket with your response and we will do it like small customization for you with minimal price.
Viktor,
Flynax technical department,
Best wishes.
Few main steps to get this done:
1. create necessary boxes and include template files , type of boxes - smarty code to include files is {include file="blocks"|$smarty.const.RL_DS|cat:"your_tpl_fi le.tpl"}
2. put tpl files to the templates/your_tpl/blocks/ directory and add code to them to print listings, something like
3. add php code to get listings,Code:Only registered members can view the code.
PHP Code:
Only registered members can view the code.