zikula-modules / Clip

Flexible Document Creator
35 stars 8 forks source link

unrecognized tag clip_content_pubtypes... #112

Closed mazdev closed 12 years ago

mazdev commented 12 years ago

When trying to to display a clip publication in Content 4.0 I receive this error: unrecognized tag clip_content_pubtypes...

also there isn't a selector (dropdownlist) for the pubtypes.

Replacing in Clip/templates/contenttype/clippub_edit.tpl line 4

{clip_content_pubtypes id='tid' group='data' mandatory=true}

with

{html_options name='tid' options=$pubtypes selected=$vars.tid}

will get rid of the error message but shows an empty selector (dropdownlist)

matheo commented 12 years ago

I guess you need to use the latest Content dev-copy, as I fixed some code there to avoid that error.

Greetings

mazdev commented 12 years ago

I just downloaded the latest content and it became worse. Now I got a fatal error saying that:

Fatal error: Class 'Clip_Content_Pubtypes' not found in .......\lib\Zikula\Form\View.php on line 348

Also it says

Zikula_Form_View->registerPlugin( ) ..\function.clip_content_pubtypes.php:27

The problem seems to be with the plugin.

matheo commented 12 years ago

Clip_Content_Pubtypes not found means not Clip 0.9.2? Need to upgrade Clip too.

mazdev commented 12 years ago

I'm using already Clip 0.9.2 with Zikula 1.3.3

The problem is in Clip/templates/contenttype/clippub_edit.tpl on line 4,

and in the Clip/templates/plugins/function.clip_content_pubtypes.php

it seems to me that the plugin doesn't get registered.

matheo commented 12 years ago

Then there's a problem with the Clip files? because Clip_Content_Pubtypes should be autodetected in the file modules/Clip/lib/Clip/Content/Pubtypes.php

mazdev commented 12 years ago

I guess the mistake was on my site. I went to Layout/themes/konfiguration and emptied all the rendered templates, but didn't make sure if they really was cleared. This time I cleared all via the folder system and it works perfect.

Thanks for a great module and you help.

matheo commented 12 years ago

You're welcome ;)