+ Reply to Thread
Results 1 to 5 of 5

Thread: Post date in listing detail page on top?

  1. #1

    Post date in listing detail page on top?

    Hi Flynax dev,

    The posted date always show at the bottom of the first common field group

    Screen Shot 2018-02-07 at 11.46.40 AM.jpg

    How can I reposition it to top just after the ID number field? I tried to look at the listing_detail.tpl in templated file but I couldn't find anything

  2. #2
    Flynax developer Rudi's Avatar
    Join Date
    Dec 2014
    Location
    Planet Earth
    Posts
    3,169
    Hello,

    make sure that on your listing form builder the first field is placed in field group
    or
    insert this code where you need in listing_details.tpl:

    Code:
    Only registered members can view the code.

  3. #3
    Quote Originally Posted by Rudi View Post
    Hello,

    make sure that on your listing form builder the first field is placed in field group
    or
    insert this code where you need in listing_details.tpl:

    Code:
    Only registered members can view the code.
    Yes Rudi, I put 4 listing fields in the common group fields so they are divided in 2 columns like in screenshot above. The posted date always stay at the bottom of the 4 fields, and I cant change it since it does not show in building listing form. I want the post date to show on top of the 4 fields I added in the common field group. Can we do that?

  4. #4
    Flynax developer Rudi's Avatar
    Join Date
    Dec 2014
    Location
    Planet Earth
    Posts
    3,169
    Ok, try to do the following:

    go to includes > classes > rlListings.class.php > getListingDetails > find a code:

    PHP Code:
    Only registered members can view the code
    and replace it by:

    PHP Code:
    Only registered members can view the code
    then insert the code from my previous post into listing_details.tpl where you need


    also make sure that 'posting date' option is enabled in AP > Common > Basic Settings > Listings > Posting date in listings
    Last edited by Rudi; February 8, 2018 at 03:13 PM.

  5. #5
    Thanks, Rudi.

+ Reply to Thread