10 years ago
4
Topic

Hi all,

i would like to show an intro with some fields of my custom content type. I added these fields to topbody section of content type's intro tab. I wrote a topbody.php and placed it into /templates/seb_one/positions/mycontenttype/intro/

Now i have a category blog menu item that point to the category where i placed my articles. When i click on this menu item it display only article title and a 0000-00-00… timestamp that is the content of interotext field of #cck_content table. 

What am i wrongin?

I'm using joomla 3.3.1 and seblod 3.3.5.

Thanks in advance.

X_Ch4n

Get a VIP membership
693 Posts
rpoy
10 years ago
3
Level 1

Hi X_Ch4n,

Do you have fields in MainBody too?  If not try adding fields to the mainbody.

Hope that helps,

Randy

10 years ago
2
Level 2

Hi Randy,

thanks for your answer.

I tried to move every intro fields to mainbody and uploaded mainbody.php to the right place but nothing changed…. 

Regards

X_Ch4n

693 Posts
rpoy
10 years ago
1
Level 3

Hi X_Ch4n,

First verify that the content type is displaying properly by renaming your mainbody.php to something like mainbody_bac. If that works, then there is an error with the custom template.

thanks,

Randy

10 years ago
0
Level 4

Hi Randy,

i found that for some f…ed reason the introtext mysql field was of datetime type instead of mediumtext so seblod can't write on it. Now, i changed the field type to mediumtext, filled every line with ::cck::XX::/cck:: string and intro was automagically displayed. 

Ok, now i have to try to insert a new article to verify if seblod will write the correct string into introtext mysql field. i'll tell if everything works or not.

Thanks a lot.

X_Ch4n

Get a VIP membership