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

Thread: Display Text on post ad page...

  1. #1

    Display Text on post ad page...

    Hi,

    I would like to add text to post ad page of a certain listing type.

    Ex: On the fashion listing type (post ad page) I would like to have a line of text above the radio buttons on the post ad page for the fashion listing type. How can I do that? I have found that by adding the text to the /tpl/block field.tpl if not mistaken, (I removed it earlier) and it worked, but it was showing in more than one spot on the page. Inside a loop? Which template should I be putting the message.
    Thank you - Your Welcome
    Brian

  2. #2

    Post

    Sorry, for always misunderstanding you but, I'll try again:

    Admin Panel > Content Boxes > + Add a Box (button) > Box type > HTML > Show Box On (choose location) > Show in categories (choose categories or category).

    However, I think you are looking to add text to a more specific location?
    Last edited by Joe Can; February 10, 2021 at 04:24 PM.

  3. #3
    Sorry I wasn't specific...

    I have tried:

    Code:
    Only registered members can view the code.
    I can confirm that fashion_clothing is the key.

    But nothing displays. Can you adjust that code to make the text clothing for... appear on the post ad page for the listing type fashion and category clothing.

    Brian


    Quote Originally Posted by Joe Can View Post
    Sorry, for always misunderstanding you but, I'll try again:

    Admin Panel > Content Boxes > + Add a Box (button) > Box type > HTML > Show Box On (choose location) > Show in categories (choose categories or category).

    However, I think you are looking to add text to a more specific location?
    Thank you - Your Welcome
    Brian

  4. #4
    Flynax developer Rudi's Avatar
    Join Date
    Dec 2014
    Location
    Planet Earth
    Posts
    3,138
    Use $manageListing->listingType.Key like:

    Code:
    Only registered members can view the code.

  5. #5
    Rudi,

    That did not output any results.

    Quote Originally Posted by Rudi View Post
    Use $manageListing->listingType.Key like:

    Code:
    Only registered members can view the code.
    Thank you - Your Welcome
    Brian

  6. #6
    Flynax developer Rudi's Avatar
    Join Date
    Dec 2014
    Location
    Planet Earth
    Posts
    3,138
    use correct listing type key instead of 'fashion_clothing'

    or I don't get your idea

  7. #7
    Rudi,

    I think I know what might be the problem. I think it's because I just want to display that text inside the category, but ONLY that category, not the entire listing type, including all categories. Even though the text did not display, I think that's why I am having issues on this. So I just want to display the text inside the clothing category, no where else.

    Quote Originally Posted by Rudi View Post
    use correct listing type key instead of 'fashion_clothing'

    or I don't get your idea
    Thank you - Your Welcome
    Brian

  8. #8
    Quote Originally Posted by Rudi View Post
    use correct listing type key instead of 'fashion_clothing'

    or I don't get your idea
    Rudi,

    Maybe I have some more details on this issue that can help you figure it out...

    1. fashion_clothing is the key for the category under the fashion listing type
    2. clothing_for is a field type
    3. in the name box for clothing for field type I have Clothing for a...

    How could I display the name field in the clothing for field type in the clothing category on post ad page?

    See screenshot, of course the text will be bigger and the spacing will be added.



    I hope that makes sense.
    Attached Images Attached Images
    Thank you - Your Welcome
    Brian

  9. #9
    Flynax developer Rudi's Avatar
    Join Date
    Dec 2014
    Location
    Planet Earth
    Posts
    3,138
    Ok, for specific category use:

    Code:
    Only registered members can view the code.

  10. #10
    Rudi,

    Sorry for late reply. I put that code in the field.tpl template, and it's looping the output. How can I get the code out of the loop? Which template should I put the code?

    Brian

    Quote Originally Posted by Rudi View Post
    Ok, for specific category use:

    Code:
    Only registered members can view the code.
    Thank you - Your Welcome
    Brian

+ Reply to Thread