The example-theme directory contains a complete them that builds out-of-source.
实例目录包含一个完整的主题,制作出一个源代码。
On the right panel, fill in the name of your new theme, and specify the theme directory.
在右侧面板中,填写新主题的名称并且指定主题的目录。
Skins available to a control are contained in one or more skin files in a theme directory.
主题目录中的一个或多个外观文件包含控件可以使用的外观。
As with the template files, all of the style sheet files were contained within the theme directory.
与模板文件一样,所有样式表文件也放在主题目录中。
The structure of the overall Web page is shaped by the page.tpl.php file within the theme directory.
Web页面的总体结构由主题目录中的page.tpl.php文件控制。
As explained earlier, we can use the template.php file in the theme directory to override theme functions.
正如前面所解释的,可以使用主题目录中的template . php文件覆盖主题函数。
By definition, if you use.tpl.php files in your theme directory, Drupal will know to use the phptemplate engine.
根据定义,如果在主题目录中使用. tpl . php文件,Drupal就知道应该使用phptemplate引擎。
For our application, then, we have an image and theme directory for each module with the appropriate files defined.
这样,在我们的应用程序中,每个模块有一个images和一个theme目录,这些目录中定义了适当的文件。
This allows you to avoid having to change templates outside of your theme directory and helps with theme portability.
这就使得你避免了在外观主题目录外修改模板的必要并增进了外观主题的移植性。
When WebSphere portal renders your portal application, it renders the application first, using Default.jsp under your theme directory.
WebSpherePortal呈现门户应用程序时,最先呈现的是主题目录下的Default . jsp。
In Part 7, we create a new theme directory under the themes directory by copying the Bluemarine theme that comes with the Drupal distribution.
在第7部分中,我们通过复制Drupal发布版附带的Bluemarine主题,在themes目录下面创建了一个新的主题目录。
For a theme called ibc, the function name would be ibc_foo and would probably exist within the template.php file within the ibc theme directory.
对于主题ibc,函数名应该是ibc _ foo,这个函数可能在ibc主题目录中的template . php文件中。
Copy and paste mozartstylesheet.css in the theme directory, within the generated web application, and rename this file appropriately, as shown in Figure 1.
在生成的web应用程序中复制mozartstylesheet . css,并粘贴到主题目录下,然后为该文件重命一个适当的名称,如图1所示。
Using the methods mentioned in the previous section, we used template files for all node generated output, therefore controlling the content structure in one theme directory.
按照前一节中介绍的方法,我们对所有节点生成的输出使用模板进行控制,因此在一个主题目录中控制内容的结构。
file in the theme directory you created in Figure 1. Here we can start to define the skeleton structure that will wrap our content fragments defined by the node template files described later.
可以在这里开始定义基本结构,这个结构将包围节点模板文件定义的内容片段。
You can add new strings to the theme by adding new resource bundles to this directory.
您可以通过添加新的资源包到这个目录来增加新的字符串到主题。
From now on, whenever a user logs in, the server checks the theme extensions directory.
从现在起,任何时候用户登录,服务器都会检查主题扩展目录。
Change the value of all instances of the string background-image: url to the directory path for your theme.
将字符串background -image:url的所有实例的值更改为您的主题的目录路径。
Add the file with the new background GIF image to the images directory in the theme. First, navigate to.
将包含新的背景GIF图像的文件添加到主题中的图像目录中。
The thumbnail image representing a screen shot of the look of the theme is controlled by the screenshot.png file inside the themes directory.
缩略图表示主题外观的屏幕图,这由主题目录中的screenshot. png文件控制。
To start our new theme, the team copied the Bluemarine directory inside the themes directory and renamed it ibc.
为了开始创建新的主题,团队复制了主题目录中的Bluemarine 目录并将它重命名为ibc。
A theme is defined using a collection of files within the Drupal themes directory.
使用Drupal主题目录(themes directory)中的文件集合来定义主题。
We'll refer to this directory as the theme extensions directory in this article. The directory.
在本文中,我们将此目录称为主题扩展目录。
For Customize me Now, keep the tango skin but rename the directory "tango-modified"; you'll make several changes to the default tango theme.
对于Customize Me Now,我们使用tangoskin,但是把目录重命名为“tango -modified”;我们将对默认的tango方案做一些修改。
There is a special file you can use within an individual theme's directory called template.php. If this file exists, Drupal will use it to allow you to override default actions of the theme system.
在单独主题的目录中可以使用一个特殊文件,它称为template.php。
In this example, I put my images into a new directory within theme \ img, called demo, keeping the same file names as used in the Mozart style.
在这个示例中,我将我的图像放置在theme \img中的一个新目录demo下,和Mozart样式中的文件名保持相同。
The Mozart style uses eight different images to create buttons. These images are stored in the img\mozart directory, within theme, as depicted in Figure 17
Mozart样式使用8 个不同的图像来创建按钮。
Add this line of code to the footer. PHP file in the directory for whatever theme you are using (don't include it within an HTML paragraph).
将这行代码添加到你使用的任何主题的目录上的footer. php文件上。(不要放到一个HTML段落中)。
Add this line of code to the footer. PHP file in the directory for whatever theme you are using (don't include it within an HTML paragraph).
将这行代码添加到你使用的任何主题的目录上的footer. php文件上。(不要放到一个HTML段落中)。
应用推荐