lossendae / Cliche

A media manager for MODx Revolution
14 stars 11 forks source link

itemTpl not being read? #25

Closed jcamachott closed 12 years ago

jcamachott commented 12 years ago

So I have:

[[!Cliche? &id=1 &view=album &thumbWidth=170 &thumbHeight=170 &itemTpl=pf.AlbumItem.tpl ]]

My pf.AlbumItem.tpl chunk is not being read. In my chunk I have a class="colorbox". In my output I am seeing class="zoom". I have no idea where it is pulling that zoom from but I even manually edited both item.tpl and itemzoom.tpl on the server to zoom1 just to see if it would change and it didn't.

I know my Cliche call is working because if I change the width and height, it is reflected in the output. Something is bypassing the itemTpl call.

lossendae commented 12 years ago

The chunk you want to use are on the file system or normal chunk (listed in the manager tree) ?

jcamachott commented 12 years ago

It is a normal chunk listed in the manager tree. pf.AlbumItem.tpl is the exact name of it and it is referenced in the Cliche call. If you need me to copy and paste anything from my system, let me know,

Thanks.

lossendae commented 12 years ago

Fixed with last commit : https://github.com/lossendae/Cliche/commit/cca792f9b99a0376ebd4d11805eb32a690471b11 Thanks for reporting.

jcamachott commented 12 years ago

Thanks Lossendae...good work on the addon.