Notice

FORUM CLOSED! This forum is permanently read-only. No registration can be made. It's also not possible to write new contributions. This forum only serves as an archive.

Webspell RM Template erstellen

  • Gamer-Templates
  • Gamer-Templates's Avatar Topic Author
  • Online
More
1 year 2 months ago - 1 year 2 months ago #3796 by Gamer-Templates

Wenn ihr ein eigenes Webspell RM Template entwerfen wollt, benötigt ihr zum aufrufen der Navigation, Sprachauswahl, Widgets etc. die unter aufgeführten Codes.


Navigation mit Login
<ul class="navbar-nav mr-auto animated fadeInDown">
      <?php include(MODULE."navigation.php"); ?></ul>
      <li class="nav-item">
      <?php if($loggedin) {
      echo'<a class="nav-link" href="index.php?site=login">' . ucfirst($index_language[ 'overview' ]) . '</a>';
       } else {
        echo '<a class="nav-link" href="index.php?site=login">' . ucfirst($index_language[ 'login' ]) . '</a>';
       } ?>
        </li>
       </ul>

Sprachauswahl
<?php  include(MODULE."language.php"); ?>

Page Head (zB: für den Slider)
<?php
            if (!in_array($site, $hide)) {
                echo"<div id='headcol'></div>";
                $widget_menu = new widgets();
                $widget_menu->registerWidget("page_head_widget","Diese Box ist oben auf der Seite",                                  "vertical_widget_box");
            } else {
                echo"<div id='noheadcol'></div>";
            }
            ?>

Linke Spalte
<?php /* show left column */ if (!in_array($site, $hide3)) { ?>
       <?php /* show left column */ if (!in_array($site, $hide1)) { ?>

.......

 <?php /* end of show left column*/ } ?>
 <?php /* end of show right column */ } ?>

Inhalt linke Spalte
<?php
                        $widget_menu = new widgets();
                        $widget_menu->registerWidget("Left_Side_Widget","Diese Box ist auf der linken Seite", "vertical_widget_box");
                    ?>

Über Includes
<?php
                    if (!in_array($site, $hide4)) {
                        $widget_menu = new widgets();
                        $widget_menu->registerWidget("center_head_Widget","Diese Box ist oben im Center", "vertical_widget_box");
                    } else {
                        echo "";
                    }
                    ?>

Unter Includes
<?php
                    if (!in_array($site, $hide5)) {
                        $widget_menu = new widgets();
                        $widget_menu->registerWidget("center_footer_Widget","Diese Box ist unten im Center", "vertical_widget_box");
                    } else {
                        echo "";
                    }
                    ?>

Rechte Spalte
<?php /* show right column */ if (!in_array($site, $hide3)) { ?>
            <?php /* show right column */ if (!in_array($site, $hide2)) { ?>

.......

<?php /* end of show right column */ } ?>
            <?php /* end of show right column */ } ?>

Inhalt rechte Spalte
<?php
                        $widget_menu = new widgets();
                        $widget_menu->registerWidget("Right_Side_Widget","Diese Box ist auf der rechten Seite", "vertical_widget_box");
                    ?>

Footer
<?php
                    $widget_menu = new widgets();
                    $widget_menu->registerWidget("page_footer_Widget","Diese Box ist unten auf der Seite", "vertical_widget_box");
                ?>

No support via e-mail!
Powered by Kunena Forum

Looking for something? Use search

© 2010 - 2020 by Gamer-Templates.com. All rights reserved.
All templates, psd, logos and all other materials on this site are copyrighted. To selling downloads is strictly prohibited. Pay attention to the respective licenses.
The names Joomla!, Wordpress, Drupal and all other CMS Names are used under limited licenses. We do not sell anything!
We use cookies

We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience or to advertise. You can decide yourself whether you want to allow cookies or not. Please note that in the event of a rejection, not all functionalities of the site may be 100% available.