Hello,
I am using EVO 1.0.4 with Ditto 2.1.0.
I am using ditto to create a simple menu to insert image info into an xml document for a monoslideshow flash slideshow.
The menu is created from pages that contain just a page title and an image TV.
How do I include only the image name (eg name.jpg) not the full path (eg assets/images/slideshow/name.jpg)?
My ditto call is:
[[Ditto? id=`ditto-slide` &parents=`1` &depth=`2` &tpl=`slideshowH-row` ]]
My template for the image row is:
<image source="[+product-image+]" title="[+pagetitle+]" />
The product-photo TV is a TV with input type Image so that the end user can upload and view the image on the page in the manager.
The current result for the images menu is :
<image source="assets/images/slideshow/name.jpg" title="blah 1" />
<image source="assets/images/slideshow/anothername.jpg" title="blah 2" />
<image source="assets/images/slideshow/differentname.jpg" title="blah 3" />
I need the end result to look like:
<image source="name.jpg" title="blah 1" />
<image source="anothername.jpg" title="blah 2" />
<image source="differentname.jpg" title="blah 3" />
Any ideas?
Thanks in advance.