joomla新建模板_Joomla模板设计

joomla新建模板

Joomla template example. This is our first article on this CMS. Today we talk about Joomla template design for front-end developer completely unfamiliar with CMS. Joomla is one of the most popular content management system (CMS) that allows you to create websites fast and easy. Therefore, we decided not to bypass the script and make our own review. We will not make a simple overview of the system, which may seem rather boring, but we take something more interesting – the process of creating your own template. We also describe the structure of the templates in Joomla and other important things.

Joomla模板示例。 这是我们有关此CMS的第一篇文章。 今天,我们为完全不熟悉CMS的前端开发人员讨论Joomla模板设计。 Joomla是最受欢迎的内容管理系统(CMS)之一,它使您可以快速轻松地创建网站。 因此,我们决定不绕过脚本并进行我们自己的审查。 我们不会对系统进行简单的概述,这看起来可能很无聊,但是我们采取了一些更有趣的方法-创建自己的模板的过程。 我们还将在Joomla和其他重要内容中描述模板的结构。

Joomla CMS的基本概念: (Basic concepts of the Joomla CMS:)

Template – a set of folders / files that define the layout and design of the pages. You can have many installed templates on one website. Thus it is possible to change the design of the website in a few seconds, switching from one template to another.

模板 –一组定义页面布局和设计的文件夹/文件。 一个网站上可以安装许多模板。 因此,可以在几秒钟内更改网站的设计,从一个模板切换到另一个模板。

HTML template has specified areas of the page (usually – div blocks), in which will be displayed certain content. For example, in the central area, the main page content is displayed. The owner / author of the site can create articles using the built-in editor WYSIWYG, which will be displayed in this area.

HTML模板具有页面的指定区域(通常是-div块),将在其中显示某些内容。 例如,在中央区域中,显示主页内容。 网站的所有者/作者可以使用内置编辑器“所见即所得”创建文章,该文章将显示在该区域中。

Also, we can define other areas in the HTML template to display different objects. Typically, these areas are: header of the document (that is always displayed at the top), the footer (what is displayed at the bottom), the area for the menu, additional areas for the sides. It all depends on the desire of the template’s author. These areas are called positions.

另外,我们可以在HTML模板中定义其他区域以显示不同的对象。 通常,这些区域是:文档的页眉(始终显示在顶部),页脚(底部显示),菜单区域,侧面的其他区域。 这完全取决于模板作者的需求。 这些区域称为职位。

In the template there are other features that will be described further.

在模板中,还有其他功能将进一步描述。

Module – an object with HTML / PHP / CSS / JavaScript code that can be displayed in certain designated areas of the page. Example of typical models: language switcher, authorization block, search on the site, voting, etc.

模块 –具有HTML / PHP / CSS / JavaScript代码的对象,可以在页面的某些指定区域中显示。 典型模型的示例:语言切换器,授权块,在站点上搜索,投票等。

Plugin – an object with HTML / PHP / CSS / JavaScript code that can be embedded into the page content. The main difference from the module is the place where the plugin appears on the page. Article’s author, during working in WYSIWYG editor will be able to insert some code (similar to HTML code). On the site, this code will be replaced by a similar object module.

插件 –具有HTML / PHP / CSS / JavaScript代码的对象,可以将其嵌入页面内容中。 与模块的主要区别在于插件在页面上的显示位置。 Article的作者,在所见即所得的编辑器中工作期间,将能够插入一些代码(类似于HTML代码)。 在站点上,此代码将被类似的对象模块代替。

Component – a global object that has a lot of settings. Typically, in addition, modules and plugins come to the component. For example, a component may be a guest book, e-commerce shop, forum and so on. All these objects have a variety of settings and can be shown on a separate page.

组件 –具有很多设置的全局对象。 通常,此外,模块和插件也包含在组件中。 例如,组件可以是留言簿,电子商务商店,论坛等。 所有这些对象都有各种设置,可以显示在单独的页面上。

WYSIWYG editor – online text editor (what you see is what you get). Using a simplified panel similar to the panel of Microsoft Word or WordPad, you can create articles that the editor will automatically convert into HTML code.

所见即所得编辑器 –在线文本编辑器( 所见即所得 )。 使用类似于Microsoft Word或WordPad面板的简化面板,可以创建文章,编辑器会自动将其转换为HTML代码。

Modules, plugins and components are extensions. With extensions, by installing the CMS, you can make anything you want: online store, blog, forum and so on. All extensions are available in a zip archive, which you can download and install on your site through the admin panel.

模块,插件和组件是扩展 。 通过扩展,通过安装CMS,您可以创建所需的任何东西:在线商店,博客,论坛等。 所有扩展都可以在zip存档中找到,您可以通过管理面板将其下载并安装在您的网站上。

The main extension directory is a directory on official Joomla website http://extensions.joomla.org/

主要扩展目录是Joomla官方网站http://extensions.joomla.org/上的目录

Downloading from it you can be with some certainty that the extension does not contain any malware or adware code.

您可以肯定地下载该扩展程序不包含任何恶意软件或广告软件代码。

At least, I would like to believe that all of these extensions are mercilessly deleted from the catalog in a timely manner. I prefer popular and proven extension, as their developers value their reputation.

至少,我想相信所有这些扩展都会被无情地从目录中及时删除。 我更喜欢流行且经过验证的扩展,因为他们的开发人员重视自己的声誉。

CMS itself is developed all the time, and during this time, the development passes through stages of global changes, which manifested in the fact that at the moment there are several versions of the system. This is version 1.5, version 2.5 and version 3.x (3.x means that the version 3 are compatible with each other – 3.1 3.2 and 3.3). If you have a site on Joomla 2.5 version, only extension on that version will suit your website, extension of different versions are not compatible.

CMS本身一直在开发&#x

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值