You can add a new employee to the organization's personal account, as well as add a new electronic signature (ES) to an already registered employee. Creation and display of articles (content) in Joomla using sections and categories, a blog on Joomla and the More button

If you are thinking about giving users the opportunity to publish articles and materials on the Joomla site, then you probably already saw that this problem is not so simple to solve. Initially, you have at least two paths. The first is to use standard functionality, because the Joomla content management system has many built-in useful functions, including adding articles from the site. And the second is to use third party modules and components including various CCKs. Having skimmed through the features and descriptions found in reviews on other resources, you will most likely want to use third-party components, since they clearly provide a wider range of settings and capabilities. However, a detailed study with the installation of components on test systems showed that not everything is as good as described.
Before proceeding, it is worth pointing out the criteria that were taken as a basis:

  • The solution should either not make any changes to the standard mechanisms at all, or make them so minimal that later on the site you can safely add other modules and components.
  • Moderation of added materials is required.
  • It is necessary that the user cannot accidentally somehow spoil the current structure of the site or add materials to those categories that are used only for organizing the internal tasks of the site.
  • If it becomes necessary to make edits to the code (finishing), then they should be minimal. It's one thing when you already have a stream of articles and you know the specific specifics of what to expect from users. Accordingly, you understand that your work will be useful. It's another matter when you are just adding functionality and it is not known whether there will be a stream, and if so, what kind. After all, you always need to remember that if someone really wants to add material, then it will not be difficult for him to send word document , or Openoffice, or even html to email.
  • It is desirable that there were all sorts of convenient functions, such as the ability for the user to view the statuses of his articles, organizing the article moderation process, adding tags, adding pictures and others.

The criteria are basic enough, but even they were enough to eventually stop at adding materials in a standard way. But first things first. Various CCK, such as ContentBuilder and K2... The main problem was the change in standard mechanisms and the need to make a fairly large amount of edits, so they had to be abandoned. For example, after downloading from the official site and installing K2, which, according to the statements, should already have a convenient functionality for adding materials, it turned out that all content should be used only through K2 (therefore, almost all modules for Joomla without K2 support become useless) and that the form for adding materials still needs to be corrected to fit your needs (for example, the availability of all categories to the user). Of course, it is quite possible that after a certain time of studying K2, this problem could be solved much easier, but it is not rational to transfer everything that is, just for the sake of one function, and look for analogs to existing modules.

Note: Remember that this is only about the task of adding content by users. Of course, with the help of CCK you can build complex and powerful sites, but this is not required for the current task.

The next modules and components were considered, which also represent CCK, but do not change the standard structure. it Zoo (like CCK), SobiPro (as a directory) and ChronoConnectivity (some words about him). Free version Zoo provides a ready-made module for publishing. However, after looking at the ready-made forms and looking for a solution to the problems with the security settings, it became clear that, in addition to the fact that all the added articles will go apart (in other words, there are many questions about how to correlate custom articles and categories with articles and categories site), you will need to make a lot of edits to the display templates in order to achieve the organization of the moderation process (accepted, rejected, on moderation, etc.) with the ability for users to view the statuses of their articles. SobiPro - this is a pretty good directory, but it had the same problems as Zoo... You will need to make edits and think about the ratio of SobiPro content to standard content. ChronoConnectivity is a very powerful component for building all kinds of forms and synchronization within the base. If you need to completely sharpen the entire process of adding materials or something else to your needs, then this can be easily done with it. However, it does not have any pre-installed options, so absolutely everything will have to be configured from scratch. And this is a very long time.

After research in the area CCK, it became clear that it was worth looking at more mundane solutions. And the most obvious thing is blogging. However, as it turns out, there are not so many free blogging components. And those that were found, by and large turned out to be similar to the standard mechanism. So there is not much point in using them. However, I caught my eye and two pretty good free blogging components are Hekima blogs and UAM... However, with them it became clear that a number of edits would have to be made in order to fully organize the moderation process and correct some errors.

Gradually considering the solutions from the most complex and eventually reaching the blogging components, it became more and more clear that initially on almost any site (if it was not originally conceived for the flow of articles) it is quite enough to use the standard Joomla mechanism. However, the Internet did not find any normal instructions for setting it up and solving such a trivial issue as separating custom images from the general catalog of site images. Only fragmentary solutions to individual subtasks. Nevertheless, having collected the solutions together, we got a fairly simple and convenient instruction on how to configure how users add materials.

The final instructions for setting up users' adding articles and materials to the Joomla site turned out to be, although large in terms of the number of points, but actually quite simple to organize. The first thing you need is to download and install the free JCE editor with localization (there is a Russian language; as a last resort, you can always download it from other resources). Unlike the standard editor TinyMCE, it has a customizable and fairly convenient picture manager. Now, you can start setting up.

  1. Open " Site - General Settings"and set the default editor" Editor JCE". This must be done so that all users enter articles from this particular editor.
  2. Open " Material manager". Then press the button" Settings". Go to the tab" The rights"and for the group Registered set permission to create material (paragraph " Create a"). Leave the rest of the items disabled. This setting will allow users to add materials and articles from the site, but not publish them. In other words, after adding, articles will be unpublished by default. In general, simple moderation.
  3. Open " Category manager"and create a category" For consideration". Subsequently, all added articles will fall into this category (for convenience).
  4. Create a hidden menu if you don't have one. A hidden menu is the same normal menu, but placed in a position, which is not in the template.
  5. In the hidden menu, create an item with Alias \u200b\u200b" add-material"and the name" Add article". Select item type" Create material". Set the access level." Registered"(on the left side) and the default category" For consideration "(in the main settings area). This is done so that an unauthorized user, when selecting an item, gets to the login page and so that all materials fall into one category (for subsequent sorting).
  6. We create an item already in the menu, which is shown to all users. Setting the item type " Alias". Specify the previous item from the hidden menu as the target item. The open item is needed so that all users can see that material can be created on the site. When unauthorized users click on this item, they will be transferred to the authorization page.

Now, let's start configuring the JCE editor

  1. Open the editor JCE on the menu " Components". Go to the tab with profiles. Turn on the profile." Front end". This is exactly the profile that will be applied to users when adding an article from the site.
  2. Open your profile " Front end"and set the following settings
    1. In the first tab in the " Users"check the box next to the group" Registered"to apply the settings for registered users.
    2. Go to the " Features and Layout". Set the item" Editor switch" in Noto exclude the possibility of sending naked html.
    3. Create on the site in the directory " images"directory" reviews". This directory will store pictures of user articles for the duration of moderation.
    4. Return to the admin area and go to the " Editor options". Then on the left side, select the" File system"and indicate in the paragraph" File directory path" way " images / reviews"
    5. In the same tab, disable the item " Folder tree"
    6. In the same tab, specify the maximum image size, for example, 100.
    7. In the same tab, specify the actions in case of conflict " Create a unique name ...". This is done so that the pictures of other users cannot be overwritten. After all, after the article is moderated by you, you can always transfer pictures to a shared folder.
    8. We save the settings.
    9. Go to the " Plugin parameters"and on the left side of the screen, select the" Image manager". Then we set the file size limit, for example, 100 (as before).
    10. Disable items " Delete folder", "Delete a file", "Rename file", "Cut, copy"(for directory and file)," Rename folder".
    11. Specifying the path to the directory of image files " images / reviews"
    12. We save the settings.
    13. In the " Plugin parameters"open the tab" Link"on the left. And specify the desired settings for the default links. For example, the goal" in a new window. "
    14. In the same tab, disable all items with access to the link structure (search, etc.), as well as pop-up windows. This is done in order to access internal structure ordinary users did not.
    15. Save and close the editor.
  3. We are trying to open the item " Create material"under an unauthorized user and we see that the login form has opened. We try to open the same item as a logged in user and see that the material editing form has opened, but with a bunch of unnecessary areas that users do not really need.
  4. First of all, we open " Extensions - Plugin Manager"and set the group" Special"for all buttons (Image, Page Break, Material, and so on) except for the button" More details". This will hide the buttons for regular users, but leave them open for those users who have access to the admin area.
  5. Unfortunately, you cannot hide blocks from the form that are not needed, as well as add introductory text, using the settings. Therefore, you will have to copy the display template file from the component to the site template and then edit it.
    1. Open the way " % site root% / components / com_content / views / form / tmpl"and copy the file" edit.php"into your template along the way" % your template% / html / content / form /".
    2. Open the file " edit.php" in any text editor and add the introductory text you want, as shown below (the text comes after the 44th line or look for "


Add article



First of all, remember that the article is useful, polite, meaningful and well-formed text.
(for more details read the rules section of articles).

Adding material means that you agree with the rules of this resource.


item-\u003e id); ?\u003e "method \u003d" post "name \u003d" adminForm "id \u003d" adminForm "class \u003d" form-validate "\u003e

    1. Now, to hide blocks, it is necessary for all fieldset tags, except for the first one, to add display hiding through the style, for example:

Note: Of course, you can use other hiding methods, such as styles with ": first-child", but this method may not work for older browsers. Or you can add a class field for the desired fieldsets and hide it through the styles of the added class. Here as it is more convenient to whom.

    1. Save the file.
  1. Adjust the styles however you like.

As you can see, despite the fact that there are really a lot of points, they are very simple and by and large are performed in 15 minutes (not counting CSS - it already depends on you).
So now, you will always have at your fingertips a simple and reliable way to provide your site users to add materials and articles with pre-moderation, convenient WYSIWYG editor and a picture manager.

Website builder A5 - russian product released from beta in 2011. The system received a fair amount of criticism for using Flash in its templates. But, fortunately, the developers later completely abandoned this technology in favor of HTML5.

On the basis of A5, you can create business card sites , landing pages and the shops ... During past testing, the system failed to impress us. But it was a long time ago. Let's take a closer look at what the A5 has to offer its customers in 2017.

Templates

Standard designs in A5 divided into categories ... In addition to the usual areas such as business, auto, etc., I would like to note the output to separate sections of templates for landing pages, online stores and government agencies. The presence of the latter category clearly emphasizes the focus on creating non-commercial sites. There are templates under kindergarten , school , college , the hospital , charitable foundation, administration, law enforcement agencies, etc. In general, the designer is tailored for use by government agencies.

By choosing template type , you also determine the type of the future site. However, it cannot be changed later. Total templates in the system about 300 ... Their quality, in general, is average: there are both prominent and primitive specimens.

Each template contains a thematic demo content ... If you don't have time or desire to bother too much with customization, you can simply substitute your data / pictures and get a ready-made website. Standard settings like changing the background, fonts and page background are naturally available.

More advanced things include the ability to change the width of the site and the absolute freedom in the layout of widgets. You can add the latter in any number, change their size, position on the page and in relation to each other, customize the appearance (effects, customize the output of content, etc.). You can also add containers, which is useful if you want to, for example, arrange a sidebar. Due to the above, you will be able to change the original template almost beyond recognition.

I liked the fact that it is possible to automatically transfer the specified parts of the layout from the master page ("Home") to it when creating a new page. By default, the header and footer are copied. This is very convenient as it avoids repetition of steps. You can quickly switch between the created pages. This is implemented in the same way as in browsers - through the tab system. The latter also contain a button for accessing the settings, where the width and color scheme can be assigned separately for each page. You can also reassign the main page.

A5 demonstrates good level execution of some of the built-in templates and a set of tools for customizing their design. Not without nuances, but we generally liked it.

Functionality

You don't need any skills to use the A5 programming... Yes, it is possible to insert HTML code here, but the site builder's functionality is based on a rather convenient visual editor and the system widgets ... Adding the latter to the pages by drag and drop will determine the structure and capabilities of the site.

Working with widgets is very simple. A single click with the left mouse button selects the element and allows you to resize and drag it. The right button activates a menu of available properties for the item. For example, when designing a button, you can set the rounding of the corners (at 100% you will get a circle, if necessary), transparency, gradient along the radius, color / background, select a font, and also define its appearance after hovering the cursor. You can duplicate, copy a widget, set a layer for it, and more. It all works very simply, and the result is great. The set of allowed operations varies for different widgets.

If you double-click the left button on the widget, you can change its content (text, picture, field names, etc.). In general, in the A5, the mouse is the main development tool. Almost all operations, except for entering text, can be performed using it.

Such freedom and simplicity will delight creative / experienced people, freeing their hands for creating truly beautiful sites ... But, if a person does not have experience or a sense of taste, experiments with design are guaranteed to lead to disastrous results. There are many opportunities, but in this case you should not flirt. The easiest way is to slightly tweak the standard layout of the template, change the colors, pictures, information and get the site by going to the already provided structure with a nice look.

The control panel in the A5 is very simple in visual and structural terms ... If you still need help, then almost every element hangs a question icon, hiding explanations. There are also video tutorials. Having read / seen enough, in an hour you will become an ace in A5.

The control panel consists of a status bar (tabs of open pages, forward / back buttons, preview, saving changes, publishing and a help section) and 4 menu sections:

  1. Pages - here you can add / delete pages and build a hierarchy of menu items;
  2. Settings - select the page name, its color and background color, also fill in the SEO settings. You can enable / disable hiding from search engines;
  3. Widgets - the main menu, which contains functional elements for filling the pages. There are quite a few of them: text, code, gallery, video, countdown timer, analytics, "top" button, feedback form, social buttons, and more. Widgets for store deployment stand apart: product catalog, basket, product menu and their search.
  4. Files - storage of stock (pictures, cliparts) and files of all types uploaded by you.

As you can see, it couldn't be easier. In addition to the usual features, I would like to separately note the power store settings ... In the presence of export / import from CSV, settings for sorting goods, delivery, sales statistics, accepting online payments, discounts and much more. Unfortunately, making a store on an engine with a visual editor is not the best idea. For this, there are specialized systems that are much better suited for this task.

In A5 business cards and landing pages done very quickly and easily. For the latter, the developers have provided for the inclusion of a countdown timer in the list of widgets. For some reason, it is absent in many engines that allow making one-page pages, which is strange.

Generally, impression of the possibilities A5 was positive. The control panel, although simple in appearance, hides a fairly decent set of tools in its depths. Of course, here you can connect a favicon, select the set of fonts to use for the entire site, and even edit the robots.txt. This is done through the menu in the upper right corner.

Small bugs in the admin panel upset in some way. There are few of them, but they are. And the design of the control panel is too simple, gray. Perhaps for some it will be a plus: there is definitely nothing to distract from the work.

As elsewhere, after registration you will be given a subdomain of the form 3645987.mya5.ru for free (hereinafter, its digital part can be renamed whatever you like). Custom domain you will be able to connect no earlier than pay any of the tariffs.

You can do this in your personal account through the "My Sites" menu. It can be accessed from the editor by clicking on the A5 icon in the upper left corner.

Separately, we note the ability to connect multiple domains to the site. This may be useful for those who do not want sites with your domain name in other domain zones. It will also make it easier for visitors who enter the wrong domain name to find your site. For example, you can buy a couple of domains - atf.rf and atf.ru, thus covering both options for entering your site in the browser address bar. Well, competitors will no longer be able to use the domain name for their black deeds in the designated domain zones. It will also help to attract new visitors, keeping for you the part of them that will enter the name incorrectly. You will be promoting the site by the main domain, while the rest should be assigned 301 redirects. This is how it works. The thing is useful, but not for everyone.

In general, in A5, the picture is greatly spoiled by the likelihood of getting confused in the layers of containers with widgets and the lack of adjustment of their position relative to neighboring blocks. That is, everything must be done with your hands. But, after working for an hour or two, you can get a handle on the accuracy of actions. In general, the functionality in the A5 is not bad, but the admin panel feels damp, it could have been done better.

Price policy

The system has a free tariff for all types of sites, except for the store. You will receive 150 MB of disk space, an ad unit from the developer, and functionality limitations. But the most important thing is that you won't be able to connect your own domain. This rate is suitable for sampling, getting to know the system.

If you decide to create a store, you will receive 15 days trial with all the possibilities. Then you have to pay. Paid services are divided into regular and shop services. As always, when specifying prices, we are guided by the annual cost of renting a site builder (although monthly payment is also possible in a5). Tariffs for creating business cards and landing pages the following:

  1. Minimum (2550 rubles / year) - provides 250 MB of disk space, disables ads and allows you to connect your own domain;
  2. Premium (3290 rub / year) - 1.5 GB of disk space, gift domain in the .ru zone;
  3. Business (3990 rubles / year) - 10 GB, domain as a gift, insert HTML code, connect your mail, third-party services and have a personal manager at your disposal.

Shop tariffs are as follows:

  1. Start (9900 rub / year) - the ability to place 100 products, a gift domain, connection of payment systems, import / export of goods via a CSV file, price types, a system of discounts and view the status of orders;
  2. Profi (15000 rub / year) - 2500 products, uploading to Yandex.Market, 20% bonus on advertising, premium technical support.

In our opinion, the cost of services for A5 is average. Business rates are quite affordable, but store prices are above average. There are also several paid services in A5 in addition to tariff plans. You can use at will:

  • Site assistant (3997 rubles) - a personal manager who will update content, add pages and advise as needed;
  • Internal optimization (6997 rubles) - selection of keywords and their inclusion in site texts, installation of counters and adding a site to the catalogs of search engines;
  • Turnkey website development (13 900 rubles) - you don't have to do anything by ordering this service. Just give a technical assignment and check the result when ready.

The A5 has a fairly wide selection of offers for every taste and budget. The most cost-effective are prices for business and landing rates, for optimization and, by the way, for a turnkey website. Their cost is quite acceptable, which cannot be said about the store ones - they are frankly expensive for this class of system.

SEO optimization and promotion

Search engine optimization capabilities in A5 are standard and do not stand out : you can prescribe the values \u200b\u200bof the meta tags of the title, description and keywords for each page. To do this, you need to select a page in the appropriate menu, and then go to "Settings" and fill in SEO. We also recommend using H1 and lower headings to highlight sections of the page. This is done in a text editor.

It is possible and necessary to additionally use internal linking based on anchor links whenever possible. Of course, do not forget about the insertion of keywords into the body of articles and the uniqueness of the latter. You can find keywords on Yandex.Wordstat. But don't overdo it with quantity. Filling in the title and alt tags for the images used will also help. You can find these settings in the "Other" tab in the properties of graphic items. You can also improve the level of uniqueness of pictures through the editor. It will be useful if you start taking them from the Internet “as is”.

Integration of social media buttons will play a significant role. The more inbound links from social media groups your site gets, the better. It will not be superfluous to use your own videos from Youtube, where you will have to create a channel. Shoot a few videos, write a link to the site in the description, and then place them in the context of the site pages.

Connecting to a Yandex.Metrica website or Google Analytics will help track traffic. Also in the site settings, you can change the content of robots.txt. If you do not know what it is, it is better to leave the default option: everything is spelled out there correctly.

In general, promotion in A5 follows the same scenario as in almost all other systems. There are all built-in options for this. Use them, and your site has a real chance of gaining favor from the search engines.

Pros and cons, alternatives

The A5 is definitely not a top-end movement, but it does not graze the rear ones either. Although the system does not boggle the imagination, it has something to offer users, advantages :

  • A good level of variety and acceptable quality of templates;
  • Extreme simplicity of the structure and a large number of training materials of various types (articles, videos, tips);
  • A good set of clipart is a nice bonus;
  • A wide range of additional services from developers;
  • A very flexible system for customizing the site design;
  • A wide range of tariff plans for creating business cards at an affordable cost;
  • Coherent store functionality.

Of course, the A5 also has limitations :

  • The templates in the system are not adaptive and cannot be changed later;
  • The wealth of design customization tools has a downside: an inexperienced person can easily turn a chic template into a ripped-eyed spectacle;
  • Due to its limitations, the free tariff is only useful for learning how to work with the system, and store tariffs are frankly expensive.
  • The control panel for places lags, the interface itself is simply decorated and looks damp.

A5 is not bad, but it does not reach the market leaders in quality. There is clearly a sense of the ambitiousness of the developers who really want to compare their product with Wix, but they clearly do not hold out. And that's wrong. The projects are in distinctly different weight classes. The advantage is definitely not on the side of the review hero.

The most obvious alternatives to A5 are uKit and Wix for business cards, in the case of stores, uCoz. A5 is inferior to all of them in one way or another.

conclusions

Constructor A5 - good constructor with a visual editor. The quality of the result obtained in it directly depends on the skill of the developer. The system itself does not particularly limit in actions and opportunities. You can do it horribly, but you can do it perfectly. The probability of the second case is higher, since you can read a well-written FAQ or even watch a video on almost any action in the system. Beginners will definitely not get confused, but the design should be edited carefully: the A5 does not smooth out user mistakes in any way. And this is the main difficulty of using the system.

Normal templates, a good set of widgets, ample opportunities for customizing the design and solid, although not particularly needed here, store tools - this is how A5 looks. There are questions about the ergonomics of the visual editor, some confusion of paid services due to their number, and the prices of store rates. In general, the average constructor for most indicators. It seems to have done well, but something is missing. Or, on the contrary, it is superfluous.

A5 works well on investments only on business rates ... The price for them is competitive. About the store - not sure. He's dear here. And it would be strange to use an engine like A5 to develop a serious trading platform.

By the way, when we tried to go to Wix.ru, we got a surprise in the form of a redirect to the A5 home page. Strange, isn't it? The developers of the review hero clearly went too far, trying in this way to draw attention to their brainchild. Funny behavior, dirty trick, especially considering that you can run into a backlash from the legal department of Wix'a.

Of course, the system has alternatives for the same cost or even less. You can try the A5, but do not rush to make a choice, look at something else. Surely there is a more acceptable option.

Constructors analogs of A5

Alternatives A5 can be listed for a long time. All of these systems are different, but any of them would be a much better choice than the A5.

Hello friends! Today I will tell you about the actions that I perform every time after the publication of a new article on the blog. So I let you know that I have fresh material. And I attract an audience to it.

By the way, for a resource that is making its first steps and has not yet been spoiled by traffic from search engines, some of the actions that I voice below are a great help. For example, they provided my blog with traffic from the first days and continue to provide it to this day ...

1. Adding the url-address of the article to the add-ons. This is to speed up the indexing of fresh material by search robots. And the name is, because in English this procedure sounds like "add url", that is, add an url / link.

Yandex has its own add-on. It is available in the Yandex Webmaster account in the "Indexing" - "Re-crawling pages" section.

Google also used to have something similar, now by link to their addurilka they suggest submitting a sitemap (link to a sitemap for search engines) to Google.

What else I do is before publishing a new article - in Yandex.Webmaster I add its source code to the original texts. You can find this tool in the "Site Content" section. Thus, I let Yandex know that this text first appeared on my blog, that is, I am its author.

Well, for Google, I just confirmed the authorship by specifying my site in the Google+ profile and placing a link to my profile in the All in One Seo Pack plugin settings. (at the moment is no longer relevant, as Google+ ceases to exist).

In addition to Google and Yandex, I also advise you to add your site to the webmaster's office Mail.ru by the address... To do this, you first need to register at mail.ru (create mail). I also added the site to the Bing add-on (+ Yahoo)

In general, after I did this, I began to see in Yandex.Metrica that these search engines also visit my blog for various requests.

In general, I watched one service here - bestpersons.ru, which allows you to automatically publish announcements on social profiles with a link to an article. To do this, the service has an editor where we actually publish our text, as well as the ability to connect social networks, blog platforms, where the posting will be made.

I will test it on this article :)

As an announcement, I am writing a couple of suggestions about what the article is about, and I invite you to read it. Here's one example on Google +:

By the way, if we are already talking about Google +, then here I am not limited to my profile, but also add announcements to thematic communities - blogging, making money on the Internet + to communities with video tutorials. And this also gives traffic.

By the way, now I'm announcing articles from one brand new blog on women's topics (beauty, care, cooking). One of the first announcements somehow brought 100 visitors to the blog in 1 day only from Google +. I didn't even expect :)

Well, I don't forget about YouTube either, and I record video tutorials (screencasts) for most of my articles. It is convenient for people too - some prefer text, others prefer visual video. Plus, you can also get traffic from YouTube - through, links in the description, etc.

Friends, I also advise you to pay attention to social networks - Pinterest and Postila, where we share images via links on sites. Personally, I also have additional traffic from there to this blog.

enlarge by clicking

And via Feedberner from Google - here announcement emails are sent automatically as soon as new content is published on the blog.

I leave both options for now. A subscription to Smart's newsletter is located under each article, and Feedburner is in the sidebar below in a fixed widget.

4. Publishing announcements in social networks for webmasters. I use postpr.ru most often. There are other similar ones (grabr, webice, for example). With the last two, I somehow did not work out, so I haven't posted my announcements there for a long time ...

5. Announcements in groups on Subscribe. I have been using this method since the early days of my blog, and it constantly provides me with readers. So gradually my list of groups for publication grew from 10 to 120.

For Subscribe, I make unique announcements (rewrites) and try to write them more informative. Since there are groups that require at least 1000 characters. text.

I wish you success!

Hello, friends! In this article, we will consider the issue with you, how to add new module position to Joomla 2.5 template... Despite the fact that this question is quite well disclosed on the Internet and it will not be difficult to find an answer by asking a question in search engines, I decided to systematize all the answers and present them in one article, of course, after checking it on my sites.

If you use templates from well-known manufacturers, then I think that the need to add new module positions will not be required. However, several times I had to meet with the fact that when installing a template on the Joomla 2.5 distribution, not all declared positions for modules were available and I had to add them manually. Let's start, but first I'll tell you

How to check module positions in Joomla 2.5 template

It's simple if you know how. To check the positions of the modules, add the following code to our site - ? tp \u003d 1... That is, it will look like this: http: // your_site /? tp \u003d 1... If the positions on the site are not displayed, then you need to enable the display of module positions in the Joomla admin panel. Go to Extensions\u003e Template Manager\u003e Settings and in Template Settings Manager turn on View module positions... We update the front part of the site and the positions of the modules are displayed.

To add a new module position, we will have to edit the template files “ templateDetails.xml"And" index.php". I draw your attention to the fact that the above files are edited in your template, and not in the root of the site.

And so, we insert the name of our new position into the file templateDetails.xml :

Now open the file index.php and paste the code:

Joomla has the following "style" parameters:

  • none - output without decoration and title
  • table - output as a table
  • horz - output in the "td" tag of the main table
  • xhtml - output in the "div" tag and the module heading in the "h3" tag (the heading level can be defined in an additional parameter)
  • rounded - output in 4 "div" - used for cross-browser styling of the module with rounded corners
  • outline - used for debugging information

That's basically it. As you can see, everything is very simple.

Since I am using a template running framework Warp developed by studio YOOtheme then I'll tell you how to add new module positions to templates controlled by this framework.

How to create a new module position in YOOtheme template

Let's see how to add a module position in the YOOtheme template. Let's start. We will add the position " top-c"To existing items" top-a"And" top-b". To do this, you will need to edit the following files of your template:

templateDetails.xml

config.xml

/layouts/template.php

/layouts/module.php

/js/template.js

Add a new position to the XML file of our template

We open templateDetails.xml file in the template. Here you need to add a new position ( top-c) so that our CMS can see it. To do this, simply copy the record of the existing position (for example top-b) and rename it to top-cas shown in the example:

Determining the parameters of the new module position

Opening the file config.xml and find records of existing positions positon... We copy, for example, the code from " top-b", Paste it below and rename it:

This will allow you to see the new position in the administrative part of our template (site admin panel)

Add a new module position to the main template file

Open the layouts / template.php file and see the main layout of the positions of our YOOtheme template. This file describes the main parameters of the modular position and how it will be displayed on the site.

As before, copy the code from the existing position where we need it and paste it below. In my example, I took the code “ top-b"And renamed it to" top-c»:

Note: You can override template.php into your own style. To do this, just copy /layouts/template.php in / styles / YOUR STYLE / layouts / template.php.

Define the default module style for the new position

We open layouts / module.php and set the default module style here by adding code for the new position. In my example, I want to make the style “ line"Default style for" top-c»:

Note: If you are creating a new template style and want to add a new module style you can override the default file module.php... To do this, just copy /layouts/module.php in / styles / YOUR STYLE /layouts/module.php.

Determining the height of the new module in the template

To make the height of the modules correspond to the same height that are in the same positions, open js / template.js... We look at an already existing entry in the function matchHeight ()... In my example, I copied the entry for # top-b and renamed it to # top-c.

Applying our new YOOtheme template style

In order for our new position module to start working and appear in the administrative part of the template settings, you must click "save" in Template Manager\u003e Your Template... This will create a new config file from your " config.xml».

That's basically it. We considered how to create a new module position in YOOtheme template.

Good luck in your endeavors!

Hello dear readers of the blog site. In the previous article, we examined in detail how you can in and place it in the right place in the template using the appropriate module. If you want to run a little ahead, then I have a publication where all the materials on working with this engine are strictly structured and united by one idea - how to create your website).

Today we will continue to develop the theme of the menu and consider what items can be created in it using the Joomla admin panel, how you can configure the output of a separate article or all materials contained in a category or section to the site, and also consider all the nuances and settings, which can be done in this case.

Content structure in Joomla (sections and categories)

In order to understand what kind of menu items can be created, we will need to first touch upon the issue of the structure of content in Joomla (materials, articles). When filling the project with content, you must indicate the section and category in which this material will be placed.

Although you will have one more option - select the item “Not specified” from the drop-down list of the “Section” field (in the “Category” field, in this case, the exact same option will be automatically selected). In this case, the material will not belong to any section and category, which will somewhat limit the possibilities of displaying the article on the pages of your site, but more on that later.

The two-level content organization in Joomla is needed for a trivial thing - to be able to display all articles using one single menu item. Otherwise, it would be impossible to organize the output of content in the form of a blog or a list of article titles contained in certain sections or categories.

Of course, this can be done using the almighty home page, but often the home page is used for other purposes, and a blog needs to be created, for example, by hanging it on the "News" menu item.

Novice users may have a confusion in their heads after my attempts to explain on fingers the capabilities of this engine for managing content and displaying it on the project pages.

Therefore, we will proceed to a systematic consideration of the nuances of creating sections, categories and materials, and then we will smoothly move on to creating menu items that allow displaying both individual articles and everything, for example, from a separate category or section in the form of a blog or as a list of their titles.

It would be nice for you to think over the future structure of your site in advance, but if there is no time or desire for this, then it's okay, then everything can be redrawn and rebuilt without much damage. I would like to bring to your attention a block diagram of content organization in Joomla, taken from another resource:

This diagram very clearly shows all the possibilities. Once again, I repeat that not all articles in Joomla should be in their own categories and sections, some materials may be free floating, but they can no longer be displayed, for example, as part of a blog, except for the option of displaying them on the main page.

You can create more nesting levels in Joomla only with the help of additional extensions that implement this feature (for example, a component from the well-known manufacturer YOOtheme called ZOO). But, as a rule, the available nesting levels will be quite enough for most of the tasks facing users.

In the admin panel, all content masters are concentrated in one place under the symbolic name "Materials":

Creating sections and categories

First, we will need to create the required number of sections (the highest nesting level), and then we need to create the number of categories in each section. To do this, you need to select "Materials" - "Section Manager" from the top menu of the admin panel. In the window that opens, you need to click on the "Create" button located at the top of the window on the right.

As a result, a wizard window will open, where you will be asked to fill in some fields and make some settings for the section being created. In the "Title" field you need to enter its name, and in the "Alias" column you can enter the same name in Latin, separating the words with dashes.

Why do you need to fill in the "Nickname"? - you ask. You only need to do this if you use the standard Joomla features for creating human-readable URLs ().

If you do not use CNC or use third-party components for these purposes, then it is not at all necessary to fill in the "Alias" column.

In general, CNC can be useful both from the point of view of improving search engine optimization and from the point of view of ease of navigation for users on the site. And organizing the conversion of page addresses into SEF links is best, in my opinion, in all possible details (there is even a 404 error page and the optimal Title in question.

In the "Published" field, you will need to check the "Yes" position. In the "Access" column, you can configure which of the visitors to your project will have access to the contents of this section: either all, or only registered users, or only administrators (Special).

I'm not one hundred percent sure where the picture specified in the "Image" field will be displayed, whether in a module with a menu, or on a section page. Most likely the second, but I could be wrong.

Personally, I use the Description field to add an image to a section or category page. In it you can use a visual editor and a special button to add pictures.

After clicking on this button, a window will open in which you can, by clicking on the "Browse" button, find the desired photo on your computer and upload it to the server using the "Upload" button. After that, you will have to find the image you just downloaded, click on it with the mouse and click on the "Insert" button located at the top:

We have created the first section, now, by analogy, we need to create the rest. After that, we start creating categories in Joomla. To do this, in the admin panel, select "Materials" - "Category Manager". To create a new one, click on the "Create" button located at the top of the window.

All other settings are similar to those we considered earlier. For final creation, click on the "Save" button located at the top of the window. Similarly, you need to create categories for all sections of your site. After that, you can start adding content through the Joomla admin panel.

Adding content (new materials, articles) to Joomla

To do this, select "Materials" - "Material Manager". As a result, you will see a window containing a list of all articles available on your project. To create a new one, you will need to click on the "Create" button located at the top of the window.

A window with a wizard will open in front of you. There are a lot of settings in it, but in most cases the default options will suit you, although, of course, knowing all Joomla's content management capabilities will not hurt and we will definitely talk about all of them, but in a separate publication.

Now I want to dwell only on those points that directly relate to the structure of content in Joomla. In the "Title" field you need to specify the future title of the article, and the "Alias" column should be filled in only if you are using the standard Joomla SEF address translation (CNC), similar to how I explained it above.

You can enter the text of the article as.

You may not use the visual editor at all when writing articles, but in this case you will have to insert all HTML tags manually. I usually type articles in a visual editor, but occasionally go to the HTML viewer to make some adjustments to the code.

The visual editor in Joomla does not always understand exactly what you wanted to do, and therefore, in order to avoid problems and to save your nerves when writing articles, I advise you to read at least. For knowing it, all the problems that have arisen can be easily solved by going to viewing the HTML code of the article you wrote.

When using JCE, you can view HTML code in two ways. First, you can click on the "" label located directly above the toolbar. But in this case, you will see just the code without highlighting and the ability to undo the changes made.

The second method is much more convenient and preferable to use it. In this case, to view the code, you need to click on the "Edit Code" button, which is a piece of paper with two red brackets of tags:

As a result, a separate window with a full-fledged HTML editor will open, in which lines of code will be numbered, tags and their attributes will be highlighted in a different color than the text, which will significantly increase visibility. In addition, this JCE editor has tools for formatting text.

All you need to do is select the desired section and click on the formatting button, as a result of which the text will be enclosed in the tags you need. Similarly, you can create headings of different levels, quotes and other things by selecting them from the drop-down list. In addition, you can take a step back or forward, which greatly facilitates the process of recovering unsuccessful actions:

After writing the article, before you save it, you will have to choose in which section and in which category of this section your new material will be located. The drop-down lists of the "Section" and "Category" fields are intended for this. If you don't select anything, then your article will be on its own:

In order to display a new article on the site, you need to put a tick in the "Publish" box in the "Yes" position. If you need to bring it to the main page (we will have a separate conversation about the main manager), then put a tick in front of "Yes" in the "On main" field.

Search engine optimization links (buttons) "More"

Yes, if you plan to display articles in the form of a blog in the future (for this you need to create the menu items "Category Blog Template" or "Section Blog Template"), then during their preparation you will need to place the mouse cursor after the first few paragraphs that will become the announcement and press the button More details.

As a result, a dividing horizontal line will appear in the text of the article, and when it is displayed as a category or section blog, it will display only the announcement (the part that is above the dividing line).

The reader of a blog created in this way will see a button (link) "More" after the announcement text, by clicking on which he will be able to continue reading on the page with the full version. Moreover, the section of the text that follows immediately after the text of the announcement will be opened so that the user of your Joomla blog does not have to scroll through the announcement that he has already read.

If you do not like the text of the inscription on the "More details" button, then you can set another text for this link (their meaning for promotion is described).

So, if the link text "More" for all articles of your blog on Joomla is unique and contains keywords related to this article, then this may to some extent affect its position in the search results (it will get closer to the Top) and, therefore, attendance will increase slightly. This should not be neglected, because the promotion of a project consists of such, at first glance, trifles.

To change the "Details" text, when creating or editing an article, open the "Options - Advanced" area in the right column of the settings, at the very bottom of which you will see the item "Alternative text More ..."... Enter your unique anchor with the desired keywords here.

Upon completion of work on the article, click on the "Save" button located at the top of the window. Let me remind you once again that the rest of the settings that can be made, we will consider in detail in a subsequent article. Similarly, you fill your site with content by categorizing different sections of Joomla.

Creating menu items in Joomla for displaying articles

Now let's move on to the issue of displaying content on the site. As I have already mentioned several times, a page in Joomla is rigidly linked to a menu item, by clicking on which it will be created ().

Thanks to such flexibility of this engine in terms of content output, we can display the same article on the site in several ways. The first way is, of course, creating a simple menu item (Standard Material Template), by clicking on which a page will open containing only one this article.

The second method will allow the same material to be displayed using another menu item so that as a result a page will open containing all the materials of any category, where our hero is located.

Moreover, it will be possible to customize the display method all materials in the category on the page that opens - either it will be a list of their announcements (blog), or it will be a list of only their titles (list). How exactly the output will be carried out depends on which menu item in Joomla you create.

And, finally, you can display the material as part of all the articles of the section in which it is included. For this, Joomla has a special type of menu item. Oh yes, I almost forgot, the same material can also be displayed on the main page by simply checking the "On main" checkbox in its settings. Such are the rich possibilities for content output.

Without the use of nesting levels, it would only be possible to display one article either on a separate page, or on the main page along with others of the same. But now we will consider all this in more detail.

To create a new item in Joomla, you need to go to the menu where we will create it. You can read about creating a new menu and inserting it into the module to display it in the right place in the site template in the publication, the link to which I gave in the very first paragraph. So, in the admin panel, select "Menu" - "New name".

As a result, you will see a window called "Menu Items", which will list the existing ones. To create a new one, you will need to click on the "Create" button located at the top right. A window will open showing a tree-like list of all the possible variations that you can implement.

In addition to those provided by default, there will also be menu items that have been added. Typically, components tend to add their items to this list, so that you can get to their pages filled with their content (for example, components, forums, and the like).

But we are now interested in those items that allow you to display articles in one form or another. These menu items are hidden behind the "Materials" item:

Let's now briefly consider the most used options, and we'll talk more about this in the next article:

  1. Standard material template - using this menu item, you can display one single article on the site page. Which one will be displayed, you specify in the settings, namely in the "Select material" field, using the "Select" button. This will open a separate pop-up window with a list of all the materials you have (you can use filters by category and section)
  2. Category blog template - you should choose this if you want to create a blog on Joomla not on the main one (for creating a blog on the main, the procedure will be slightly different). At this point, a list of all articles from any category will open. The text of the materials will need to be split into announcements and everything else using the "More" link.

    As a result, there will be a listing of the announcements of articles available in this category, in the order of obsolescence (new ones are displayed above the old ones). Everything is very simple.

  3. Category list template - it allows you to display on the site page a list of headers of all materials available in the selected category.
  4. Section blog template - it allows you to display all the articles of the selected section in the blog format (article announcements with the link "More"). Essentially similar to "Category Blog Template", it can only include content from several categories included in the selected section
  5. Standard section template - it allows you to display a list of headings of all categories of the selected section
  6. Archived list is a rarely used item that allows you to display a list of all archived materials on your site. The archives will probably be relevant on news sites, where information quickly loses its relevance and it makes sense to archive these materials so that they do not participate in the search on a par with topical articles.
  7. The template of the blog of materials on the main page - allows you to display on the main page all materials that are marked with a checkbox "On the main" in the form of a blog (article announcements with the link "More"). After installing Joomla, such a menu item will already be created and you are unlikely to have to reuse it, unless only after accidental deletion or with some other cunning manipulations

Good luck to you! See you soon on the blog site pages

You might be interested

How to create a blog in Joomla based on a category or section using a menu item, as well as other options for displaying content
What is Joomla
Organizing content in Joomla - deleting and creating articles in the admin area, as well as setting parameters for all materials
Site contacts and feedback form using the built-in Joomla component
Menu in Joomla - adding a nested or drop-down menu, as well as creating and configuring a module to display it on the site
Modules in Joomla - viewing position, setting and displaying, as well as assigning class suffixes
CMS Joomla - principles of a free content management system, page creation and caching
Modules for displaying a list of sections in Joomla, random and latest news, similar materials, custom photos and Html code
Creating a map for a Joomla site using the Xmap component
Joomla admin panel - a complete manual for all settings of the Joomla admin panel in details and pictures