Elxis CMS Forum

Support => Technical support => Topic started by: mscrivo on October 04, 2014, 22:01:43

Title: "Module login can be displayed only 1 time!"
Post by: mscrivo on October 04, 2014, 22:01:43
Using elxis 4.2 with IOSR 4.0 and Aurora 2.0, when I add the login module to the front page, it says "Module login can be displayed only 1 time!" for users that are not logged in.  Can't figure out how to get it to display the actual login form.  Note, when you are logged it, the login module shows the current user and profile, which works as expected.

see here for an example: http://staging.eurosun.com/

Thanks
Title: Re: "Module login can be displayed only 1 time!"
Post by: datahell on October 04, 2014, 23:59:45
The module can be loaded only 1 time. Template Aurora loads it on top and then sets its display style to none (I guess based on the parameter settings). This is why you don't see it. The second instance on the right column will fail as the module is loaded for the 2nd time. Normally the template shouldn't load the module at all instead of hiding it if you have selected not to display it. Contact webgift for support.

<div class="wrapper">
      <div class="total-wrapper">
            <div class="menu">
                  <div class="hidden-area">
                        <div class="fixed_width">
                              <div class="modlang" style="display: none;">...</div>
                              <div class="search" style="display: none;">...</div>
                              <div class="currency" style="display: none;">...</div>
                              <div class="modlogin" style="display: none;">...</div>
                        </div>
                  </div>
            </div>
      </div>
</div>
Title: Re: "Module login can be displayed only 1 time!"
Post by: webgift on October 05, 2014, 12:39:31
Aurora template generates the login module when it's displayed at hidden module position. It is not based on the parameter settings. So you could choose either the hidden or the right module position to display that.
Title: Re: "Module login can be displayed only 1 time!"
Post by: mscrivo on October 05, 2014, 18:40:02
Setting to it to hidden did the trick!  Thanks guys