Question: How can one link from NSP GK4 to anchor on target page.

On a WAMP local server, I have demo layout for gk_magazine template:
Joomla 3.9.1
GK Magazine (latest update - 21 Nov 2018)
PHP 7.2.10

The links function as in demo. However, I have placed other modules in #top1 and #mainbody_top positions so when the link is clicked from within the NSP GK4 module, the joomla article opens in the #mainbody position (below top and mainbody_top and out of view) AND the user has to scroll down to see the article.

Is there a way to have the NSP GK4 module item link to the #mainbody position on the page?

Thank you for your guidance.

    oishiku2 Is there a way to have the NSP GK4 module item link to the #mainbody position on the page?

    The article source as configured in "Source of articles" already shows in the main-body (component) area as envisaged. If looking forward to something else, Kindly elaborate on the same in order to assist precisely

      aman204

      Thanks for the reply.

      This site is on WAMP and I am not able to put it online at the moment. I have some screenshots to help clarify the situation.

      I have placed the following modules in these positions (Please see Images):

      1) Top - Image Show GK4
      2) Mainbody_top - Tabs GK5
      3) Mainbody_bottom - NSP GK4 (with the selector)

      After the article is selected, the page is generated with the following modules in the following positions:

      1) Top - Image Show GK4
      2) Mainbody_top - Tabs GK5
      3) SELECTED ARTICLE
      4) Mainbody_bottom - NSP GK4 (with the selector)

      The user has to scroll down to see the article.

      My thinking is that if there is a way to set the target in NSP GK4 to land specifically at the #Mainbody (not #top, #mainbody_top) position so page when generated automatically scrolls down to the article, the user will be able to locate the article.


        oishiku2 Hi. I'm afraid NSP is not build like that. It will require some changes, to work this way, but I'm afraid we do not support customizations, so You will have to find another way to do it. Maybe by copying the source code of this part and using a custom html module instead.

          teitbite Maybe by copying the source code of this part and using a custom html module instead.

          Hi,

          Took your suggestion and the hyperlinks work just as I envisioned. Thanks.

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