Joomla.it Forum
Joomla! 1.5.x (versione con supporto terminato) => Joomla! 1.5 => I Template di Joomla 1.5.x => : nirovi 05 Jun 2009, 11:14:59
-
Dove posso cambiare nel codice l'opzione show in modo che sia sempre su show per ogni lista di categoria? grz
[allegato eliminato da un amministratore perchč pių vecchio di 365 giorni]
-
se non erro devo rendere questo if sempre vero
nel file default_item.php:
<?php if ($this->params->get('show_date')) : ?>
Come posso fare? grz
-
Qualcuno sa aiutarmi, oppure non č fattibile la mia richiesta? grz.
Dipenderā da questo parametro?
<?php if ($this->params->get('show_headings')) : ?>
vn
-
Stai tranquillo, abbi pazienza, sappi aspettare, non uppare a poca distanza fra un post e l'altro ma soprattutto ripeto abbi pazienza.
Sposto anche il topic in 'i template di joomla 1.5'.
-
Volendo invece bypassare la varibile ed inserire di default una colonna data? come posso fare? grz
-
Il pezzo di codice inquisito č il seguente:
<table class="items category_table">
<?php if ($this->params->get('show_headings')) : ?>
<thead>
<tr>
<!-- <th class="sectiontableheader<?php echo $this->params->get( 'pageclass_sfx' ); ?> number" width="5%" scope="col">
<?php echo JText::_('Num'); ?>
</th> -->
<?php if ($this->params->get('show_date')) : ?>
<th class="sectiontableheader<?php echo $this->params->get( 'pageclass_sfx' ); ?> date" width="25%" scope="col">
<?php echo JHTML::_('grid.sort', 'Date', 'a.created', $this->lists['order_Dir'], $this->lists['order'] ); ?>
</th>
<?php endif; ?>
<?php if ($this->params->get('show_title')) : ?>
<th class="sectiontableheader<?php echo $this->params->get( 'pageclass_sfx' ); ?> title" width="45%" scope="col">
<?php echo JHTML::_('grid.sort', 'Item Title', 'a.title', $this->lists['order_Dir'], $this->lists['order'] ); ?>
</th>
<?php endif; ?>
Qualche suggerimento?
grz