Results 1 to 6 of 6

Thread: Back link not work on IE8 and Safari

  1. #1
    User PaoloB's Avatar
    Join Date
    06-19-09.
    Location
    Italy
    Posts
    238

    Default Back link not work on IE8 and Safari

    Hi
    i have use the gallery extension on my work

    I have see a bug. On IE8/IE7 and Safari browser, on the Gallery viewer, the back link not work. The link is to /none.
    On Opera and Firefox is ok.
    Paolo B.
    Contao ambassador
    ContaoCms.it - Sito di riferimento per la comunità italiana

  2. #2
    Experienced user
    Join Date
    06-10-09.
    Location
    Cape Town, South Africa
    Posts
    1,387

    Default Re: Back link not work on IE8 and Safari

    the back link is generated using the standard TL's referrer, this is TL specific and is provided to all developers as the correct way to reach the "back" button. If you are having problem, you could simply modify the TPL file for your gallery_full.tpl to display a link with a javascript action window.history(-1); instead of using the referrer link.

    I've had this problem with TL from many times before, so with various browsers and other situations the BACK link hasn't been consistent.

  3. #3
    User PaoloB's Avatar
    Join Date
    06-19-09.
    Location
    Italy
    Posts
    238

    Default Re: Back link not work on IE8 and Safari

    OK, thanks for the support

    have a nice day
    Paolo B.
    Contao ambassador
    ContaoCms.it - Sito di riferimento per la comunità italiana

  4. #4
    User
    Join Date
    08-04-09.
    Posts
    230

    Default Re: Back link not work on IE8 and Safari

    I am looking to place that javascript link in my gallery_fullsize.tpl...

    But I cannot trace the backlink anywhere.

    Why does the news template use the javascript backlink and the gallery another way?

  5. #5
    Experienced user
    Join Date
    06-10-09.
    Location
    Cape Town, South Africa
    Posts
    1,387

    Default Re: Back link not work on IE8 and Safari

    Actually the gallery's mod_galleryviewer.tpl template has an almost identical structure to the mod_newsreader.tpl template, so its pretty much equal.

  6. #6
    User
    Join Date
    08-04-09.
    Posts
    230

    Default Re: Back link not work on IE8 and Safari

    Thank you for your fast answer.
    I was looking in the wrong tpl files.

    But this is confusing me a bit more.
    Indeed the two templates are identical concerning the back link.

    However, with the gallery in front end it refers to "tl_files/scripts/sfhover.js" instead of the previous page. It is working fine for the news module.

    What could be the trigger for this behaviour?

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •