J!Layout Overrides Einstieg und Beispiele
-
Upload
niels-nuebel -
Category
Internet
-
view
20 -
download
0
Transcript of J!Layout Overrides Einstieg und Beispiele
J!LAYOUT OVRRIDINTIG UND IPIL
/ Niels Nübel @Niels_Nuebel
new.php<div class="span12 latestnews<?php echo $moduleclass_sfx; ?>"> <?php foreach ($list as $item) : ?> <div class="row-fluid"> <div class="span4"> <?php echo JHtml::_('date', $item->created, 'd.m.Y'); ?> </div> <div class="span8"> <h5><?php echo $item->title; ?></h5> </div> <div class="span12"> <?php echo $item->introtext; ?> <a href="<?php echo $item->link; ?>"><span class="icon-arrow-right" </div> </div> <?php endforeach; ?></div><div class="clearfix"></div>
templates/protostar/html/mod_articles_latest/news.php
JLaout
components/com_content/views/article/tmpl/default.php:66
components/com_content/views/category/tmpl/blog_item.php:26
components/com_content/views/featured/tmpl/default_item.php:48
JLaoutHelper AlaufJLayoutHelper::render('joomla.content.icons', array('params' => $params,
1. templates/meintemplate/html/layouts/com_content/joomla/content/icons.php
2. components/com_content/layouts/joomla/content/icons.php
3. templates/meintemplate/html/layouts/joomla/content/icons.php
4. layouts/joomla/content/icons.php
JLaoutHelper Alternative$version = new JVersion;
$layout = new JLayoutFile('joomla.content.icons', null, array ( 'suffixes' = array( 'j' . $version->getShortVersion(), 'j' . $version->RELEASE, 'j' . substr($version->RELEASE, 0, 1) ) ));
JLaout u�xejoomla/content/icons.j3.3.3.phpjoomla/content/icons.j3.3.phpjoomla/content/icons.j3.phpjoomla/content/icons.php
IPILProduktverwaltungFAQBlogPortfolio
PHOTO CRDITLayne LawsonDaniel CheungDaniel CheungDaniel Cheung