+ Reply to Thread
Results 1 to 10 of 10

Thread: How to show listing ID on Title & Listing Detail

  1. #1
    Senior Member
    Join Date
    Jun 2013
    Location
    Vietnam
    Posts
    157

    How to show listing ID on Title & Listing Detail

    Hi all,

    How to get the number end of listing URL and show it on listing title and listing detail without plugin?

    Ex:
    listing: http://auto.demoflynax.com/autos/bmw...0-used-21.html
    title: BMW M3 2008, $ 62,995.00, Used



    Now i want to show "BMW M3 2008, $ 62,995.00, Used Ref 21" (Ref or any text you want)

    NOTE: only show on SEO title

    Thanks,
    Nguyen
    Last edited by Nguyen Dat tai; November 12, 2013 at 10:42 AM.
    Nguyen Dat Tai
    Mobile: +84.909933020
    Web: www.dangbanxe.com

  2. #2
    Senior Member
    Join Date
    Jun 2013
    Location
    Vietnam
    Posts
    157
    I have added
    PHP Code:
    Only registered members can view the code
    after
    PHP Code:
    Only registered members can view the code
    and before
    PHP Code:
    Only registered members can view the code
    in listing_detail.tpl
    But it is not working!
    Last edited by Nguyen Dat tai; November 10, 2013 at 02:31 AM.

  3. #3
    Hello Nguyen Dat tai,

    Because title building in content.tpl file.

    Find code:
    Code:
    Only registered members can view the code.
    and replace to:
    Code:
    Only registered members can view the code.

    then find:

    Code:
    Only registered members can view the code.
    and replace to:

    Code:
    Only registered members can view the code.
    save and check again.
    Viktor,
    Flynax technical department,
    Best wishes.

  4. #4
    Senior Member
    Join Date
    Jun 2013
    Location
    Vietnam
    Posts
    157
    Hello Viktor,

    I mean I want to show ID on SEO title and listing detail page







    My listing http://www.dangbanxe.com/oto/chevrol...-2011-416.html

    Thanks,
    Nguyen
    Last edited by Nguyen Dat tai; November 13, 2013 at 12:51 AM.
    Nguyen Dat Tai
    Mobile: +84.909933020
    Web: www.dangbanxe.com

  5. #5
    Senior Member
    Join Date
    Jun 2013
    Location
    Vietnam
    Posts
    157
    Hello Viktor,

    I have added
    PHP Code:
    Only registered members can view the code
    to listing_detail.tpl and it's working.

    My heaer.tpl

    PHP Code:
    Only registered members can view the code
    How to add DBX_ID to SEO title of listing?

    Thanks,
    Nguyen
    Last edited by Nguyen Dat tai; November 13, 2013 at 01:07 AM.
    Nguyen Dat Tai
    Mobile: +84.909933020
    Web: www.dangbanxe.com

  6. #6
    Hello Nguyen,

    Please find this code in header.tpl
    Code:
    Only registered members can view the code.
    ad replace to:

    Code:
    Only registered members can view the code.
    save and check again.
    Viktor,
    Flynax technical department,
    Best wishes.

  7. #7
    Senior Member
    Join Date
    Jun 2013
    Location
    Vietnam
    Posts
    157
    Hello Viktor,

    If I add
    PHP Code:
    Only registered members can view the code
    Then the contact page

    title: Contact DBX

    and and all other static page

    Do u have any other solutions?

    Thanks,
    Nguyen
    Last edited by Nguyen Dat tai; November 13, 2013 at 09:15 AM.
    Nguyen Dat Tai
    Mobile: +84.909933020
    Web: www.dangbanxe.com

  8. #8
    Hello Nguyen,

    Exist condition :
    Code:
    Only registered members can view the code.
    This condition required.
    This condition means: use only for listing details page. For other page will be without ID. That's why you should use this condition or create other condition:

    Code:
    Only registered members can view the code.
    Try it.
    Viktor,
    Flynax technical department,
    Best wishes.

  9. #9
    Senior Member
    Join Date
    Jun 2013
    Location
    Vietnam
    Posts
    157
    Hello Viktor,

    I have added
    PHP Code:
    Only registered members can view the code
    It's working now.

    Thank for your support.

    Nguyen
    Nguyen Dat Tai
    Mobile: +84.909933020
    Web: www.dangbanxe.com

  10. #10
    Happy to assist you.
    Viktor,
    Flynax technical department,
    Best wishes.

+ Reply to Thread