+ Reply to Thread
Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: add listing button smarty code

  1. #1

    add listing button smarty code

    i want to add the (add listing button) to the top of all pages in mobile view what the smarty code should i use
    i will just copy paste the smarty code to top pages to show the button directly when user open website from mobile

  2. #2
    Any help getting this button?

  3. #3
    A simple way, is using header banner. you need to install banner plugin for this solution.
    please check it with demo version and if you liked it, do it for yourself
    just go to Demo version admin panel ->banners and edit header banner, then select "Banner type" as "Html" and put below code at the "Html" box.
    Code:
    Only registered members can view the code.
    Attached Files Attached Files
    Last edited by Bahram Soltanirad; October 12, 2017 at 12:20 PM.

  4. #4
    thanks alot
    but i want the snmarty code because my site is multi locations
    so

    it could be www.domain.com/usa/addlisting.html

    www.domain.com/ru/addlisting.html

    Quote Originally Posted by Bahram Soltanirad View Post
    A simple way, is using header banner. you need to install banner plugin for this solution.
    please check it with demo version and if you liked it, do it for yourself
    just go to Demo version admin panel ->banners and edit header banner, then select "Banner type" as "Html" and put below code at the "Html" box.
    Code:
    Only registered members can view the code.

  5. #5
    Ok...i understood your mean.

    I suggest you this solution:

    Find below code at templates/content.tpl
    Code:
    Only registered members can view the code.
    put the following code just above it (i tested with general_simple template) or any other place you like:

    Code:
    Only registered members can view the code.
    Last edited by Bahram Soltanirad; October 14, 2017 at 06:45 AM.

  6. #6
    thanks alot for your help

  7. #7
    No problem, and i forgot about your request about mobile view.
    Please use the following code at the same location, if you like to show the button only in mobile version.
    It shows 'add a listing' button only in mobile/tablet view.

    Code:
    Only registered members can view the code.
    Last edited by Bahram Soltanirad; October 16, 2017 at 07:54 AM.

  8. #8
    thanks again and again you are genius

  9. #9
    Senior Member
    Join Date
    Sep 2014
    Posts
    125
    Can this work on verson 4.6? I want to try it tooo, seems like. please check this post, i think you can help me http://forum.flynax.com/showthread.p...Listing-Button

  10. #10
    Quote Originally Posted by Godwin Agbavor View Post
    Can this work on verson 4.6? I want to try it tooo, seems like. please check this post, i think you can help me http://forum.flynax.com/showthread.p...Listing-Button
    I don't have version 4.6, but it should be. I changed the code to show correct caption and title for multi language sites.

    Code:
    Only registered members can view the code.

+ Reply to Thread