![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
ezpublish
文章平均质量分 77
pengbihao
这个作者很懒,什么都没留下…
展开
-
ez Content action handlers
<br />Content action handlers are always placed in an extension.settings file path: myextension/settings/content.ini.append.phpsetting: [ActionSettings] ExtensionDirectories[]= myextensionPHP file path: myextension/actions/content_actionhandler.phpPHP func原创 2011-01-13 13:05:00 · 505 阅读 · 0 评论 -
how to fetch all ancestor node id of a node(ezcontentobjecttreenode).
$node.path_array原创 2011-01-13 13:21:00 · 402 阅读 · 0 评论 -
when the preview menu is diabled in BO, you can add this setting to enabled it
To enable users to change their Administration Interface preferences (for example their preview tab preferences), add the following line to the [Toolbar_admin_right] block in settings/siteaccess//toolbar.ini.append.php:Tool[]=admin_preferencesSo th原创 2011-01-13 13:23:00 · 751 阅读 · 0 评论 -
ezpublish script
/* here is a example of how to write a script for ezpublish by pengbihao.*/require 'autoload.php';$isQuiet = false;$cli = eZCLI::instance();$script = eZScript::instance( array( 'description' => ( "eZ Publish EzOE Update Custom Tags/n" .原创 2011-01-13 13:24:00 · 406 阅读 · 0 评论 -
a bug of ez4.3
<br />in ez4.3,when you remove a location of a node,it will get a error:<br />I had the PHP fatal errors : <br />Fatal error: Call to undefined method eZSearchEngine::removeNodes() in /home/www/sites/acl.lu/www/html/kernel/content/ezcontentoperationcol原创 2011-01-13 13:03:00 · 349 阅读 · 0 评论 -
use a Content action handlers to add comment for node
the config of Content action handlers,you can check http://blog.csdn.net/pengbihao/archive/2011/01/13/6134436.aspxin template,the form should like this:Poster un commentaire原创 2011-01-13 13:12:00 · 2110 阅读 · 0 评论 -
Extended Attribute Filters in eZ Publish
<br />For a previous article I covered the various ways you can export user data using eZ Publish. In the article, I suggested how you can export all users who have logged in over the previous month using an extended attribute filter. In this article转载 2011-01-14 19:03:00 · 766 阅读 · 0 评论 -
ezpublish fetch object filter by user's avtive status
<br />content_actionhandler.php:<br /><?php /* #?ini charset="iso-8859-1"?#Filter Name:[user_is_enabled]#Where it is stored (our current extension)ExtensionName=intranet#The name of the class in which we will store the filterClassName=UserFilte原创 2011-01-14 19:09:00 · 419 阅读 · 0 评论 -
main_node of ez object
<br />{foreach $all_child_nodes as $key=>$child_node} {*append all the child node to an array*} {set $children_node_arr=$children_node_arr|append($child_node.node_id)} {if$child_node.is_main} {if count($child_node.object.assigned_nodes)|eq(2)}原创 2011-01-13 19:38:00 · 354 阅读 · 0 评论