Page 1 of 1

Where to place tags?

Posted: Sun Apr 02, 2006 8:31 pm
by magicpio
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

Re: Where to place tags?

Posted: Sun Apr 02, 2006 8:51 pm
by jah
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?

Posted: Mon Apr 03, 2006 9:58 pm
by magicpio
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: Select all

<div class="textbody">
    {random_image folder="uploads/images" width=150 align=left}
     &nbsp   
    <p class="pageheading">{title}</p>
    {content}
</div>

Re: Where to place tags?

Posted: Mon Apr 03, 2006 10:13 pm
by magicpio
Update: No, this isn´t the problem! I also get no image with non-progressive jpg and / or gif and/or tif.
Any idea?

Re: Where to place tags?

Posted: Thu Apr 06, 2006 10:19 pm
by magicpio
OK, I found out that the path was too long.
Creating a symbolic link on my Linux box solved the issue.