Custom content tag

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
jbrunink
New Member
New Member
Posts: 3
Joined: Sun Aug 08, 2010 4:47 pm

Custom content tag

Post by jbrunink »

Hi,

I've created an custom content tag in CMS Made Simple, because of using that tag the editor isnt available in the administratorpanel. Is there an possibility to override this, or to hardcore my custom content into CMSMadeSimple?

I am using CMS Made Simple 1.8.1 "Mankara".

Grt,

Jurgen
Jos
Support Guru
Support Guru
Posts: 4020
Joined: Wed Sep 05, 2007 8:03 pm

Re: Custom content tag

Post by Jos »

What do you mean by custom content? What does your "custom content tag" look like?
jbrunink
New Member
New Member
Posts: 3
Joined: Sun Aug 08, 2010 4:47 pm

Re: Custom content tag

Post by jbrunink »

Hi,

Sorry for the late response.

My custom content tag looks like this; http://yourpaste.net/5947/. It's for a custom news module on the frontpage, nasty coded and some workarounds but it does the trick. Except that CMS Made Simple only recognizes {content} in the newer versions and thus disables the editor.

Any idea's?

Gr,

Jurgen
Jos
Support Guru
Support Guru
Posts: 4020
Joined: Wed Sep 05, 2007 8:03 pm

Re: Custom content tag

Post by Jos »

looks like some pretty advanced custom coding you have there :)

You could try to trick the system by adding a {content assign=yourvar} to the template.

That way it won't give you an error message for not having found the content tag, and it won't be displayed in the frontend because it will only be assigned to a variable.
Last edited by Jos on Sun Aug 22, 2010 1:00 pm, edited 1 time in total.
jbrunink
New Member
New Member
Posts: 3
Joined: Sun Aug 08, 2010 4:47 pm

Re: Custom content tag

Post by jbrunink »

Okay, thanks, it worked.

Grt,

Jurgen
Post Reply

Return to “CMSMS Core”