Results 1 to 2 of 2

Thread: i cant edit mod_cataloglist.tpl

  1. #1
    New user
    Join Date
    08-20-10.
    Posts
    1

    Default 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

  2. #2
    Experienced user
    Join Date
    06-10-09.
    Location
    Atlanta, Georgia
    Posts
    611

    Default 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.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •