Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/clojure/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Drupal 6 在首页显示动态块而不是静态块?_Drupal 6_Content Type - Fatal编程技术网

Drupal 6 在首页显示动态块而不是静态块?

Drupal 6 在首页显示动态块而不是静态块?,drupal-6,content-type,Drupal 6,Content Type,我有一个网站,首页包含4块文本,基本上是一个小的介绍框。目前,这些框包含静态数据。我现在想要的是将这些框转换为内容,并可以从admin更改它们的框。基本上使网站更加用户友好。这些框包含标题、小缩略图和小说明。我已经创建了一个内容类型,其中我有标题字段、正文字段和一个图像附加选项。我可以在不使用视图的情况下以我想要的方式显示它们吗 <?php if($messages) print $messages; ?>

我有一个网站,首页包含4块文本,基本上是一个小的介绍框。目前,这些框包含静态数据。我现在想要的是将这些框转换为内容,并可以从admin更改它们的框。基本上使网站更加用户友好。这些框包含标题、小缩略图和小说明。我已经创建了一个内容类型,其中我有标题字段、正文字段和一个图像附加选项。我可以在不使用视图的情况下以我想要的方式显示它们吗

                        <?php if($messages) print $messages; ?>
                        <div class="content_left">
                        <div class="block1">
                            <h4 class="title-storefront">Gorgeous Storefront</h4>
                                Each Shopify store comes with a variety of beautiful themes to choose from.Each Shopify store comes with a variety of beautiful themes to choose from.Each Shopify store comes with a variety of beautiful themes to choose from.Each Shopify store comes with a variety of beautiful themes to choose from.Each Shopify store comes with a variety of beautiful themes to choose from.</div>
                            <div class="block1">
                            <h4 class="title-customizable">100% Customizable</h4>
                                Use your own HTML &amp; CSS and have complete control over the look and feel of your online store.Use your own HTML &amp; CSS and have complete control over the look and feel of your online store.Use your own HTML &amp; CSS and have complete control over the look and feel of your online store.Use your own HTML &amp; CSS and have complete control over the look and feel of your online store.
                        </div>
                        </div>
                        <div class="content_right">
                            <div class="block1">
                            <h4 class="title-shoppingcart">Shopping Cart</h4>
                                Your online store will have its own shopping cart and streamlined checkout.Your online store will have its own shopping cart and streamlined checkout.Your online store will have its own shopping cart and streamlined checkout.Your online store will have its own shopping cart and streamlined checkout.Your online store will have its own shopping cart and streamlined checkout.
                        </div>
                            <div class="block1">
                            <h4 class="title-secure">Super Secure</h4>
                                 We have a dedicated team of security experts that make sure your e-commerce site is as secure as possible.We have a dedicated team of security experts that make sure your e-commerce site is as secure as possible.We have a dedicated team of security experts that make sure your e-commerce site is as secure as possible.We have a dedicated team of security experts that make sure your e-commerce site is as secure as possible.
                        </div>
                        </div>
                      </div> <!-- /#content-area -->


华丽的店面
每个Shopify商店都有各种美丽的主题可供选择。每个Shopify商店都有各种美丽的主题可供选择。每个Shopify商店都有各种美丽的主题可供选择。每个Shopify商店都有各种美丽的主题可供选择。每个Shopify商店都有各种美丽的主题可供选择美丽的主题可供选择。
100%可定制
使用自己的HTML&;CSS并完全控制您的在线商店的外观。使用您自己的HTML&;CSS并完全控制您的在线商店的外观。使用您自己的HTML&;CSS并完全控制您的在线商店的外观。使用您自己的HTML&;CSS并完全控制在线商店的外观和感觉。
购物车
您的在线商店将有自己的购物车和简化的结帐。您的在线商店将有自己的购物车和简化的结帐。您的在线商店将有自己的购物车和简化的结帐。您的在线商店将有自己的购物车和简化的结帐。您的在线商店将有自己的购物车简化结账流程。
超级安全
我们有专门的安全专家团队,确保您的电子商务网站尽可能安全。我们有专门的安全专家团队,确保您的电子商务网站尽可能安全。我们有专门的安全专家团队,确保您的电子商务网站尽可能安全。我们有专门的确保您的电子商务网站尽可能安全的安全专家。

如何分别打印内容的标题、图像和描述。

基本上,为内容创建块。您可能需要在主题中添加区域,然后可以为其指定块。但是,如果希望在块中添加节点列表,则视图是一种方法。如果你能解释为什么你要回避观点,也许其他人可以建议一个替代方案