Page 1 of 1

Custom fields

Posted: Thu Mar 01, 2007 9:30 pm
by chasy
I put this {$entry.properties.ep_MyCustomField1} in entries.tpl
and I can´t se my text.

what have I don wrong?


Ingalill

http://www.necessities.info/blogs/

Re: Custom fields

Posted: Thu Mar 01, 2007 9:40 pm
by garvinhicking
Hi!

Did you follow all theother steps? Configure the entryproperties plugin to have a "MyCustomField1" value, create an entry where you entered something in that field?

Regards,
Garvin

Custom field

Posted: Thu Mar 01, 2007 10:29 pm
by chasy
yes, when i write article , CustomField1 ( I test to press media and this comes upp /blogs/uploads/Hstarna/P1000647.serendipityThumb.jpg

Have I mis something

Re: Custom field

Posted: Thu Mar 01, 2007 10:48 pm
by garvinhicking
Hi!

You must call the Field exactly like in your entry. Do not call it CustomField1, but call it MyCustomField1!

Regards,
Garvin

Posted: Thu Mar 01, 2007 10:56 pm
by chasy
If I do

{$entry.properties.ep_MyCustomField1} I se nothing

{$entry.properties.ep_CustomField2} I se text in my blog

Posted: Thu Mar 01, 2007 11:01 pm
by garvinhicking
Hi!

Yes, of course. You need to keep your names in synch. MyCustomFieldX is not the same like CustomFieldX!

Keep the names the same. Variables are named like the original property name you entered in the configuration, only the 'ep_' is prefixed there.

Regards,
Garvin

Posted: Thu Mar 01, 2007 11:28 pm
by chasy
Hmm I am a bit confused, it work well like this

ingalill {$entry.properties.ep_ingalill}
eniro {$entry.properties.ep_eniro}
sega {$entry.properties.ep_sega}

but I can´t use media button , but html code

Posted: Thu Mar 01, 2007 11:30 pm
by garvinhicking
Hi!

I'm confused, can you describe more detailed what you mean? What do you want to achieve, and what do you enter where?

Regards,
Garvin

testig custom field

Posted: Thu Mar 01, 2007 11:48 pm
by chasy
Im just testing plugin Extended properties for entries
if I have understand rigth I can use som text or images in (custom fields)

In entries.tpl I put {$entry.properties.ep_ingalill} wher I whant it to show up.

I´m just confusing over that it works this way {$entry.properties.ep_ingalill}

and not this way {$entry.properties.ep_Myingalill}

The plugin have good explaining but that not works on my page

sorry for bad english

Re: testig custom field

Posted: Thu Mar 01, 2007 11:51 pm
by garvinhicking
Hi!

Inside the Extended properties plugin you enter names like "Customfield1, Customfield2, Customfield3". Exactly the name you entered you must use in your entries.tpl

$entry.propertiy.ep_Customfield1, $entry.propertiy.ep_Customfield2 and $entry.propertiy.ep_Customfield3.

The "MyCustomField" was just an example of the plugin which required that you configured "MyCustomField" inside the plugin configuration.

Bestregards,
Garvin

Posted: Thu Mar 01, 2007 11:57 pm
by chasy
Ops sorry , I like to try the plugin, I read carfully but some times I´m not understand.

It works great and now I se more possibilitis with the tpl.

Thanks for your help

Ingalill