Hot answers tagged

6

There are specific tags that Google understands and does use - these are documented on the google website here: -- https://support.google.com/webmasters/answer/79812?hl=en [The description] tag provides a short description of the page. In some situations this description is used as a part of the snippet shown in the search results. So the other ...


5

That's because the $menu->getActive() is not returning an object, and here is because there is no menu item used for the search page. To get rid of the php notice you are seeing, you could first check if the $menu->getActive() is an object and if yes then get its id property. like so: if ( is_object( $menu->getActive() ) ) { //... }


5

Copy the file /modules/mod_search/tmpl/default.php to templates/joomla-template/html/mod_search (make sure that the file doesn't exist under the destination directory first) Add the following to the form tag: enctype="application/x-www-form-urlencoded" So, your form tag should be something like: <form action="<?php echo JRoute::_('index.php');?>"...


4

I will focus only on the question itself, about the 2 meta tags and won't expand on what else would make a website SE Friendlier. From the 2 meta tags in question, the one that you should really care and pay attention is the meta description. Although not powerful as it used to be, meta description still has its importance, Google does use it, and it's a ...


3

If you're on a content heavy site (continuously updating), then filling in the meta data for each article wouldn't not be as important, as the search engines will use the global meta data, however if you do have time to fill them fields in, I'd recommend doing so. The meta data used in each article can be helpful though, because if a search engine detects ...


3

The best practice to avoid any unpredictable urls is to create "Articles - Category List" or "Articles - Category Blog" menu items for all your top level article categories. This way all your articles will inherit the url structure from these menu aliases. Go to Menus->Add New Menu Create a Menus say "Articles" Go to that Menus Add the menu item for each ...


3

Ah, I found it! For the benefit of anyone else who can't see how to do this... I was looking for it in the options when configuring the menu item, and in the component options in global config. In fact, you need to look in the component itself. Go to "Components" / "Smart Search", and then pick the "Content Maps" section. You'll see that your content has ...


2

Not quite the full answer, BUT someone has already started working on this, though not really a rendering of the search page, more of a menu module, but certainly a very nice start http://www.demo-joomunited.com/tag-transform Very nice component, with demo video showing its full workings


2

Perhaps a simple approach would be to import the Access records as Articles in the #__content table, and use the Categories and/or Tags to separate the Books/DVDs. This way you can leverage all the core search/sort/display features of Joomla without changing a line of code. Additionally, there are endless extensions to search and otherwise work with core ...


2

You can build everything as part of the component. Not sure how the database structure looks like, you need to import it to MySQL (or another supported database), but if you could bring / adapt it to match Joomla needs (id, sorting, etc...), you can rely on JTable / JModelLegacy & Co. for CRUD operations, also in the front-end. => for this you need to ...


2

Just a few quick thoughts: I guess that you want to have a search module that will instantly show search results from a specific category. There are 3rd party search modules that are using AJAX to display results. Many of them might have options to specify categories from which to show the search results. But usually the search results of these modules are ...


2

I had the same problem couldn't find solution on other websites, so fixed it myself. In my case solution was to remove onContentSearch on first line in the file: public_html/plugins/search/fieldsattachmentadvanced/fieldsattachmentadvanced.php Probably the developer put it there by mistake. :)


2

It seems that onContentSearch is written in echo or print_r , you can search the string in code to detect it in search plugin or component used on your site, can check the article content if any is set on this page from admin panel and also check the index file of your template.


2

There is no import option for the Tags component. This will make a such import directly into the database a tough process, as you will have to take into consideration all the fields of the table for each row. An insert statement for each row would look like this: INSERT INTO `cpxns_tags` (`id`, `parent_id`, `lft`, `rgt`, `level`, `path`, `title`, `alias`, `...


2

It's very easy to create your own search plugin as is fully documented at Creating a search plugin.


2

I believe this is more likely, SEO related question. Joomla has nothing to do with that. But still I can guide you to a nice explanation. https://acrobatusers.com/tutorials/make-your-pdfs-work-well-google-and-other-search-engines Hope this will help.


2

I think you could use JInput to get the ItemId. Try using the following: $jinput = JFactory::getApplication()->input; $ItemId = $jinput->get('Itemid', '', 'INT'); if ($ItemId == 203) { // Something here }


2

You can control this by creating menu items first for the Joomla articles category (blog/newsfeed or whatever), then for the tag component itself. 1. JOOMLA CONTENT You want to have a page where the articles posted under the blog category will be displayed under the same URL scheme, like www.domain.com/blog/article-title. For this you need to have a ...


2

Best option will be if you use Mozilla Firefox, and then install the add-on extension WebDeveloper. That extension will help you a lot with discovering where are you on your HTML code, which CSS class/id is assigned to that specific line, and then easily you can edit your CSS code and see in "live" what you are getting by changing parameters. At the same ...


2

The best way for make this changes is making an override. First, here some docs for make the override step by step: https://docs.joomla.org/J3.x:How_to_use_the_Template_Manager Now you need to create an override in the column: Components > com_search > search You can find the files in: yoursite/templates/yourtemplate/html/com_search/search For the first ...


2

Thanks for clarifying the question. I'll leave the Smart Search option in this answer as it may be useful to others in future. Joomla Smart Search Enable Smart Search by enabling the Content - Smart Search plugin and then go to Components -> Smart Search and click on the Index button. Create filters for the required categories at Components -> Smart ...


2

Extra to the default search component, we have another search component called Smart Search. You can find this component in: Components > Smart Search and Extensions > Modules > New > Smart Search You also have some configuration in: System > Global Configuration > Smart Search From here change to show the field Query Explanation, see the screenshot: If ...


2

Your containing div has the class .search and you give that class in custom.css a height of 55px. I assume it's because you want to fit the search button into the main navi. If you want only your search button in the main navi to have a height of 55px use this rule: .head-search .search { height: 55px; }


2

Can you try setting up an alternate page using Components->Smart Search? This might help narrow down whether it is a code problem or server/resource problem. If it is a code problem, check your template's override folder (/templates/TEMPLATE_NAME/html/com_search/) to see if there is a template override causing the problem.


2

The search function is in the navbar which is hidden on narrower screen widths. The relevant HTML is: <div class="t3-navbar navbar-collapse collapse"> and the corresponding CSS is: .collapse { display: none; } The easiest solution is probably to add an additional search module in an alternative module position for narrower screen widths.


2

Ok, after a bit more in depth digging the following fixed the issue: @media (min-width:768px) and (max-width:991px) { #t3-mainnav .t3-navbar.navbar-collapse.collapse { display:block; height:0px; border:none; background:none; box-shadow:none; position:static; } .t3-megamenu { display:...


1

Another reason for using meta descriptions that hasn't been mentioned is it's importance for social sharing. When sharing your content on social media like Facebook, the meta description will be used for the summary. If no meta description is included, Facebook will use a more or less random part of your text. Note that Open Graph tags like <meta ...


1

No major search engines use the meta keywords or categories at all. Don't waste your time. We moved on from these sort of things years and years ago. Yes, meta descriptions are important as search engines use them for the intro text for each page. If there is no meta description search engines will use the first paragraph to populate the description. ...


1

I've not done this before so this could be the wrong approach, but will give it a shot anyway. Looking at the default clear button for filters, it contains the following onclick attribute: onclick="document.getElementById('filter_search').value='';this.form.submit();" What this does is empties the input field, then resets the form. Seeing as you have ...


1

When you say "normal search" you must mean the build in Joomla module. K2 has a search module that supports search in extra fields. New module -> K2 Tools -> Select module functionality Search Box *There is an issue with the K2 v2.7.1 search but the K2 v2.7.0 works as you need it. As for your second question Yootheme Zoo is the next best thing but it's ...


Only top voted, non community-wiki answers of a minimum length are eligible