Re: PHPDoc Images.

From: Date: Thu, 19 Feb 2009 10:11:59 +0000
Subject: Re: PHPDoc Images.
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969380185@lists.php.net to get a copy of this message
Hello Richard, > But currently the images are not copied. It does copy it on my machine, so there must be a tiny bug somewhere. > I think the issue is that the media manager knows the fileref value, > but not where the relative source is. > It seems that the line in postConstruct ... > $this->mediamanager->relative_path = > basename($this->mediamanager->output_dir) . '/'; > is not right. > I think this should be something like ... > $this->mediamanager->relative_path = $OPTIONS["xml_root"] . '/'; No. The relative path in mediamanager is a prefix for images that get linked in the generated html files. The prefix is theme-specific, e.g. images/ for a php or chunkedhtml build, or $outputfilename-data/images for bightml builds. The code you mentioned in PhDThemeXhtml makes this happen for bightml files. I'll have a look into it why it does not work for you; it does for me. One difference could be that I do it in the phpdoc/pear-doc working directory, and you perhaps in phd's. -- Regards/Mit freundlichen Grüßen Christian Weiske -= Geeking around in the name of science since 1982 =-

Attachment: [application/pgp-signature] signature.asc
« previous php.doc (#969380185) next »