如何使用应用程序布局控件将图形放置在 OneUI .lotusBanner 区域中

发布于 2025-01-07 15:54:15 字数 81 浏览 3 评论 0原文

我正在使用扩展库应用程序布局控件,并且需要将横幅图形放置在右侧的 .lotusBanner div 中。这怎么办,因为应用程序布局控件似乎无法修改。

I am using the Extension Libraries Application Layout Control and need to have a banner graphic placed in the .lotusBanner div on the right. How can this be done as it seems that the Application Layout Control can't be modified.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

绮筵 2025-01-14 15:54:15

您可以在 Steve Pridemore 所做的扩展控件上使用实用程序 LinksFacet。

http://www.openntf.org/internal/home.nsf/project.xsp?action=openDocument&documentId=CED2E61A75526CD086257997006DA95B

或者您可以使用 onload javascript 来添加它。

You could use the utilityLinksFacet on the extended control that Steve Pridemore did.

http://www.openntf.org/internal/home.nsf/project.xsp?action=openDocument&documentId=CED2E61A75526CD086257997006DA95B

or you could use onload javascript to add it.

硪扪都還晓 2025-01-14 15:54:15

执行以下操作,我可以将图形放置在横幅区域中应用程序布局控件的右上角:

  1. 通过 实用程序链接 我添加了一个基本节点。对于节点,我指定了 href 和图像。这有效并将图像放置在正确的位置。
  2. 其工件是横幅应用程序链接的位置。为了解决这个问题,我对 .lotusBanner ul.lotusLinks 使用了一些 CSS {margin-top: 45px;position:absolute;}
  3. margin-top 是将链接向下推,这样我就可以放大应用程序布局控件使用的徽标。

I was able to place a graphic in the upper right of the Application Layout Control in the Banner area by doing the following:

  1. In the control under the Banner > Utility links I added a Basic node. For the node I specified the href and image. This worked and placed the image n the correct spot.
  2. Artifacts of this were the location of the Banner Application links. To remedy this I used some CSS for the .lotusBanner ul.lotusLinks {margin-top: 45px;position:absolute;}
  3. The margin-top was to push the links down so I could enlarge the logo that is used by the Application Layout Control.
萌梦深 2025-01-14 15:54:15

正如您所发现的,ExtLib 中的 applicationLayout 控件被锁定,只允许开发人员更改配置的某些方面。您可以添加指向 applicationLayout 不同部分的链接,但仅此而已。

一种可能的替代方法是不使用 applictionLayout 控件本身,而是在自定义控件中创建您自己的近似值,您需要在所有正确的位置添加具有特殊 oneUI2 类的所有必要面板/div,然后添加可编辑区域和这些面板中您想要在整个应用程序中自定义的部分的回调。 applicationLayout 控件中的所有其他部分(例如bannerUtilityLinks)都是使用ListofLinks 控件创建的,该控件也可以在扩展库中找到。

The applicationLayout control in ExtLib is, as you have found out, locked down to only allow certain aspects of the configuration to be changed by the developer. You can add links to different sections of the applicationLayout but nothing beyond that.

One possible alternative is to NOT use the applictionLayout control itself but create your own approximation of it in a custom control, You would need to add all the necessary panels/divs with the special oneUI2 classes in all the correct places and then add editable areas and callbacks within these panels for the parts that you would want to customize throughout the application. All of the other sections in the applicationLayout control, like the bannerUtilityLinks are created using the ListofLinks control that is also found in the Extension Library.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文