Ok, so when the album name is hardcoded like this - it works:
<tr><td>
<?php
if ($fieldsObjects['field_picasauser']->data) {
echo "<hr />";
echo "<h1>Gallery</h1>";
echo "{arisexylightbox activeType=picasa user=";
echo $fieldsObjects['field_picasauser']->data;
echo " album=PortfolioWebsites";
echo " count=28}{/arisexylightbox}";
}
else {
echo "";
}
?></td></tr>
But when I insert the variable now it does not - although it WAS working, and stopped two days ago.
<tr><td>
<?php
if ($fieldsObjects['field_picasauser']->data) {
echo "<hr />";
echo "<h1>Gallery</h1>";
echo "{arisexylightbox activeType=picasa user=";
echo $fieldsObjects['field_picasauser']->data;
echo " album=";
echo $fieldsObjects['field_picasaalbum']->data;
echo " count=28}{/arisexylightbox}";
}
else {
echo "";
}
?></td></tr>
Now I get an error instead:
Warning: simplexml_load_string() [function.simplexml-load-string]: Entity: line 1: parser error : Start tag expected, '<' not found in ../modules/mod_arisexylightbox/includes/kernel/Picasa/class.Picasa.php on line 181
Warning: simplexml_load_string() [function.simplexml-load-string]: No album found. in ../modules/mod_arisexylightbox/includes/kernel/Picasa/class.Picasa.php on line 181
Warning: simplexml_load_string() [function.simplexml-load-string]: ^ in ../modules/mod_arisexylightbox/includes/kernel/Picasa/class.Picasa.php on line 181
There were no images found here.
(The full path was removed for safety
)