<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://belarusdotnet.org/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>SharePoint 2007</title><link>http://belarusdotnet.org/forums/20.aspx</link><description /><dc:language /><generator>CommunityServer 2007.1 (Build: 20917.1142)</generator><item><title>Re: Динамическое ECB меню</title><link>http://belarusdotnet.org/forums/thread/283.aspx</link><pubDate>Mon, 09 Feb 2009 10:07:30 GMT</pubDate><guid isPermaLink="false">ca832138-bb0f-4f16-bc28-dce9b0e1fa0a:283</guid><dc:creator>dr.gigabit</dc:creator><slash:comments>0</slash:comments><comments>http://belarusdotnet.org/forums/thread/283.aspx</comments><wfw:commentRss>http://belarusdotnet.org/forums/commentrss.aspx?SectionID=20&amp;PostID=283</wfw:commentRss><description>&lt;p&gt;&lt;font size="3" face="Times New Roman"&gt;Менять отрисовку не обязательно, нужо просто при загрузке сраницы запускать дополнительный клиентский скрипт (на window.onload или $(document).ready&amp;nbsp;если используете jQuery), который смотрит значения нужных айтемов, если они равны некому значению -- ищет меню данного айтема и скрывает пункт меню. jQuery (&lt;a href="http://jquery.com/" rel="nofollow"&gt;http://jquery.com/&lt;/a&gt;) умеет делать hide DOM элементам.&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="3" face="Times New Roman"&gt;Единственное, что это может быть очень не шустро, если в листе большое количество айтемов.&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="3" face="Times New Roman"&gt;&lt;/font&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Динамическое ECB меню</title><link>http://belarusdotnet.org/forums/thread/279.aspx</link><pubDate>Fri, 06 Feb 2009 15:44:22 GMT</pubDate><guid isPermaLink="false">ca832138-bb0f-4f16-bc28-dce9b0e1fa0a:279</guid><dc:creator>Groff</dc:creator><slash:comments>0</slash:comments><comments>http://belarusdotnet.org/forums/thread/279.aspx</comments><wfw:commentRss>http://belarusdotnet.org/forums/commentrss.aspx?SectionID=20&amp;PostID=279</wfw:commentRss><description>&lt;p&gt;Изменять стандартный js шарепоинта, отвечающий за отрисовку меню не надо - это верх глупости. Некоторые функционал из core.js можно дополнить определив собственные функции с префиксом Custom_.

Например в core.js есть стандартная функция AddListMenuItems которая отвечает за формирование менюшки айтема. В начале данной функции можно увидеть следующее:&lt;/p&gt;&lt;p&gt;if (typeof(Custom_AddListMenuItems) !=&amp;quot;undefined&amp;quot;) {&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; if (Custom_AddListMenuItems(m, ctx))
		return;&lt;/p&gt;&lt;p&gt;
}&lt;/p&gt;&lt;p&gt;



Т.е. можно определить свою функцию Custom_AddListMenuItems, которая будет добавлять собственные пункты меню. На счет скрытия менюшек пока точно сказать не могу.&lt;/p&gt;</description></item><item><title>Re: Динамическое ECB меню</title><link>http://belarusdotnet.org/forums/thread/278.aspx</link><pubDate>Fri, 06 Feb 2009 15:33:46 GMT</pubDate><guid isPermaLink="false">ca832138-bb0f-4f16-bc28-dce9b0e1fa0a:278</guid><dc:creator>paranoekk</dc:creator><slash:comments>0</slash:comments><comments>http://belarusdotnet.org/forums/thread/278.aspx</comments><wfw:commentRss>http://belarusdotnet.org/forums/commentrss.aspx?SectionID=20&amp;PostID=278</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;&lt;/p&gt;Насколько я знаю, кастомизировать это контекстное меню так же просто как и меню самого листа (написов обработчик события)&amp;nbsp; нельзя. Единственный способ который приходит на ум - это изменить javascript, который отвечает за формирование этого конекстного меню. Но править core javascript в sharepoint крайне не рекомендуется.&lt;br /&gt;</description></item><item><title>Re: Динамическое ECB меню</title><link>http://belarusdotnet.org/forums/thread/277.aspx</link><pubDate>Fri, 06 Feb 2009 15:28:37 GMT</pubDate><guid isPermaLink="false">ca832138-bb0f-4f16-bc28-dce9b0e1fa0a:277</guid><dc:creator>plus</dc:creator><slash:comments>0</slash:comments><comments>http://belarusdotnet.org/forums/thread/277.aspx</comments><wfw:commentRss>http://belarusdotnet.org/forums/commentrss.aspx?SectionID=20&amp;PostID=277</wfw:commentRss><description>&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/default/images/icon-quote.gif"&gt; &lt;strong&gt;paranoekk:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;&lt;p&gt;Доброго дня. &lt;br /&gt;&lt;/p&gt;&lt;p&gt;Под ECB подразумевается контекстное меню SPListItem&amp;#39;a?&lt;br /&gt;&lt;/p&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt; Да. Именно оно</description></item><item><title>Re: Динамическое ECB меню</title><link>http://belarusdotnet.org/forums/thread/276.aspx</link><pubDate>Fri, 06 Feb 2009 15:17:00 GMT</pubDate><guid isPermaLink="false">ca832138-bb0f-4f16-bc28-dce9b0e1fa0a:276</guid><dc:creator>paranoekk</dc:creator><slash:comments>0</slash:comments><comments>http://belarusdotnet.org/forums/thread/276.aspx</comments><wfw:commentRss>http://belarusdotnet.org/forums/commentrss.aspx?SectionID=20&amp;PostID=276</wfw:commentRss><description>&lt;p&gt;Доброго дня. &lt;br /&gt;&lt;/p&gt;&lt;p&gt;Под ECB подразумевается контекстное меню SPListItem&amp;#39;a?&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Динамическое ECB меню</title><link>http://belarusdotnet.org/forums/thread/275.aspx</link><pubDate>Fri, 06 Feb 2009 15:11:25 GMT</pubDate><guid isPermaLink="false">ca832138-bb0f-4f16-bc28-dce9b0e1fa0a:275</guid><dc:creator>plus</dc:creator><slash:comments>0</slash:comments><comments>http://belarusdotnet.org/forums/thread/275.aspx</comments><wfw:commentRss>http://belarusdotnet.org/forums/commentrss.aspx?SectionID=20&amp;PostID=275</wfw:commentRss><description>Может у кого-нибудь был опыт по работе с ECB менюшкой? Как динамически скрыть какой-нибудь пункт меню? Если, например, в поле айтема листа воркфлоу значение Approved, то прятать пункт меню &amp;quot;Workflows&amp;quot;</description></item></channel></rss>