首页
\
问答
\
FlyoutAnchor子菜单项中的图像 - CRM 2011功能区(Images in FlyoutAnchor submenu items – CRM 2011 ribbon)
FlyoutAnchor子菜单项中的图像 - CRM 2011功能区(Images in FlyoutAnchor submenu items – CRM 2011 ribbon)
是否可以在FlyoutAnchor子菜单中显示项目旁边的图像?
我尝试在子菜单中使用与常规项相同的属性,但它对我不起作用。
有任何想法吗? 谢谢
<FlyoutAnchor Id="myFlyoutOtherAct" ToolTipTitle="$Resources:Ribbon.HomepageGrid.Add.Related.OtherActivities" ToolTipDescription="" LabelText="$Resources:Ribbon.HomepageGrid.Add.Related.OtherActivities" Alt="$Resources:Ribbon.HomepageGrid.Add.Related.OtherActivities" Sequence="80" Command="Mscrm.Enabled" Image16by16="/_imgs/ribbon/customactivity_16.png" Image32by32="/_imgs/ribbon/customactivity_32.png" TemplateAlias="c9"> <Menu Id="myMenuOtherAct"> <MenuSection Id="myMenuSectOtherAct" Title="OtherActivities" Sequence="15"> <Controls Id="myControlsOtherAct"> <Button Id="myButtonLetter" Command="Mscrm.CreateLetter" ToolTipTitle="{!EntityDisplayName:letter}" ToolTipDescription="" LabelText="{!EntityDisplayName:letter}" Alt="{!EntityDisplayName:letter}" **Image16by16="/_imgs/ribbon/entity16_4207.png" Image32by32="/_imgs/ribbon/entity32_4207.png"** TemplateAlias="isv" Sequence="10"/>
...
Is it possible to display images next to items in FlyoutAnchor submenu?
I try to use same attributes for the Button element in submenu as for the regular one and it doesn’t work for me.
Any ideas? Thanks
<FlyoutAnchor Id="myFlyoutOtherAct" ToolTipTitle="$Resources:Ribbon.HomepageGrid.Add.Related.OtherActivities" ToolTipDescription="" LabelText="$Resources:Ribbon.HomepageGrid.Add.Related.OtherActivities" Alt="$Resources:Ribbon.HomepageGrid.Add.Related.OtherActivities" Sequence="80" Command="Mscrm.Enabled" Image16by16="/_imgs/ribbon/customactivity_16.png" Image32by32="/_imgs/ribbon/customactivity_32.png" TemplateAlias="c9"> <Menu Id="myMenuOtherAct"> <MenuSection Id="myMenuSectOtherAct" Title="OtherActivities" Sequence="15"> <Controls Id="myControlsOtherAct"> <Button Id="myButtonLetter" Command="Mscrm.CreateLetter" ToolTipTitle="{!EntityDisplayName:letter}" ToolTipDescription="" LabelText="{!EntityDisplayName:letter}" Alt="{!EntityDisplayName:letter}" **Image16by16="/_imgs/ribbon/entity16_4207.png" Image32by32="/_imgs/ribbon/entity32_4207.png"** TemplateAlias="isv" Sequence="10"/>
...
原文:https://stackoverflow.com/questions/11154490
更新时间:2022-06-24 10:06
最满意答案
以下应该可以解决问题。 但是,请注意上传文件名中的冲突,因为问题未指定目标网址中的不同月份和日期。
RewriteEngine on RewriteRule ^upload/([0-9]*)/[0-9]*/[0-9]*/(.*.gif)$ "https://i.domain.com/galleries/$1/big/$2" RedirectMatch "^/galleries/directory(.)/(.*\.gif)$" "https://i.domain.com/galleries/$1/big/$2"
The below should do the trick. However, be careful of collisions in file names from your uploads as the question doesn't specify different months and days in the target url.
RewriteEngine on RewriteRule ^upload/([0-9]*)/[0-9]*/[0-9]*/(.*.gif)$ "https://i.domain.com/galleries/$1/big/$2" RedirectMatch "^/galleries/directory(.)/(.*\.gif)$" "https://i.domain.com/galleries/$1/big/$2"
相关问答
更多-
Apache .htaccess重定向包含参数的URL目录(Apache .htaccess redirect URL directories containing parameters)[2023-07-04]
您可以使用以下规则集: RewriteEngine On RewriteCond %{QUERY_STRING} ^a=1$ RewriteRule /some/thing http://something-else.com/blah [L] 这确实是一个很常见的问题,人们倾向于忽略QUERY_STRING变量。 你以前试过吗? You can use the following rule-set: RewriteEngine On RewriteCond %{QUERY_STRING} ^a=1$ ... -
对于dashboard我可以使用Alias指令解决这个问题
DocumentRoot /var/www/html Alias /dashboard /var/www/example/public For dash ...Order allow,deny Allow from all -
你可以试试这个: Options +FollowSymlinks RewriteEngine On RewriteBase / RewriteCond %{REQUEST_URI} !page\.php [NC] RewriteCond %{REQUEST_URI} ^/uploads/([^/]+)/? [NC] RewriteRule . page.php?url=uploads/%1 [L] 静静地映射 http://null.com/uploads/someimage.jp ...
-
将子文件夹的所有内容重定向到根目录中的匹配URL(Redirect all contents of subfolder to matching urls in root directory)[2021-10-28]
您可以在DOCUMENT_ROOT/.htaccess文件中使用此单个规则(商店上方的级别): RewriteEngine On RewriteRule ^store(/.*)?$ $1 [L,NC] You can use this single rule in your DOCUMENT_ROOT/.htaccess file (a level above store): RewriteEngine On RewriteRule ^store(/.*)?$ $1 [L,NC] -
2个选项: 将/content/css , /content/image , /content/js到/resources/css等。要修复现有JSP中的URL,只需使用find和replace smart方式即可。 应该是一分钟的工作。 将servlet的URL模式/content/*更改为其他内容,例如/pages/* 。 如果您想保留现有的网址,请在/content/*上添加一个过滤器,它基本上会执行以下操作: String uri = ((HttpServletRequest) request).g ...
-
以下应该可以解决问题。 但是,请注意上传文件名中的冲突,因为问题未指定目标网址中的不同月份和日期。 RewriteEngine on RewriteRule ^upload/([0-9]*)/[0-9]*/[0-9]*/(.*.gif)$ "https://i.domain.com/galleries/$1/big/$2" RedirectMatch "^/galleries/directory(.)/(.*\.gif)$" "https://i.domain.com/galleries/$1 ...
-
如何将旧URL重定向到新URL(root->子目录)?(How to redirect the old URLs to new one (root->subdirectory)?)[2024-05-15]
您只需使用Redirect 301 : Redirect 301 /login.html http://example.com/new/login.html Redirect 301 /page/about.html http://example.com/new/page/about.html 这些是永久重定向。 确保它是一个烫发,而不是你想做的临时重定向。 如果是临时重定向,则使用Redirect 302 。 You would just use Redirect 301: Redirect 301 / ... -
试试这个,让我知道它是否正常工作。
Options +FollowSymLinks RewriteEngine On RewriteBase / # /filtro/?marca=999 -> /celulares?marca=999 RewriteCond %{QUERY_STRING} .*marca=(\d+).* [NC] RewriteRule ^filtro/$ /celulares/?marca=%1 [R=301,L,NC] 您可以添加一个RewriteCond来排除特定的文件扩展名,如下所示: RewriteCond %{REQUEST_URI} !(\.jpg|\.png)$ [NC] 请务必使用您要允许的所有图像扩展名对其进行扩展。 You can add a RewriteCond to exclude specific file extensions like this: RewriteCond %{REQUEST_URI} !(\.jpg|\.png)$ [NC] Be sure to extend it wit ...正如评论中所提到的,您的初始指令本身应该按预期工作。 /parent/child2 , /parent/child2/或/parent/child2/anything都不应重定向。 但是,由于您有“其他指令”,包括“前端控制器”,因此可能存在冲突。 特别是因为你的前端控制器可能使用mod_rewrite而RedirectMatch是一个mod_alias指令。 尽管.htaccess的明显顺序,mod_rewrite将始终首先执行。 但是这些重定向应该首先在前端控制器之前执行。 尝试将其更改为mod_rew ...相关文章
更多- 微信CRM六大模块的详解
- 企业微信、移动oa、移动社交crm全新解决方案隆重发布
- 请教:android与业务系统(如CRM或电子政务项目)互通问题
- 2011-5-16工作笔记
- Cheatsheet: 2011 12.01 ~ 12.12
- Cheatsheet: 2011 05.01 ~ 05.09
- Cheatsheet: 2011 04.20 ~ 04.29
- Cheatsheet: 2011 04.11 ~ 04.19
- 2011年Android手机将会爆炸式增长
- 2011-12年 中国Hadoop应用趋势调查报告
最新问答
更多- 您如何使用git diff文件,并将其应用于同一存储库的副本的本地分支?(How do you take a git diff file, and apply it to a local branch that is a copy of the same repository?)
- 将长浮点值剪切为2个小数点并复制到字符数组(Cut Long Float Value to 2 decimal points and copy to Character Array)
- OctoberCMS侧边栏不呈现(OctoberCMS Sidebar not rendering)
- 页面加载后对象是否有资格进行垃圾回收?(Are objects eligible for garbage collection after the page loads?)
- codeigniter中的语言不能按预期工作(language in codeigniter doesn' t work as expected)
- 在计算机拍照在哪里进入
- 使用cin.get()从c ++中的输入流中丢弃不需要的字符(Using cin.get() to discard unwanted characters from the input stream in c++)
- No for循环将在for循环中运行。(No for loop will run inside for loop. Testing for primes)
- 单页应用程序:页面重新加载(Single Page Application: page reload)
- 在循环中选择具有相似模式的列名称(Selecting Column Name With Similar Pattern in a Loop)
- System.StackOverflow错误(System.StackOverflow error)
- KnockoutJS未在嵌套模板上应用beforeRemove和afterAdd(KnockoutJS not applying beforeRemove and afterAdd on nested templates)
- 散列包括方法和/或嵌套属性(Hash include methods and/or nested attributes)
- android - 如何避免使用Samsung RFS文件系统延迟/冻结?(android - how to avoid lag/freezes with Samsung RFS filesystem?)
- TensorFlow:基于索引列表创建新张量(TensorFlow: Create a new tensor based on list of indices)
- 企业安全培训的各项内容
- 错误:RPC失败;(error: RPC failed; curl transfer closed with outstanding read data remaining)
- C#类名中允许哪些字符?(What characters are allowed in C# class name?)
- NumPy:将int64值存储在np.array中并使用dtype float64并将其转换回整数是否安全?(NumPy: Is it safe to store an int64 value in an np.array with dtype float64 and later convert it back to integer?)
- 注销后如何隐藏导航portlet?(How to hide navigation portlet after logout?)
- 将多个行和可变行移动到列(moving multiple and variable rows to columns)
- 提交表单时忽略基础href,而不使用Javascript(ignore base href when submitting form, without using Javascript)
- 对setOnInfoWindowClickListener的意图(Intent on setOnInfoWindowClickListener)
- Angular $资源不会改变方法(Angular $resource doesn't change method)
- 在Angular 5中不是一个函数(is not a function in Angular 5)
- 如何配置Composite C1以将.m和桌面作为同一站点提供服务(How to configure Composite C1 to serve .m and desktop as the same site)
- 不适用:悬停在悬停时:在元素之前[复制](Don't apply :hover when hovering on :before element [duplicate])
- 常见的python rpc和cli接口(Common python rpc and cli interface)
- Mysql DB单个字段匹配多个其他字段(Mysql DB single field matching to multiple other fields)
- 产品页面上的Magento Up出售对齐问题(Magento Up sell alignment issue on the products page)