How can I assign different IDs to modules to configure the One-page site?
Hello,
I have several modules ready on the home page, and as I understand it, the menu items should be of the "system links Url" type, where the module ID should be entered, for example: #anchor_name.
I don't know if I explained myself well.
Thanks you

Hi @carlosdel123,
Open the section.php file in the "gk_blank/html/layouts/chromes/" folder and go to about line 60.
Replace below code:

  ...
  echo '<div class="section ' . $params->get('moduleclass_sfx',''). '">';
  ...

by code:

...
  echo '<div id="mod-'. $module->id . '" class="section ' . $params->get('moduleclass_sfx',''). '">';
...

Inspect the source code, you will see the section id.

Kind regards,

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