| 
                                                             Wednesday 18 August 2004 6:44:03 am 
                                                            
                                                                
                                                                 Hi, Does anyone have any clue as to why the following syntax works:         
{let profile_object=fetch(content, object, hash(object_id, $profile_object_id))}
	
	{switch match=$profile_object.contentclass_id}
		{case match=23}
			
		{/case}
		{case match=24}
			{let first_name=$profile_object.data_map.first_name.content}
			{let last_name=$profile_object.data_map.last_name.content}
			{let email=$profile_object.data_map.email.content}
			{let street2=$profile_object.data_map.street_address.content}
			{let zip=$profile_object.data_map.postal_code.content}
			{let place=$profile_object.data_map.city.content}
		{/case}
		{case}
		{/case}
	{/switch}
    ...and the following doesn't, meaning that the rest of the content in the template is ignored (the only thing that's changed is that line #5 has been added)         
{let profile_object=fetch(content, object, hash(object_id, $profile_object_id))}
	
	{switch match=$profile_object.contentclass_id}
		{case match=23}
			{let first_name=$profile_object.data_map.first_name_manager.content}
		{/case}
		{case match=24}
			{let first_name=$profile_object.data_map.first_name.content}
			{let last_name=$profile_object.data_map.last_name.content}
			{let email=$profile_object.data_map.email.content}
			{let street2=$profile_object.data_map.street_address.content}
			{let zip=$profile_object.data_map.postal_code.content}
			{let place=$profile_object.data_map.city.content}
		{/case}
		{case}
		{/case}
	{/switch}
    Sincerely, 
Eirik Johansen http://www.netmaking.no/                                                             
                                                                                                                            Sincerely, 
 
Eirik Alfstad Johansen 
http://www.netmaking.no/
                                                                 
                                                                                                                     |