Album- getting rid of the {cms_module module='album'} on subsequent pages

Talk about writing modules and plugins for CMS Made Simple, or about specific core functionality. This board is for PHP programmers that are contributing to CMSMS not for site developers
Post Reply
mikemcvey
Forum Members
Forum Members
Posts: 61
Joined: Tue May 02, 2006 4:08 am

Album- getting rid of the {cms_module module='album'} on subsequent pages

Post by mikemcvey »

Hi I have a problem that I'm sure others must be having.

When I insert the tag
{cms_module module='album'}
It works fine in the album list page.
However on the picture/thumbnail page the {cms_module module='album'} turns up as text on the page.

This has something to do with it reading it as text and not a cms call. Any ideas about how to fix this problem??

Any ideas greatly appreciated. I don't seem to remember this problem in version 12 (I'm on 13).

Mike
User avatar
Elijah Lofgren
Power Poster
Power Poster
Posts: 811
Joined: Mon Apr 24, 2006 1:01 am
Location: Deatsville, AL

Re: Album- getting rid of the {cms_module module='album'} on subsequent pages

Post by Elijah Lofgren »

mikemcvey wrote: Hi I have a problem that I'm sure others must be having.

When I insert the tag
{cms_module module='album'}
It works fine in the album list page.
However on the picture/thumbnail page the {cms_module module='album'} turns up as text on the page.

This has something to do with it reading it as text and not a cms call. Any ideas about how to fix this problem??

Any ideas greatly appreciated. I don't seem to remember this problem in version 12 (I'm on 13).

Mike
This was caused by a new feature I had added to Album, which was to show the content of the page from which Album was called above the Album pictures. When I first wrote it I only stripped out the call to Album that used double quotes (I.E. I assumed double quotes like: module="album")

This has been fixed in the SVN version of Album.

You can just download 'action.default.php' from this page and replace your current modules/Album/action.default.php file with it: http://viewsvn.cmsmadesimple.org/viewsv ... iew=markup

I would release a new version of Album, but I'd like to get this done first: http://dev.cmsmadesimple.org/tracker/in ... 7&atid=728
Maybe if I have enough time today I may do it.

Let me know if you have any more problems.
Note: I don't have time to take on any more projects. I'm quite busy. I may be too busy to reply to emails or messages. Thanks for your understanding. :)
mikemcvey
Forum Members
Forum Members
Posts: 61
Joined: Tue May 02, 2006 4:08 am

Re: Album- getting rid of the {cms_module module='album'} on subsequent pages

Post by mikemcvey »

Thanks! 

Worked a treat. Thanks for the module.. it's great!

Mike
Post Reply

Return to “Developers Discussion”