Sorry for this dumb question, but where do I place a tag I´ve
downloaded from the CMSMS development section (i.e. "random image")?
Into %document root%/cmsms/plugins ?
Or do I create a new user defined tag in the admin section and
copy-paste the contents from the downloaded file into the edit area?
I tried both, but without success.
Could you point me to the appropriate documentation?
Thanks
Pio
Where to place tags?
Re: Where to place tags?
There seems to be a problem with the tag you are referring to. The name of the php file you downloaded is: function.random_image_1.1.php. Rename this to function.random_image.php and place it in the plugins directory. If you now open Extensions -> Tags in the admin panel it should be listed. Click help in the list to see how to use it.
Re: Where to place tags?
Thanks. Now the tag is recognised, but when I use it the image is not shown, only a red cross (in firefox and IE). I´m using progressive JPG, might that be the problem?
Code in template is:
Code in template is:
Code: Select all
<div class="textbody">
{random_image folder="uploads/images" width=150 align=left}
 
<p class="pageheading">{title}</p>
{content}
</div>
Re: Where to place tags?
Update: No, this isn´t the problem! I also get no image with non-progressive jpg and / or gif and/or tif.
Any idea?
Any idea?
Re: Where to place tags?
OK, I found out that the path was too long.
Creating a symbolic link on my Linux box solved the issue.
Creating a symbolic link on my Linux box solved the issue.