38 Posts
perrineco
5 years ago
3
Topic

Hello

I've got a display issue with one of my template.

I am using seblod for different content types. For one of them, when I want to display an article, I only get the fulltext field without formating.

When I compare with an article of another content type, I can find that one query is not called :

SELECT a.id, a.pk, a.pkb, a.cck, a.storage_location, a.store_id, a.author_id AS author, b.id AS type_id, b.alias AS type_alias, b.indexed, b.parent, b.stylesheets, b.options_content, b.options_intro, c.template AS content_template, c.params AS content_params, d.template AS intro_template, d.params AS intro_params, f.app as folder_app FROM pc38_cck_core AS a LEFT JOIN pc38_cck_core_types AS b ON b.name = a.cck LEFT JOIN pc38_template_styles AS c ON c.id = b.template_content LEFT JOIN pc38_template_styles AS d ON d.id = b.template_intro LEFT JOIN pc38_cck_core_folders AS f ON f.id = b.folder WHERE a.id = "2991"

it is called in 

JROOT/plugins/content/cck/cck.php:257

I understand that no cck preparecontent events are called but I don't understand why. Maybe it comes from the fields?

In the admin, I can get my admin form when I populate articles. So why is it not working in front end? I imported some articles using seblod importer but I did the same with the other content types items.

Thanks a lot for your help!!

perrine

Get a VIP membership
4229 Posts
Kadministrator
5 years ago
2
Level 1

Seblod obviously thinks this is normal joomla article as it can't find related records in it's tables. I guess something went wrong at the import or content type is broken.

38 Posts
perrineco
5 years ago
1
Level 2

thanks a lot ! 

How can I fix the content type? I saved it several times but to no avail.

I also saved again some fields. 

What should I check on the database ?

Thanks again for your help !

4229 Posts
Kadministrator
5 years ago
0
Level 3

Does it work if you create new item manually in Joomla (not by importing it) ?

Get a Book for SEBLOD