[Pmwiki-users] Custom image markup
Patrick R. Michaud
pmichaud
Fri Jul 2 10:32:15 CDT 2004
On Fri, Jul 02, 2004 at 05:46:52PM +0200, Jeroen Coumans wrote:
>
> My markup was this:
> $UrlImgFmt = "<div class='alpha-shadow'><div><img src='\$Url'
> title='\$Url' alt='' img></div></div>"
>
> (note the title and the img>). This resulted in the following error:
>
> Parse error: parse error in /htdocs/www/local/config.php on line 109
No, if it's a parse error that means something different. I suspect
you're missing the trailing semicolon.
> Ok, the title was at fault here. I changed it to
> $UrlImgFmt = "<div class='alpha-shadow'><div><img src='\$Url' alt=''
> /></div></div>";
> and it works great now, thanks!
Try adding the title= attribute now that the semicolon is there. :-)
Pm
More information about the pmwiki-users
mailing list