PDA

View Full Version : new phrase in notice system


kamilkurczak
12-31-2010, 08:46 AM
Hello,
I would like to make my own options in notice system..
I know which hook I should use etc. but the problem is with the phrase

example:
in hook notices_list_criteria I made
$criteria_options['new_browsing_forum_in_language'] = array(

and in product.xml file I made:
<phrasetype name="Notices" fieldname="notice">
<phrase name="new_browsing_forum_in_language"
username="user" version="3.3.5"><![CDATA[User is browsing forum in language]]></phrase>
</phrasetype

and this phrase is not displayed.. What i should do?

kh99
12-31-2010, 10:28 AM
I think the phrase name just needs to end with '_criteria' (in the product.xml, not in the $criteria_options array).

kamilkurczak
01-05-2011, 07:59 AM
it is working.. thank you