Web Basics II

Web Basics II

CMS – kirby 16. Juni 2014 Content Management System Inhalte (Text und andere Medien) verwalten. Template + Datenbank. Verschiedene CMS TYPO3, Drupal, Joomla, Magento, Contao, LightCMS, Shopify, ProcessWire, MediaWiki, Cloud CMS, CouchCMS, MODX, Magnolia CMS, Squarespace, ExpressioneEngine, Wordpress. Pico, Stacey, Kirby. Template — Datenbank Front-End — Back-End kirby relativ einfach Flexibel 30 Euro Erinnerung PHP <?php $text = 'Hallo Welt'; echo $text; ?> Erinnerung PHP <?php $text = 'Hallo Welt'; ?> ! <?= $text ?> Struktur kirby <?php home $pages->visible() 01-ueber-uns foreach($pages->visible() AS $page) : site.txt […] Title: Über uns endforeach ?> Text: Das sind wir… 02-blog blog.txt Title: Über uns 01-hallo-welt blog.txt Title: Hallo Welt! Text: Der erste … home 01-ueber-uns site.txt Title: Über uns <?php Text: Das sind wir… $pages->visible() foreach($pages->visible() AS $page) : 02-blog […] blog.txt endforeach Title: Über uns ?> 01-hallo-welt blog.txt Title: Hallo Welt! Text: Der erste … 03-kontakt <?php home $pages->visible() 01-ueber-uns foreach($pages->visible() AS $page) : site.txt […] Title: Über uns endforeach Text: Das sind wir… ?> 02-blog blog.txt Title: Über uns 01-hallo-welt blog.txt Title: Hallo Welt! Text: Der erste … 03-kontakt <?php home $pages->visible() 01-ueber-uns foreach($pages->visible() AS $page) : site.txt $title = $page->title(); Title: Über uns $url = $page->url(); Text: Das sind wir… endforeach 02-blog ?> blog.txt Title: Über uns 01-hallo-welt blog.txt Title: Hallo Welt! Text: Der erste … 03-kontakt <?php home $pages->visible() 01-ueber-uns foreach($pages->visible() AS $page) : site.txt $title = $page->title(); Title: Über uns $url = $page->url(); Text: Das sind wir… if ($page->isActive()) { 02-blog $isActive = true; blog.txt } else { Title: Über uns $isActive = false; 01-hallo-welt } blog.txt endforeach Title: Hallo Welt! ?> Text: Der erste … 03-kontakt <?php $pages->visible() foreach($pages->visible() AS $page) : $title = $page->title(); $url = $page->url(); if ($page->isActive()) { $isActive = true; } else { $isActive = false; } $isActive = $page->isActive() ? true : false; endforeach ?> <?php $pages->visible() foreach($pages->visible() AS $page) : $title = $page->title(); $url = $page->url(); $isActive = $page->isActive() ? true : false; endforeach ?> <?php $pages->visible() foreach($pages->visible() AS $page) : $title = $page->title(); $url = $page->url(); $isActive = $page->isActive() ? true : false; ?> [HTML] <?php endforeach ?> <?php $pages->visible() foreach($pages->visible() AS $page) : $title = $page->title(); $url = $page->url(); $isActive = $page->isActive() ? true : false; ?> <a href="<?=$url?>"><?=$title?><a> <?php endforeach ?>.

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    18 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us