Where to place tags?

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
magicpio
Forum Members
Forum Members
Posts: 30
Joined: Mon Dec 05, 2005 7:54 pm

Where to place tags?

Post 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
jah
Forum Members
Forum Members
Posts: 147
Joined: Thu Dec 30, 2004 9:09 am
Location: Norway

Re: Where to place tags?

Post 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.
magicpio
Forum Members
Forum Members
Posts: 30
Joined: Mon Dec 05, 2005 7:54 pm

Re: Where to place tags?

Post 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>
magicpio
Forum Members
Forum Members
Posts: 30
Joined: Mon Dec 05, 2005 7:54 pm

Re: Where to place tags?

Post 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?
magicpio
Forum Members
Forum Members
Posts: 30
Joined: Mon Dec 05, 2005 7:54 pm

Re: Where to place tags?

Post by magicpio »

OK, I found out that the path was too long.
Creating a symbolic link on my Linux box solved the issue.
Post Reply

Return to “Modules/Add-Ons”