+ Reply to Thread
Results 1 to 8 of 8

Thread: Time left on grid

  1. #1

    Time left on grid

    Im trying to have Time Left from the shoppingcart plugin on the grid.

    The icon on the grid shows the time left but i want it outside the icon aswell so people can see it easy.

    Im using this code and the bids are working fine but the Time Left isnt working at all. How come?

    Code:
    Only registered members can view the code.
    Skärmavbild 2022-07-07 kl. 17.29.25.png

    The code from the grid_icon_featured.tpl
    Code:
    Only registered members can view the code.
    Last edited by Peter Jonsson; July 7, 2022 at 03:31 PM.
    Classifieds Site: Annonssida
    Other Site: SEO

  2. #2
    I don't have the plugin installed so can't check the codes but could try this.... may not work at all. The code from the icon has ID's in the class so just thought try adding those.

    Code:
    Only registered members can view the code.
    to

    Code:
    Only registered members can view the code.

    Like I say may not work I am just guessing.
    New Site: CameraSpecs https://bit.ly/3G4uYA6

    Old Site: MotorAdsUk

  3. #3
    I have tried with that already, didnt work

    Got it working with {rlHook name='tplFeaturedItemIcon'}
    BUT it messed up the theme.

    Where can i find the file or code for tplFeaturedItemIcon?
    Last edited by Peter Jonsson; July 7, 2022 at 06:47 PM.
    Classifieds Site: Annonssida
    Other Site: SEO

  4. #4
    Got it working now
    Classifieds Site: Annonssida
    Other Site: SEO

  5. #5
    Guru
    Join Date
    Jul 2019
    Location
    Australia
    Posts
    598
    I like what you did. Why could flynax not do something like this when the developer reworked the shopping/auction plugin?
    Boatfind.com
    Boatfind.com.au

  6. #6
    Quote Originally Posted by Peter Jonsson View Post
    Got it working now
    Looking good mate, glad you sorted it
    New Site: CameraSpecs https://bit.ly/3G4uYA6

    Old Site: MotorAdsUk

  7. #7
    Thanks, i like it
    Now i gonna start to promote my site as an auction site

    Skärmavbild 2022-07-07 kl. 23.01.20.png
    Classifieds Site: Annonssida
    Other Site: SEO

  8. #8
    Ok, so next problem.

    Want the div id to update every 1 second.
    Found this code in tpl. But it doesn't update my div at all but it works on listing details

    Code:
    Only registered members can view the code.
    The function
    Code:
    Only registered members can view the code.
    This is the div id i want to update
    Code:
    Only registered members can view the code.
    Anyone have any idea to get this id to update every second?
    Last edited by Peter Jonsson; July 8, 2022 at 08:10 PM.
    Classifieds Site: Annonssida
    Other Site: SEO

+ Reply to Thread