Kai Schroeder <[EMAIL PROTECTED]> said:
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> > I get image src's like
> >
/attachment/(1)d2ba2....add/(2)12203c9....6669e28ef/(3)t0.gif in nadmin.
The format of this
1. - the sitegroup guid
obtained by
$sitegroup_object = mgd_get_sitegroup(1);
$guid = $sitegroup_object->guid();
2. - the guid of the attachment
obtained by (for example)
$attachment_object = mgd_get_attachment(1);
$guid = $page_attachment->guid();
- and also reverse found by
$object = mgd_get_object_by_guid($guid);
3. - a placeholder to make the link 'human friendly' - not actually used by
the system
nadmin will parse the html and correct your attachment guid's - I think the
standard is just upload the html page with all the image links pointing at
/attachment/imagename.gif etc. and it will replace them all.
regards
alan
> Emile,
>
> question to mgd_get_attachment():
>
> what is the content of guid variable from attachment object?
>
> nadmin use this for images, but I can't found anything about that in
> documentation
> (http://www.midgard-project.org/req/midgard-1.4/ref-attachment.htm).
>
> Thanx, Kai
>
> -----BEGIN PGP SIGNATURE-----
> Version: PGPfreeware 7.0.3 for non-commercial use <http://www.pgp.com>
>
> iQA/AwUBOssphNJLn8zKm5h2EQL4owCeJ4sRXXDn2CI8PPJuwlv4qVSsVqcAoPyK
> Mr3CXd0rCpjGDVRJ+kszx8o3
> =kUEb
> -----END PGP SIGNATURE-----
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
--
Technical Director
Linux Center (HK) Ltd.
www.hklc.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]