Hello,
regarding name links attributed to menu items of a "One page" template, two very annoying anomalies:

1) Why link name (after the sharp #) doesn’t take the name of the menu item?
In my case I have the following menu items: "benessere abitativo", "pacchetti", "passione ed esperienza", "contatto"

They are all replaced by the following links: #home-link, #grid2-link, #grid3-link #grid4-link ... semantically it's a mistake. How to replace them with the real names of the menu items?

2) Another thing: their positioning is not precise. If I type https://progetto-capuani.iorbita.net/#grid3-link the positioning is not done at all or it’s very random. I noticed the menu item remains stalled on the first menu item, it doesn’t follow the menu item. You can notice it on your demo templates because the problem is present on all your "One Page" templates.

Could you fix this please?

Many thanks,

Lorenzo

    iorbita Hi. For the first issue I think best will be to change the names using a small script like:

    <script type="text/javascript">(function($) {$(document).ready(function() {
    $('#grid2-link').attr('name','pacchetti')
    });})(jQuery)</script>

    this is something to try. I'm not sure if it doesn't need to be changed on php level.

    for the second problem can You please provide a screenshot? I can see it working fine, but indeed the beginnign may be under the menu, but for this not much can be done since it's how anchors works.

    Hello,
    1) Since I have to create other “One Page” websites, it would be nice to fix this definitely in php code, it is possible?
    2) yes I was a little exaggerated when I said that it doesn’t work at all, the problem is this: if I click directly on the menu item, the scroll is done correctly. If I try to reach the section of the page directly with link, the positioning is not correct, I guess it's because menu item remains stalled on the first menu item?

    https://dl.dropbox.com/s/14u9xznp24kj8fd/One-page-template.mp4

    Many thanks,

    Lorenzo

      iorbita Hi. For 2. I really cannot help, because it's how it works. Those are rules of HTML codding. All I can suggest would be to disable menu on top of the screen, but I guess it's not the best way of doing it.

      1. I will talk to developers about a possible ways of changing that, but all I can do is to put that into our suggestion box for new features.

      Hello,
      Sorry but I didn’t expect an answer like this…

      I really don’t think it's because those are rules of HTML and that's how it works… I may not be a developer but it's clear that a jQuery script is missing to manage the correct positioning of the menu item and thus the correct positioning of the scroll.
      As you can see in my screencast, there is a problem with menu item that remains stalled on the first menu item, it's obvious.

      It’s the same for links names (#home-link, #grid2-link, #grid3-link #grid4-link ... ) that take the modules names and not the menu item names. Sorry, but for me this is not to be considered as a new feature, but as it should be.

      Take a look at Joomshaper, JoomDev ... and Joomlart's "One Page" templates (to mention just a few), they work as intended.

      http://demo.joomshaper.com/2014/onepage/#services-wrapper
      https://demo.joomdev.com/bizone/toolbar/#team_section
      https://ja-onepage.demo.joomlart.com/index.php/en/#happy_clients

      Many thanks,

      Lorenzo

      Hi Lorenzo,

      I got your point but the former JB team fixed the block and link text in the backend settings (onepage mode feature) of template, not the flexible text as above onepage templates that you mentioned. To achieve like that will take a lots of time.

      Regards

      Hello,
      ...ok, so I think it's really time to look at another template editor for "One page" templates... it’s also clear that former JB team (I’m thinking to Anthony or Robert) would have fixed a problem like this ...too bad...
      An alternative, it would be possible to integrate a plugin like this one to work around this issue?

      Many thanks

      Lorenzo

        iorbita
        To be honest, I've not used this plugin before, it seems to be a free extension, you can give it a try.

        ...it works very well (even better than Zengrid Framework's OnePage)

        Write a Reply...
        You need to Login to view replies.