[gelöst] Kann keine neue Seite erstellen
am 16.02.2015 - 13:24 Uhr in
Hallo ersteinmal,
bin neu bei Drupal - ich komme von Contenido !
Ich habe das erste Tutorial bei video2brain schon verschlungen. Instalation hat auch funktioniert.
Jetzt geht es daran ein neues Themes anzupassen.
Ich habe ein Theme installiert und möchte nun die Startseite anpassen.
Theme: Corporate Clean
Anleitung: hier (http://wiki.morethanthemes.com/index.php?title=Corporate_Clean:Demonstra...)
Anleitungstext:
Front page
Create a new page using the following html code. Then go to Home » Administration » Configuration » Front Page » Default Front Page and set this newly created page as your Default Front Page.
<div style="border-bottom:1px solid #d9d9d9; padding:0 0 20px 0;">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat.</div>
<div style="clear:both; padding:20px 0;">
<div class="grid_4 alpha">
<h1 class="front-heading">Products</h1>
<div class="subtitle">Making your workflow easier</div>
<img class="masked" src="<?php print base_path() . drupal_get_path('theme', 'corporateclean') ;?>/mockup/products.jpg"/>
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat.
<div style="display:block; padding:30px 0 10px 0;"><a class="more" href="<?php print url('node/3');?>">See what we offer</a></div>
</div>
<div class="grid_4 omega">
<h1 class="front-heading">Services</h1>
<div class="subtitle">Problem solving at lightning speed</div>
<img class="masked" src="<?php print base_path() . drupal_get_path('theme', 'corporateclean') ;?>/mockup/services.jpg"/>
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat.
<div style="display:block; padding:30px 0 10px 0;"><a class="more" href="<?php print url('node/4');?>">See what we offer</a></div>
</div>
</div>Ich versuche eine neue Seite zu erstellen dann und mit dem angegebenen Quellcode zu füllen:
Ich finde keine Möglichkeit den Code via dem Backend einzufügen.
Ich würde mich über einen (bestimmt) einfachen Tipp freuen wie ich diese neue Startseite einbauen kann.
Herzlichen Dank
Matthias
- Anmelden oder Registrieren um Kommentare zu schreiben

Du erstellst eine neue Seite
am 16.02.2015 - 14:06 Uhr
Du erstellst eine neue Seite z. B. über Content -> Add content -> Article und fügst dort Deinen gewünschten Inhalt ein und speicherst ab (Das Input-Format muss entsprechend HTML und PHP zulassen). Dann schaust Du Dir an welche Node-ID die Seite hat und trägst das dann als Startseite (Default Frontpage) ein mit "node/x" (wobei x hier für die Node-ID Deines Artikels steht).
Danke
am 16.02.2015 - 14:42 Uhr
Hallo Stefan,
das war zu einfach. Da bin ich nicht drauf gekommen. Danke - hat natürlich genau so funktioniert.
Dazu sind Anfängerfragen wohl auch da ;-))
LG aus Marburg
Matthias