Hello,
I'm trying to create a plugin so i can use e.g. this code:
[[Slider? &SliderImage=`slider/image.jpg` &SliderTitle=`The <span class="titlecolor">Best</span>` &SliderSubTitle=`Lorem ipsum dolor
sit amet` &SliderText=`Lorem ipsum dolor sit amet, consectetur adipisicing elit` &SliderDocNr=``]]
This should be the output, where i have changes the output text to the variables over:
<li>
<div class="header-left">
<div class="slider-image"><img src="&SliderImage" alt="" /></div>
</div>
<div class="header-right">
<h1>&SliderTitle</h1>
<h2>&SliderSubTitle</h2>
<p>&SliderText</p>
<a href="&SliderDocNr" class="button">Read More</a>
</div>
</li>
Then I want to use GetRecources or similar to create a resource folder named Slides (lets say with container ID 5), and for every new document i add inside container 5, the system will add a new slide to my template.
I hope you guys understand and can help me do this. If i understand this one think, it will help de do alot of other things I also want to do
[ed. note: tropicaljuice last edited this post 15 years ago.]