首页 \ 问答 \ 主页面SharePoint2010-显示内容(master-pages SharePoint2010- Show content)

主页面SharePoint2010-显示内容(master-pages SharePoint2010- Show content)

我已经为SharePoint 2010创建了一个新的母版页。现在我只是想让它工作。 我想显示谁修改了页面以及何时修改。 这适用于此代码:

<SharePointWebControls:DateTimeField FieldName="Modified" runat="server" ControlMode="Display"/>

通过

<SharePointWebControls:UserField FieldName="Modified By" runat="server" ControlMode="Display"/>

但我的问题是,当我用我的主页面加载SP页面时,这部分页面会停留0.5秒然后消失。 我的问题是:你知道如何通过内容修改和修改我的网站吗?

谢谢你的帮助!


I have created a new master page to SharePoint 2010. Right now I'm just trying to make it work. I want to display who modified the page and when. This works great whit this code:

<SharePointWebControls:DateTimeField FieldName="Modified" runat="server" ControlMode="Display"/>

by

<SharePointWebControls:UserField FieldName="Modified By" runat="server" ControlMode="Display"/>

But my problem is that when i Load the SP-page with my master-Page this part of the page stays for 0.5 seconds and then disappears. My question is: Do you know how I can make the modified and modified by content to stay on my site?

Thanks for your help!


原文:https://stackoverflow.com/questions/21454030
更新时间:2024-02-25 13:02

最满意答案

在您的代码中添加了clearfix div后,您只需添加css以清除:

.tm-extra-product-options .cpfclear {
    float: none;
}

There are clearfix div added in your code after your select box so that just add css for clear that:

.tm-extra-product-options .cpfclear {
    float: none;
}

相关问答

更多
  • 确保你的标签中有body_class()如下所示: > Make sure you have body_class() into your tag like this : >
  • 使用开发工具检查元素,您有以下错误: 无法加载资源:服务器响应状态为500(内部服务器错误) http://www.doctor-detail.com/wp-content/themes/mandingo/assets/js/frontend/add-to-cart。 min.js无法加载资源:服务器响应状态为500(内部服务器错误) http://www.doctor-detail.com/wp-content/themes/mandingo/assets/js/frontend/single-produ ...
  • 好的,我现在已经修好了。 这是一个Dreamweaver问题,当克隆文件并重命名时,Dreamweaver似乎没有赶上更新链接。 我已经手动重写了引用,它正在工作,谢谢你的帮助! OK, I have fixed this now. It was a dreamweaver issue, when cloning the file and renaming it, dreamweaver didn't seem to catch up with updating the links. I have sinc ...
  • 在您的代码中添加了clearfix div后,您只需添加css以清除: .tm-extra-product-options .cpfclear { float: none; } There are clearfix div added in your code after your select box so that just add css for clear that: .tm-extra-product-options .cpfclear { float: none; }
  • 你可以放置checkbox的position: absolute 。 .checkbox { display: inline-block; vertical-align: top; padding-left: 25px; position: relative; } .checkbox input { position: absolute; left: 0; top: 0; }
  • 如果产品名称足够长或者使用“产品名称这么长......”,请尝试打破产品名称,以便以这种方式显示产品名称。或者更好地覆盖您的子主题上的模板archive.php。 try to break the product name if the product name is long enough or use 'product name so long..... ' this way to display product name.or better to override the template archi ...
  • 我通过添加此代码解决了它: //Uppercase correction for Greek language String.prototype.replaceArray = function(find, replace){ var replaceString = this; for (var i = 0; i < find.length; i++){ replaceString = replaceString.replace(find[i], ...
  • 我已经测试了你的代码,我已经改变了一点这一部分,以获得权重: add_action( 'woocommerce_product_meta_end', 'showtest', 10 ); function showtest(){ global $product; $prweight = $product->weight; // or // $prweight = $product->get_weight(); echo '
    要在woocommerce页面上定位菜单元素,您应该尝试这样的事情(假设#top-menu是#top-menu的ID: body.woocommerce #top-menu a, body.woocommerce-page #top-menu a { color: #000 !important; } 希望这可以帮助 To target the elements of your menu on woocommerce pages, you should try something like t ...
  • 首先,你的问题非常非常模糊。 用更多的信息很难排除故障。 不过,我会尽量让对话开始。 这是什么名单? 主页? 分类页面? 从本质上讲,你必须“标准化”标题所占用的空间。 请注意,在第二个产品中,产品的标题是两行,第一个产品只有一行。 您的任何产品是否有三条线? 四条线? 五? 这基本上是问题。 此外,根据您的主题,这可能是完全不同的标记/代码。 尽管如此,只需使用正确的css即可解决问题。 对于“典型的”WooCommerce网站,这将照顾它: 在样式表中,在此选择器上声明此样式: ul.products ...

相关文章

更多

最新问答

更多
  • 获取MVC 4使用的DisplayMode后缀(Get the DisplayMode Suffix being used by MVC 4)
  • 如何通过引用返回对象?(How is returning an object by reference possible?)
  • 矩阵如何存储在内存中?(How are matrices stored in memory?)
  • 每个请求的Java新会话?(Java New Session For Each Request?)
  • css:浮动div中重叠的标题h1(css: overlapping headlines h1 in floated divs)
  • 无论图像如何,Caffe预测同一类(Caffe predicts same class regardless of image)
  • xcode语法颜色编码解释?(xcode syntax color coding explained?)
  • 在Access 2010 Runtime中使用Office 2000校对工具(Use Office 2000 proofing tools in Access 2010 Runtime)
  • 从单独的Web主机将图像传输到服务器上(Getting images onto server from separate web host)
  • 从旧版本复制文件并保留它们(旧/新版本)(Copy a file from old revision and keep both of them (old / new revision))
  • 西安哪有PLC可控制编程的培训
  • 在Entity Framework中选择基类(Select base class in Entity Framework)
  • 在Android中出现错误“数据集和渲染器应该不为null,并且应该具有相同数量的系列”(Error “Dataset and renderer should be not null and should have the same number of series” in Android)
  • 电脑二级VF有什么用
  • Datamapper Ruby如何添加Hook方法(Datamapper Ruby How to add Hook Method)
  • 金华英语角.
  • 手机软件如何制作
  • 用于Android webview中图像保存的上下文菜单(Context Menu for Image Saving in an Android webview)
  • 注意:未定义的偏移量:PHP(Notice: Undefined offset: PHP)
  • 如何读R中的大数据集[复制](How to read large dataset in R [duplicate])
  • Unity 5 Heighmap与地形宽度/地形长度的分辨率关系?(Unity 5 Heighmap Resolution relationship to terrain width / terrain length?)
  • 如何通知PipedOutputStream线程写入最后一个字节的PipedInputStream线程?(How to notify PipedInputStream thread that PipedOutputStream thread has written last byte?)
  • python的访问器方法有哪些
  • DeviceNetworkInformation:哪个是哪个?(DeviceNetworkInformation: Which is which?)
  • 在Ruby中对组合进行排序(Sorting a combination in Ruby)
  • 网站开发的流程?
  • 使用Zend Framework 2中的JOIN sql检索数据(Retrieve data using JOIN sql in Zend Framework 2)
  • 条带格式类型格式模式编号无法正常工作(Stripes format type format pattern number not working properly)
  • 透明度错误IE11(Transparency bug IE11)
  • linux的基本操作命令。。。