Modulshop - Eine große Auswahl an neuen und hilfreichen Modulen für die modified eCommerce Shopsoftware
Neuigkeiten
  • Die modified eCommerce Shopsoftware ist kostenlos, aber nicht umsonst.
    Spenden
  • Damit wir die modified eCommerce Shopsoftware auch zukünftig kostenlos anbieten können:
    Spenden
  • Thema: Anmelden oder Registrieren

    Herr_Bert

    • Fördermitglied
    • Beiträge: 756
    • Geschlecht:
    Anmelden oder Registrieren
    am: 06. Februar 2017, 17:56:56
    Guten Tag,
    ich möchte das linke Feld "Ich bin bereits Kunde" mit dem rechten Feld "Ich möchte mich registrieren" tauschen, also links nach rechts und recht nach links, ist das möglich und wie kann ich das ändern?

    Herr_Bert

    Linkback: https://www.modified-shop.org/forum/index.php?topic=36613.0

    awids

    • Experte
    • Beiträge: 3.803
    • Geschlecht:
    Re: Anmelden oder Registrieren
    Antwort #1 am: 06. Februar 2017, 18:01:12
    Einfach in der Template-Datei login.html die Positionen der DIVs tauschen.

    Herr_Bert

    • Fördermitglied
    • Beiträge: 756
    • Geschlecht:
    Re: Anmelden oder Registrieren
    Antwort #2 am: 06. Februar 2017, 18:09:41
    Grüß dich Alex  :-)
    welche div's sind das denn  :-?

    Code: PHP  [Auswählen]
    {config_load file="$language/lang_$language.conf" section="login"}
    <h1>{#heading_login#}</h1>

    <div id="single_article_img">
    <div class="content_area">
    {if $info_message!=''}
    <div class="errormessage">{$info_message}</div>
    {/if}
    {if $account_option=='account' or $account_option=='both'}
    <div class="highlightbox">
          <h1>{#title_returning#}</h1>
         {$FORM_ACTION}
          <p>{#text_returning#}</p>
         <br />
          {* BOC different texts depending on where customer comes from, noRiddle*}
          {if $smarty.get.order_id}
            {#text_after_login1#}
         {elseif $smarty.get.review_prod_id}
             {#text_after_login2#}
         {else}
            {#text_after_login#}
         {/if}
          {* EOC different texts depending on where customer comes from, noRiddle*}
      {#text_email#}
     <div class="login_input">
      {$INPUT_MAIL}
      </div>
     
      {#text_password#}
     <div class="login_input">
      {$INPUT_PASSWORD}
      </div>
      {$BUTTON_LOGIN}
     
      <a href="{$LINK_LOST_PASSWORD}">{#text_lost_password#}</a>
         {$FORM_END}
    </div></div>
    </div>
    <div id="single_article_info">
    <div class="content_area">
    <div class="highlightbox">
          <h1>{#title_new#}</h1>
         <p>{#text_new#}</p>
         <p>{$BUTTON_NEW_ACCOUNT}</p>
    </div>
    {/if} {if $account_option=='both' or $account_option=='guest'}
    <br />
    <div class="highlightbox">
          <h1>{#title_guest#}</h1>
         <p>{#text_guest#}</p>
         <p>{$BUTTON_GUEST}</p>
    </div>
    {/if}</div></div>

    Herr_Bert

    awids

    • Experte
    • Beiträge: 3.803
    • Geschlecht:
    Re: Anmelden oder Registrieren
    Antwort #3 am: 06. Februar 2017, 18:25:06
    Code: PHP  [Auswählen]
    {config_load file="$language/lang_$language.conf" section="login"}
    <h1>{#heading_login#}</h1>

    <div id="single_article_info">
    <div class="content_area">
    <div class="highlightbox">
          <h1>{#title_new#}</h1>
         <p>{#text_new#}</p>
         <p>{$BUTTON_NEW_ACCOUNT}</p>
    </div>
    {/if} {if $account_option=='both' or $account_option=='guest'}
    <br />
    <div class="highlightbox">
          <h1>{#title_guest#}</h1>
         <p>{#text_guest#}</p>
         <p>{$BUTTON_GUEST}</p>
    </div>
    {/if}</div></div>

    <div id="single_article_img">
    <div class="content_area">
    {if $info_message!=''}
    <div class="errormessage">{$info_message}</div>
    {/if}
    {if $account_option=='account' or $account_option=='both'}
    <div class="highlightbox">
          <h1>{#title_returning#}</h1>
         {$FORM_ACTION}
          <p>{#text_returning#}</p>
         <br />
          {* BOC different texts depending on where customer comes from, noRiddle*}
          {if $smarty.get.order_id}
            {#text_after_login1#}
         {elseif $smarty.get.review_prod_id}
             {#text_after_login2#}
         {else}
            {#text_after_login#}
         {/if}
          {* EOC different texts depending on where customer comes from, noRiddle*}
      {#text_email#}
     <div class="login_input">
      {$INPUT_MAIL}
      </div>

      {#text_password#}
     <div class="login_input">
      {$INPUT_PASSWORD}
      </div>
      {$BUTTON_LOGIN}

      <a href="{$LINK_LOST_PASSWORD}">{#text_lost_password#}</a>
         {$FORM_END}
    </div></div>
    </div>

    Herr_Bert

    • Fördermitglied
    • Beiträge: 756
    • Geschlecht:
    Re: Anmelden oder Registrieren
    Antwort #4 am: 06. Februar 2017, 19:04:16
    Hallo Alex, leider ergibt die Änderung das

    Fatal error: Smarty error: [in xtc5/module/login.html line 11]: syntax error: mismatched tag {/if}. (Smarty_Compiler.class.php, line 2339) in /var/www/web264/html/includes/classes/Smarty_2.6.27/Smarty.class.php on line 1105

    hier  :-(

    Herr_Bert

    awids

    • Experte
    • Beiträge: 3.803
    • Geschlecht:
    Re: Anmelden oder Registrieren
    Antwort #5 am: 06. Februar 2017, 19:46:56
    Sorry, nicht genau hingeschaut. Probiers mal so:

    Code: PHP  [Auswählen]
    {config_load file="$language/lang_$language.conf" section="login"}
    <h1>{#heading_login#}</h1>

    <div id="single_article_info">
    <div class="content_area">
    <div class="highlightbox">
          <h1>{#title_new#}</h1>
         <p>{#text_new#}</p>
         <p>{$BUTTON_NEW_ACCOUNT}</p>
    </div>
    {if $account_option=='both' or $account_option=='guest'}
    <br />
    <div class="highlightbox">
          <h1>{#title_guest#}</h1>
         <p>{#text_guest#}</p>
         <p>{$BUTTON_GUEST}</p>
    </div>
    {/if}</div></div>

    <div id="single_article_img">
    <div class="content_area">
    {if $info_message!=''}
    <div class="errormessage">{$info_message}</div>
    {/if}
    {if $account_option=='account' or $account_option=='both'}
    <div class="highlightbox">
          <h1>{#title_returning#}</h1>
         {$FORM_ACTION}
          <p>{#text_returning#}</p>
         <br />
          {* BOC different texts depending on where customer comes from, noRiddle*}
          {if $smarty.get.order_id}
            {#text_after_login1#}
         {elseif $smarty.get.review_prod_id}
             {#text_after_login2#}
         {else}
            {#text_after_login#}
         {/if}
          {* EOC different texts depending on where customer comes from, noRiddle*}
      {#text_email#}
     <div class="login_input">
      {$INPUT_MAIL}
      </div>
     
      {#text_password#}
     <div class="login_input">
      {$INPUT_PASSWORD}
      </div>
      {$BUTTON_LOGIN}
     
      <a href="{$LINK_LOST_PASSWORD}">{#text_lost_password#}</a>
         {$FORM_END}
    </div>{/if}
    </div>
    </div>

    Herr_Bert

    • Fördermitglied
    • Beiträge: 756
    • Geschlecht:
    Re: Anmelden oder Registrieren
    Antwort #6 am: 06. Februar 2017, 20:07:30
    Schon fast perfekt, nur das die Boxen jetzt untereinander sind, wie bekomme ich die wieder nebeneinander  :-?

    Herr_Betr

    awids

    • Experte
    • Beiträge: 3.803
    • Geschlecht:
    Re: Anmelden oder Registrieren
    Antwort #7 am: 06. Februar 2017, 20:19:27
    Jetzt musst du ein bisschen am CSS pfeilen. ;-)

    Oder nochmal so:
    Code: PHP  [Auswählen]
    {config_load file="$language/lang_$language.conf" section="login"}
    <h1>{#heading_login#}</h1>

    <div id="single_article_info">
    <div class="content_area">
    <div class="highlightbox">
          <h1>{#title_new#}</h1>
         <p>{#text_new#}</p>
         <p>{$BUTTON_NEW_ACCOUNT}</p>
    </div>
    {if $account_option=='both' or $account_option=='guest'}
    <br />
    <div class="highlightbox">
          <h1>{#title_guest#}</h1>
         <p>{#text_guest#}</p>
         <p>{$BUTTON_GUEST}</p>
    </div>
    {/if}</div></div>

    <div id="single_article_img">
    <div class="content_area">
    {if $info_message!=''}
    <div class="errormessage">{$info_message}</div>
    {/if}
    {if $account_option=='account' or $account_option=='both'}
    <div class="highlightbox">
          <h1>{#title_returning#}</h1>
         {$FORM_ACTION}
          <p>{#text_returning#}</p>
         <br />
          {* BOC different texts depending on where customer comes from, noRiddle*}
          {if $smarty.get.order_id}
            {#text_after_login1#}
         {elseif $smarty.get.review_prod_id}
             {#text_after_login2#}
         {else}
            {#text_after_login#}
         {/if}
          {* EOC different texts depending on where customer comes from, noRiddle*}
      {#text_email#}
     <div class="login_input">
      {$INPUT_MAIL}
      </div>
     
      {#text_password#}
     <div class="login_input">
      {$INPUT_PASSWORD}
      </div>
      {$BUTTON_LOGIN}
     
      <a href="{$LINK_LOST_PASSWORD}">{#text_lost_password#}</a>
         {$FORM_END}
    </div>{/if}
    </div>
    </div>
    4 Antworten
    3520 Aufrufe
    31. März 2014, 01:48:58 von noRiddle (revilonetz)
    9 Antworten
    3003 Aufrufe
    25. November 2016, 18:17:46 von hpzeller
    21 Antworten
    15511 Aufrufe
    16. Juni 2018, 22:56:10 von Blaumann
               
    anything