Hi,
When I call Cataloger module in another page's content area, it shows like that error "string(65) "Smarty error: unable to read resource: "module_db_tpl:Cataloger;""".
I don't know what to do?
Thanx for answers.
"Smarty error: unable to read resource: "module_db_tpl:Cataloger;""
Re: "Smarty error: unable to read resource: "module_db_tpl:Cataloger;""
How did you call the module?
There is a template missed in the database.
There is a template missed in the database.
Re: "Smarty error: unable to read resource: "module_db_tpl:Cataloger;""
Module's name Cataloger.
I used help's instructions. There're written
The syntax for a "most recently added" list is like:
{cms_module module='Cataloger' action='recent' sub_template='my_sub_template'}, where sub_template is the template to use to render the list. There are two optional parameters, count='3' alias='page_alias', where count is the number of items to include, and page_alias indicates the top of the tree (e.g., a place in your menu hierarchy, typically a category page) in which to look for new items. A special value for "page_alias" is "/", which means to use all pages in the site.
and when I added this code "{cms_module module='Cataloger' action='recent'}", it showed me
that error in below.
Am I should use template. I don't know what to do
Thanx for your help NaN
I used help's instructions. There're written
The syntax for a "most recently added" list is like:
{cms_module module='Cataloger' action='recent' sub_template='my_sub_template'}, where sub_template is the template to use to render the list. There are two optional parameters, count='3' alias='page_alias', where count is the number of items to include, and page_alias indicates the top of the tree (e.g., a place in your menu hierarchy, typically a category page) in which to look for new items. A special value for "page_alias" is "/", which means to use all pages in the site.
and when I added this code "{cms_module module='Cataloger' action='recent'}", it showed me
that error in below.
Am I should use template. I don't know what to do

Thanx for your help NaN

Re: "Smarty error: unable to read resource: "module_db_tpl:Cataloger;""
I haven't used Cataloger yet.
It seems that if no template is specified a default template is used that doesn't exist.

So did you try to specify a template when calling the module?
It seems that if no template is specified a default template is used that doesn't exist.

So did you try to specify a template when calling the module?
Re: "Smarty error: unable to read resource: "module_db_tpl:Cataloger;""
When I looked inside db, there're 3 or 4 templates.
And I tried to call one of them. But there is no result
.
And I tried to call one of them. But there is no result

Re: "Smarty error: unable to read resource: "module_db_tpl:Cataloger;""
NRGy you need to specify your sub_template
Code: Select all
{cms_module module='Cataloger' action='recent' sub_template='YOUR TEMPLATE' count='3' alias='/'}
Important Code of Conduct
Why don't use CMSMS Docs or search?
Do you read Help?
Admin for Swedish Translations Team
Moderator Swedish Forum
After your problem is solved, push the green button
Why don't use CMSMS Docs or search?
Do you read Help?
Admin for Swedish Translations Team
Moderator Swedish Forum
After your problem is solved, push the green button
Re: "Smarty error: unable to read resource: "module_db_tpl:Cataloger;""
Hi Coldman,
I used this code
and also
but, there're no result. No error, no result. I don't know what to do 
I used this code
Code: Select all
{cms_module module='Cataloger' action='random' sub_template='Category-Table-based' count='4'}
Code: Select all
{cms_module module='Cataloger' action='recent' sub_template='Category-Table-based' count='4'}

Re: "Smarty error: unable to read resource: "module_db_tpl:Cataloger;""
You need alias='/' or alias='YOUR CATEGORY"
Coldman wrote: NRGy you need to specify your sub_template
Code: Select all
{cms_module module='Cataloger' action='recent' sub_template='YOUR TEMPLATE' count='3' alias='/'}
Last edited by Coldman on Sun Aug 16, 2009 11:10 am, edited 1 time in total.
Important Code of Conduct
Why don't use CMSMS Docs or search?
Do you read Help?
Admin for Swedish Translations Team
Moderator Swedish Forum
After your problem is solved, push the green button
Why don't use CMSMS Docs or search?
Do you read Help?
Admin for Swedish Translations Team
Moderator Swedish Forum
After your problem is solved, push the green button