English 中文(简体)
• 如何安排6个印刷区DIV包装
原标题:How to make Drupal 6 print Region DIV wrappers

Im利用背景向一个区域打印块。 然而,我要让该地区在某个地区各街区周围印制包装薄膜。 我知道这一点是有可能的。 tpl.php in Drupal 7. 我看不出第6博士的最好办法。

 <div class="{region classes i.e. sidebarleft}">
      <div class="{block 1}"></div>
      <div class="{block 2}"></div>
      <div class="{block 3}"></div>
      <div class="{block 4}"></div>
 </div>

然而,它目前还照此印刷:

<a id="context-block-region-right" class="context-block-region">Right Sidebar</a>
      // the previous anchor tags is hidden
      <div id="block-block-82" class="clear-block block block-block">
           <h2>Community Navigation Block</h2>
                <div class="content">
                <div id="community-landing-navigation-menu">
                <div class="joinCommunityBox">
                <div class="community-landing-pagePanelWrapperSideBar">
                <div class="community-landing-pagePanelWrapperSideBar">
           <a id="context-block-block-82" class="context-block editable edit-community_contexts"></a>
 </div>
 </div>

我愿在此一带印刷一个区域封顶。

此外,我要保留我的网页。 tpl.php Clean of extra Packper tags. 如果我们能够预先处理区域,以打印一个包装标签,那将更好。

问题回答

页: 1 答案实际上是从zen借的。 如果你点击以下链接,一些预处理职能正在形成一个新的区域模板。 随后,将收集区块并印制。

它发挥了巨大作用,不久将生产。





相关问题
CSS working only in Firefox

I am trying to create a search text-field like on the Apple website. The HTML looks like this: <div class="frm-search"> <div> <input class="btn" type="image" src="http://www....

image changed but appears the same in browser

I m writing a php script to crop an image. The script overwrites the old image with the new one, but when I reload the page (which is supposed to pickup the new image) I still see the old one. ...

Firefox background image horizontal centering oddity

I am building some basic HTML code for a CMS. One of the page-related options in the CMS is "background image" and "stretch page width / height to background image width / height." so that with large ...

Separator line in ASP.NET

I d like to add a simple separator line in an aspx web form. Does anyone know how? It sounds easy enough, but still I can t manage to find how to do it.. 10x!

热门标签