+ Reply to Thread
Results 1 to 9 of 9

Thread: How to show a block on a subpage of add-listing-process

  1. #1
    Senior Member
    Join Date
    Oct 2011
    Posts
    113

    How to show a block on a subpage of add-listing-process

    Hello,


    I had made a block with an instruction and tips of adding & editing photos.
    At the moment it is only possible to show blocks at add-listing-page with all subpages.
    The add-photo-page is only for existing listings.

    I would like to show more instruction blocks on separate process pages from add listing.

    Is it possible to add an existing block on subpages like: add-listing/category/add-pictures.html ?


    Hope you can help me.


    Thanks & best regards
    Andreas

  2. #2
    Just add the extra instructions to add_listing.tpl (search for <!-- add photo -->)

  3. #3
    Senior Member
    Join Date
    Oct 2011
    Posts
    113
    That would be a way, but only in one language. Its more comfortable to make one Block and to put it onto several pages. So if we made updates, every block will be up to date. Just adding static code to some site, we often need to change the code.

    It think it would great to have the possibility to add blocks on "add listing" subpages.
    Like infos about payment ways at select-plan-page etc.

  4. #4
    Check my site, I have blocks from add-listing and forward. Right now using them for adverts.
    Free Advertising at Fyndklippet.se


  5. #5
    Morgan, Andreas wants to have blocks only in specific steps of add listing process.

  6. #6
    Senior Member
    Join Date
    Oct 2011
    Posts
    113
    Yes, thats right.
    Just want to add some manuals or tips to the respective step.

  7. #7
    Quote Originally Posted by Riba View Post
    Just add the extra instructions to add_listing.tpl (search for <!-- add photo -->)
    This is right way to achieve this, only with conditions you may create different boxes for different steps.

    Easiest way without changes to the code is to create smarty box through your admin panel.

    Example how to separate information between steps in the box.

    Ap>Content>Content boxes >add box

    choose type smarty and put content like below

    Code:
    Only registered members can view the code.

  8. #8
    Quote Originally Posted by Riba View Post
    Just add the extra instructions to add_listing.tpl (search for <!-- add photo -->)
    Where can I find this .tpl file exactly?

  9. #9
    Flynax developer John's Avatar
    Join Date
    Oct 2009
    Posts
    577
    Quote Originally Posted by Frank Malefors View Post
    Where can I find this .tpl file exactly?
    Hello Junior,
    You can fine the file here: /templates/YOUR_TEMPLATE/tpl/controllers/add_listing.tpl
    Good luck!

    John

+ Reply to Thread