Page 1 of 1
"Smarty error: unable to read resource: "module_db_tpl:Cataloger;""
Posted: Thu Aug 06, 2009 8:59 am
by NRGy
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.
Re: "Smarty error: unable to read resource: "module_db_tpl:Cataloger;""
Posted: Thu Aug 06, 2009 1:04 pm
by NaN
How did you call the module?
There is a template missed in the database.
Re: "Smarty error: unable to read resource: "module_db_tpl:Cataloger;""
Posted: Fri Aug 07, 2009 9:21 am
by NRGy
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
Re: "Smarty error: unable to read resource: "module_db_tpl:Cataloger;""
Posted: Sat Aug 08, 2009 1:46 pm
by NaN
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?
Re: "Smarty error: unable to read resource: "module_db_tpl:Cataloger;""
Posted: Mon Aug 10, 2009 7:34 am
by NRGy
When I looked inside db, there're 3 or 4 templates.
And I tried to call one of them. But there is no result

.
Re: "Smarty error: unable to read resource: "module_db_tpl:Cataloger;""
Posted: Mon Aug 10, 2009 8:02 am
by Coldman
NRGy you need to specify your sub_template
Code: Select all
{cms_module module='Cataloger' action='recent' sub_template='YOUR TEMPLATE' count='3' alias='/'}
Re: "Smarty error: unable to read resource: "module_db_tpl:Cataloger;""
Posted: Sat Aug 15, 2009 7:29 am
by NRGy
Hi Coldman,
I used this code
Code: Select all
{cms_module module='Cataloger' action='random' sub_template='Category-Table-based' count='4'}
and also
Code: Select all
{cms_module module='Cataloger' action='recent' sub_template='Category-Table-based' count='4'}
but, there're no result. No error, no result. I don't know what to do

Re: "Smarty error: unable to read resource: "module_db_tpl:Cataloger;""
Posted: Sun Aug 16, 2009 11:08 am
by Coldman
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='/'}