+ Reply to Thread
Results 1 to 3 of 3

Thread: Seperate Recently Added Blocks by Account Type

  1. #1
    Junior Member
    Join Date
    May 2013
    Posts
    2

    Seperate Recently Added Blocks by Account Type

    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?

  2. #2
    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.

  3. #3
    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

    Code:
    Only registered members can view the code.
    3. add php code to get listings,

    PHP Code:
    Only registered members can view the code

+ Reply to Thread