Doze can you think on a way to set the title on images to the child gallery pagetitle if the user didn’t supply
any title when they upload the picture?
<p style="width: [+maxigallery.picture_width_thumb+]px;">
[+maxigallery.picture.title:isnot=``:then=`
[+maxigallery.picture.title:htmlent+]
`:else=`
put your default title here
`+]
</p>
stevesunderland.com
GRAPHICS | INTERACTIVE | MARKETING
xhtml + ajax + seo websites powered by modx
Yep, do like rajfantastic said in every place where title is displayed in all templates.. that affects very much to the readability of the templates though..
another option would be is to do a custom phx modifier e.g. snippet named "phx:htmlentdefaultitle"
<?php
if (trim($output) == '') {
return "default title here";
} else {
return htmlentities($output);
}
?>
Then in maxigallery templates, replace :htmlent with :htmlentdefaultitle
"He can have a lollipop any time he wants to. That's what it means to be a programmer."