User Defined Tag problem

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
Scotto87
Forum Members
Forum Members
Posts: 11
Joined: Thu Apr 09, 2009 3:48 pm

User Defined Tag problem

Post by Scotto87 »

Hello,

I've literally just finished installing CMSmadesimple.

I've logged into the admin control panel and went to 'User Defined Tag' then I clicked on 'Add User Defined Tag'


I then put my code into the box provided and the title etc...clicked on submit and the following errors come up:
Invalid code entered.
# Parse error: syntax error, unexpected '<' in /home/redmante/public_html/cmsmadesimple/admin/adduserplugin.php(100) : eval()'d code on line 1
I've had a look at the file but can't see a problem or what could be causing this. I've also re-downloaded CMSmadesimple and replaced the file but still the problem exists.

Any ideas on sorting this?


Thanks in advance!
jmcgin51
Power Poster
Power Poster
Posts: 1899
Joined: Mon Jun 12, 2006 9:02 pm

Re: User Defined Tag problem

Post by jmcgin51 »

1. what CMSMS version did you install?

2. what exactly did you paste into your UDT?
Scotto87
Forum Members
Forum Members
Posts: 11
Joined: Thu Apr 09, 2009 3:48 pm

Re: User Defined Tag problem

Post by Scotto87 »

1) I'm using the latest, the one thats available for download on the site 1.5.4 I downloaded: cmsmadesimple-1.5.4-full.tar.gz from the list.


2) I'm pasting in code which works perfect, its a header section of my website.


Basically the way the site works at the moment without the CMS is:

I have index.php

In it I have a PHP include for the header and then the content comes below it.

I'm trying to recreate this by using the tag as the header include.

Am I doing this wrong?
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm

Re: User Defined Tag problem

Post by Nullig »

You don't really need to do this. Look in the default templates to see how the header is done.

Nullig
jmcgin51
Power Poster
Power Poster
Posts: 1899
Joined: Mon Jun 12, 2006 9:02 pm

Re: User Defined Tag problem

Post by jmcgin51 »

please paste the code you're trying to use in the UDT, exactly as you're pasting it in the UDT.
uniqu3

Re: User Defined Tag problem

Post by uniqu3 »

Maybe you forgot to remove
You dont need these in UDT
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm

Re: User Defined Tag problem

Post by Ted »

This would be solved a lot more quickly of the code used was pasted as it is in the system.  It's probably something really easy...
Post Reply

Return to “CMSMS Core”