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

Thread: header section in flynax

  1. #1

    header section in flynax

    hello guys. can anyone tell me wich is the actual header for the script? meaning the one wich covers all areas. i have installed a scroll to top wich is working fine except in certain areas. for instance, in listing page or search page will not work and olso, if i change the language will not work? thanks

  2. #2
    msg me your site.

  3. #3
    Care to share Petrache?
    Free Advertising at Fyndklippet.se


  4. #4
    Quote Originally Posted by Morgan Bohman View Post
    Care to share Petrache?
    hello. what would you like to see? the scroll to top in action and where is not working?

  5. #5
    I have checked your site and I can see it is working with your language but not english. I was just curious to now how you did and where you got the resources.
    Free Advertising at Fyndklippet.se


  6. #6
    Quote Originally Posted by Morgan Bohman View Post
    I have checked your site and I can see it is working with your language but not english. I was just curious to now how you did and where you got the resources.
    i have used my previous implementation from opencart.
    you can use the data from here http://www.dynamicdrive.com/dynamicindex3/scrolltop.htm

    1. in templates/your_theme/tpl/header.tpl, before </head>, add <script type="text/javascript" src="templates/your_theme/js/scrolltopcontrol/scrolltopcontrol.js"></script>
    2. add scrolltopcontrol.js in templates/your_theme/js/scrolltopcontrol/ and make sure to adjust line 12 to point to your png file of scroll to top

    and so, we arrive at the things wich i have written in the original thread. since we have just 1 header and that should be the same for all the webpages in the website, why is not working in my default language in listing details page or the list/grid view of all ads and olso, why is not working in the second language (i suspect becouse the second language is like www.mysite.ro/en/ )

    if you need aditional details let me know
    Last edited by Petrache Nicolae; August 5, 2012 at 09:10 AM.

  7. #7
    When site is in english:

    "NetworkError: 404 Not Found - http://yoursite.ro/en/templates/realty_quiet_day/js/scrolltopcontrol/scrolltopcontrol.js"


    What means that page can't load the javascript because url is wrong:
    http://yoursite.ro/en/templates/

    url should be without en

    http://yoursite.ro/en/templates/

    So go to place where you adding your js file and change it to correct variable. to load files from template use {$rlTplBase} variable


    {$rlTplBase}js/scrolltopcontrol/scrolltopcontrol.js

  8. #8
    Quote Originally Posted by Mike F. View Post
    When site is in english:

    "NetworkError: 404 Not Found - http://yoursite.ro/en/templates/realty_quiet_day/js/scrolltopcontrol/scrolltopcontrol.js"


    What means that page can't load the javascript because url is wrong:
    http://yoursite.ro/en/templates/

    url should be without en

    http://yoursite.ro/en/templates/

    So go to place where you adding your js file and change it to correct variable. to load files from template use {$rlTplBase} variable


    {$rlTplBase}js/scrolltopcontrol/scrolltopcontrol.js

    Hello Mike. Have replaced the code in the header.tpl with
    <script type="text/javascript" src="{$rlTplBase}js/scrolltopcontrol/scrolltopcontrol.js"></script>
    and is working the same way.

  9. #9
    problem solved. has to be like this 2. add scrolltopcontrol.js in /templates/your_theme/js/scrolltopcontrol/ and make sure to adjust line 12 to point to your png file of scroll to top

    i didn't had / in front of templates and becouse of that was not working ok. now it works perfect in all website and both languages. can be sean at www.piese-laptop.ro. Thanks Mike

  10. #10
    Nice site deffinatly a few customisations there

+ Reply to Thread