Joomla 3.2 overrides not working after k2.6.7 install - joomla

After installing k2.6.7 my Joomla 3.2 overrides do not seem to work.
I am using k2 only in one category, the rest of the site uses the basic joomla 3.2 system.
Template is my own custom template.
Had applied Joomla overrides before installing k2 which worked just fine.
Since k2 install have tried applying a override to blog_item.php and default_item.php with no results.
If not k2 what else could cause overrides to stop working?

You have to create overrides for K2 too. Check these:
Templating with K2 (and the concepts of sub-templates)
http://getk2.org/documentation/k2class2012/865-k2-template-and-overrides

K2 shouldn't affect your standard Joomla overrides, it has nothing to do with them.
How are you using the overrides? (and which ones you are trying to edit would be helpful)
If you want to replace the standard views then your files should be in your templates folder at
/html/com_content/category/blog_item.php
/html/com_content/featured/default_item.php
If you are trying to override views other than category blog and featured articles then your files are named incorrectly.

Related

Translations of menu items aren't work after update Joomla to version 3.7.0

I have problem with translations of menu items after update Joomla to version 3.7.0. This website has 7 language versions. Other translations works, eg. k2_items or articles. Only menu items aren't translated.
I'm using gk_news2 template made by GavickPro.
Przemek
Same here. Interestingly, on one site it works fine, on another it doesn't. Only the one that works has K2, the other is a very basic site, using Protostar standard template.

Joomla : MorfeoShow inside module

i am using joomla 1.6 with morfeoshow 1.2 extension.
I need to add new gallery inside home page modulethis time not inside article, i dont know if it's supported or not.
My question is how can i add morfeoshow gallery inside a module in joomla 1.6.
Thanks
Morfeoshow is no longer supported and doesn't have a module to let you implement that inside an article or a module position. You have to try another component like Phoca gallery
That will be also good to update your joomla installation to 2.5.22 to avoid security issues.

Using Joomla K2 Joomla Framework

I am quite new to Joomla, especially the K2 Framework. I would like to make a neat magazine website in Joomla. What I have done is, I have already imported all contents from Joomla! Content into K2.
What I need to do now is to arrange my categories and their articles like there are in this link or any other well arranged magazine website.
I do not know how to go about creating sub-templates and what they would look like. I have read several documents including the documentation but I don't get them so well to pave my ways
Anybody who knows what I need please help.
Maybe you must override the k2 module. So you must make a lot of module position and use k2 content module to show different layout in same page.
You must download K2 template override package,
follow this link to download: http://getk2.org/documentation/tutorials/77-k2-template-override-package-comparison
You can use k2 content module.
if you want creating sub-template for k2 content module, you must copy default folder on the /template/Your-template/html/mod_k2_content/default and you must rename the new folder.
After renaming the new folder you can check the sub-template. Add the k2 content module from your admin page and you will see select sub-template option, click it and you will see new sub-template
The sub-template name same with the name of new folder. And if you want to change style you can edit default.php in the new folder. :)
If you want to build something similar to this website you will need to make use of modules that allow you to display K2 content.
There are far too many to mention, but K2 itself installs K2 Content and K2 Tools. Try enabling those modules and experimenting with them. They offer a lot of options to display K2 items in various ways.
Source: I've built my fair share of K2 powered Joomla sites. :)
You need to create overrides of K2 component and its module.
Copy the component files from
components/com_k2/templates and paste it to the following path templates/{yourtemplate}/html/com_k2. Here, you can modify all the files and their layout as per your requirement or design.
Copy the module files from modules/mod_k2_tools/default folder and paste it the path templates/{yourtemplate}/html/mod_k2_tools . Similarly, you can copy other modules of k2 as per your need. The other modules are as:
mod_k2_comments
mod_k2_content
mod_k2_user
mod_k2_users
This way, you can create your own layout for the component and during any Joomla update it will remain as it is. Refer the following links for more details:
https://docs.joomla.org/Layout_Overrides_in_Joomla
https://getk2.org/documentation/tutorials/174-templating-with-k2-and-the-concepts-of-sub-templates
Hope this helps!

joomla/virtuemart - no layout on login page

i'm working on a joomla 1.5 with virtuemart 1.1.8. I'm not an experienced user of joomla, and one of my modifications exited the virtuemart page "shop.registration" (register page) out of the theme's layout : i miss the header and the footer.
Did anyone know how joomla and virtuemart templating system works ? It's my first use of virtuemart, and the 2nd of joomla.
Thanks.
Virtuemart prior to version 2.x does not use the Joomla! template system, instead it uses it's own "themes" mechanism which is frankly horrible. The main problem is that most people hack the standard theme and then when and update comes along it get over-written by the update.
You can still read about the old 1.1.x style of themes on the Virtuemart Developer documentation website.
Also, you should update to Virtuemart 1.1.9 as it includes some serious fixes.

How to automatically generate a menu item when creating a K2 content?

Is there a way to automatically generate a menu item when creating a K2 content?
Might not be exactly what you're after but you could just use the K2 content module to display a 'menu' by overriding it and outputting an HTML unordered list?
I don't know of a K2 specific extension to do it, but it would be pretty simple to modify a Joomla Section/Category/Article based extension to work with K2.
This extension looks like it would be a good candidate- http://extensions.joomla.org/extensions/structure-a-navigation/menu-systems/tree-menus/11452
The other option would be to fake a menu by using the K2 content module in a CSS styled list.
I found this one and i'm totally happy with it! Work with both normal joomla articles and k2 ones!
http://www.nonumber.nl/extensions/addtomenu
You can maybe try JLinker Mass Menu Link Generator: http://www.jlinker.com
It works with Joomla 2.5 and Joomla 3.x, it's free and it allows you to generate links for Joomla articles and categories. There are also extensions to generate links for K2 and Virtuemart.

Resources