i cant edit mod_cataloglist.tpl
Hi, first sory for my english...
i am newbie @ contao i like this cms and i realy like catalog extension it is realy unbelievable...
So i learned little bit editing catalog > mod > templates
i create a template calling "catalog_simple_xxx.tpl" bellow part of code
for example
<div class=myClass>Data name xxx : ( <?php echo $entry['data']['data_table_xxx']['value']; ?> )</div>
but i cant edit mod_cataloglist_xxx.tpl
Code:
<?php if (!$this->searchable): ?>
<?php endif; ?>
<div class="<?php echo $this->class; ?> block"<?php echo $this->cssID; ?><?php if ($this->style): ?> style="<?php echo $this->style; ?>"<?php endif; ?>>
<?php if ($this->headline): ?>
<<?php echo $this->hl; ?>><?php echo $this->headline; ?></<?php echo $this->hl; ?>>
<?php endif; ?>
<span class="total"><?php echo $this->total; ?></span>
<?php if ($this->editEnable): ?>
<div class="addUrl">Add New Item</div>
<?php endif; ?>
<div>i want to ad my values here</div>
<?php echo $this->pagination; ?>
</div>
<?php if (!$this->searchable): ?>
<?php endif; ?>
thank you :)
Re: i cant edit mod_cataloglist.tpl
I don't understand exactly. So the only problem is that you are unable to edit mod_cataloglist_xxx.tpl? You can create and edit it through Layout > Templates in the backend. If you are receiving errors, then it sounds like the web server doesn't have proper file permissions to write to the /templates folder.
You could always grab the tpl file with ftp, edit the file locally and upload it back to the server. Let us know if this is your problem and if you got it sorted out.