Thursday 08 January 2004 7:17:39 am
Hi Claüs Thanks for the tip about the new image system. I did not have a clue about that! About the "call to member" error. It basically only came from one content class (i.e when its view template was called). As the image system had changed I removed my ad hoc image stuff in the template. Then it worked (images are of course not working:(). This was removed and caused the fatal error:
{section show=is_object($node.data_map.thumbnail.content)}
<div class="img_left"><a href={$node.data_map.thumbnail.content[original].full_path|ezroot} target="_blank">{attribute_view_gui attribute=$node.data_map.thumbnail image_class="inline"}</a></div> {/section} It was there in order to make an link to view the image in full size. I am a bit afraid that now I will have to pay the price for the lack of basic functions in EZ (such as attribute!=null), this lack of basic funtions have led me to use extensive ad hoc variable checking in order to implement required functionality. However, this variable checking is probably going to be messed up in the future as the variables changes meaning or disapper.. Huhh looking at many hours going through template code....
|