John P . Looney wrote:
> On Wed, Feb 14, 2001 at 11:31:54AM +0000, John P . Looney mentioned:
>
>> Emile kindly helped me out last week with an active page for serving
>> blobs attached to styles. Since I upgraded to 1.4.1beta, it's broken -
>
>
> Actually, I think it's related to the fact that when I go to;
> http://midgard.linux.ie/asgard/attachment/style/9/view/61.html
>
> I get:
>
> Parse error: parse error in snippet:///Asgard/Templates/default/attachment
> on line 51
> ?><?
> global $AsgMsg;
> $tpl_param=array(
> "mode" => "view",
> "parse" => "template",
> "prefix" => "",
> "template" => "",
> "elements" => array(
> "form" => array(
> "type" => "form",
> "action" => "",
> "method" => "POST",
> "option" => "ENCTYPE=\"multipart/form-data\""
> // "option" => ""
> ),
> "action" => array(
> "type" => "hidden",
> "name" => "whattodo",
> "value" => ""
> ),
> "title" => array(
> "label" => $AsgMsg->Attachment_Title,
> "type" => "string",
> "value" => "",
> "option" => "size=20"
> ),
> "name" => array(
> "label" => $AsgMsg->Attachment_Name,
> "type" => "string",
> "value" => ""
> ),
> "mimetype" => array(
> "label" => $AsgMsg->Attachment_MimeType,
> "type" => "string",
> "value" => ""
> ),
> "blob" => array(
> "label" => $AsgMsg->Attachment_File,
> "type" => "string",
> "mode" => "view",
> "filter" => "Asgard_Template_raw_filter",
> "value" => ""
> ),
> "ok" => array(
> "label" => $AsgMsg->Common_ButtonSubmit,
> "type" => "submit",
> "name" => "submit"
> )
> )
> );
there is a missing ?>
the following one is generated by the preparser, so you don't need to
include it.
> <?
>
> BTW, blob 61 is the one I'm trying to serve. The code looks fine to me
> though...
>
> Kate
--
Best Regards,
David Guerizec Open Source Developer
Aurora R&D [EMAIL PROTECTED]
Midgard core developer http://www.midgard-project.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]