How to add multi-language support to opencart module - php

I've gotten pretty good at creating my own vqmods and it has allowed me to customize the cart to my heart's content. I am now at a point where I want to start supporting the other official language in my country.
I've searched and searched plus looked as some modules on the opencart extension store but still can't quite get a grasp on it. There are no posts that I could find in the support forums explaining how to go about achieving this. I have a module that creates a new tab on the product page. On this tab, I have use ckeditor to format the text and all works well.
I've seen it done where you go into a module to customize it and you can see extra buttons to add text for different languages. Just can't find any free modules that uses this so that I could muddle my way through making it work.
Can anyone help me to add multilanguage to my custom opencart modules?

I was able to figure it out by looking at another mod with language files in it.

Related

Drupal Commerce - Load drupal variations images instead of a select box

I am not a beginner with Drupal, but I am a beginner with Drupal Commerce. I have used Ubercart since this project.
Actually, If I create a product display, and then a few variations under this product, Drupal Commerce automatically creates select box with titles of the other variations. This is quite useful for almost all the e-shops, but not for this one. I need to replace select box with titles with just images, on which customer will be able to click on, and select variation type just by image.
I think that there is almost all the functionality in drupal commerce kickstart which I am using right now. But I do not know how to achieve the result. I have already tried editing product view, but was not able to make it working. I have also searched through core modules of drupal commerce in code, because I think that there should be just an array function with result of titles, but did not found something like this yet. I have searched whole internet to search for solution but did not found anything useful.
In some threads peoples use to solve similar problems with for example colors, to give the ability for customers to see the color squares instead of color select box, this is achieved by module, which some of devs written. Maybe I can edit this module?
Also, I have never ever created a module, I am a bit lost in drupal codes, but tried it before.
Here are the attachments for better vision:
http://ofca.sk/temp/printscreen.png,
http://ofca.sk/temp/result.png
Any advice will be greatly appreciated; I just need to be pointed to the right direction,
You can achieve this feature, the same way than Commerce Kickstart v2 does: http://demo.commerceguys.com/ck/tops/drupal-commerce-hoodie - note the color selector at the right middle.
This is done using Commerce fancy attributes module which allows you to render color or image selectors that come from a taxonomy:
This module provides a "Rendered term" attribute mode, that shows the rendered term instead of a radio button (degrades to a normal radio button when JS is off) on the add to cart form.
You've got a video demo of this module with a step by step to configure in http://vimeo.com/44308580
Thank you for an advice, but I still had not been able to make it working with fancy attributes module. I used another way using taxonomy and a few views, which done almost the same.
But I still think, It is achievable by Fancy Attributes.
Thank you again
I have created a module for this case: https://www.drupal.org/project/commerce_options_as_images
I use it on my projects.

edit magento navigation without coding

I just recently started working with a Magento site, and so far I'm really not liking it. I need to remove a couple links from the main navigation, but I can't seem to find the option for it. I've googled it numerous times, and all I see are examples for coding the navigation. My question is, can you edit the site navigation like you can with say wordpress? Seeing how it's a cms I'd imagine the user should be able to make changes to the navigation using some type of interface, and without having to pull the files from the server and edit them.
Also just out of curiosity, for anyone experienced with Magento would you say it's a good choice for a cms? I've heard of it before, but haven't seen many sites that use it.
No!, so you have three options here.
Learn how to extend the navigation with the 100's of tutorials out there, it is really not that hard, assuming you have a theme you just have to edit app/design/frontend/[theme]/default/template/page/html/topmenu.phtml
Get an extension to do it for you.
Hire a developer to do it for you, we create a static block with installer for the html which make it slightly more user friendly to update in the future.
Stackoverflow is a bad place to ask questions like this, it is aimed at programmers and doing such a procedure is rudimentary stuff, I really hope you are a client trying to be cheap rather than someone who claims they can run this site.
Edit: The cms features are ok but you need to be able to code to set them all up so the end user can make the changes with WYSIWYG.
If you don't want to code for navigation then you can do below things
1) Create category and then Display Settings=>Display Mode=>static block only and Display Settings=>CMS Block=>static block name. In static block u can include in page url or custom page
2)You need to hire developer
If you're using Magento and have an integrated WordPress blog, it's possible to design a completely custom menu in the WordPress Admin using the menu builder. You have complete control over what menu items you want and the hierarchy of each item.
To get this to work, you need to integrate your WordPress blog using WordPress Integration in full integration mode. Your Magento template also has to be using the default Topmenu block.

How to add vertical tabs (like the product page) to a custom magento admin form

There are many tutorials to adding extra tabs to the product page but I am struggling to find information on how I can create tabs on a new form from scratch. I have looked at the following resources but the information presented doesn't seem to be very clear or my magento isn't good enough to understand it yet:
http://www.excellencemagentoblog.com/module-development-series-magento-admin-module-part3
how to create multiple tab in magento custom module?
I am trying to emulate the tab system that runs vertically down the left side of the product section but on a custom form.
Are there any references out there on how this should be done (similar to the official magento one explaining how to create an admin module)?
p.s I haven't posted code as anything I have is directly from the tutorials.
I ended up working through the excellencemagentoblog version and have successfully got tabs working. The examples given aren't exactly straight forward unless you understand the magento structure really well but the information within the article is adequate enough to work through.

php joomla template (how-to?) the proper way

Greetings all,
I just wanted to know what is the proper way to do template's in Joomla?
If i have four boxes in footer (4 columns) how can i automate them in the template so their content inside can be managed from the back-end?
So far, i have seen custom html block modules and using those. But wouldn't it be funny if there are loads of such blocks and than managing them from modules individually?
Now suppose if i have a slogan/tag line for my website; and i want it to be managed from backend.. Do i need to create that custom block even for such single line?
May be i am going to wrong direction. Can someone guide me please?
Regards,
Jhon.
A Joomla template is simply a map the outlines the various positions that available to put modules in. These positions are built around the component display area. You can load basically anything you want in to a module position. You will probably need to download some modules from the Joomla Extension Directory, there are tons of options.
The Custom HTML module is appropriate for simple content that is not going to change very often. This would be good for a company tag line that doesn't ever change. There are various modules that would allow you to load content from the latest Joomla articles based on section or category. There are modules for login forms, stock prices, RSS feeds, weather, all kinds of stuff.

Drupal - Breadcrumb and 'In this section'

I have looked all over the Drupal site to find out how to view the breadcrumbs that the menu breadcrumb module installs, but no one else seems to be having the same problem as me, has any one come across the menu breadcrumb module in Drupal and knows how to use it? Also is there a solution in Drupal again couldn't find an answer, in that you get a list of all the pages in a section of the site and list them on the page, in See Also kind of style?
Any help would be appreciated.
Thanks Sico
Those are two different questions. I am not familiar with the Menu Breadcrumbs module, but when in doubt, clear the cache.
If you want to list a lot of pages in the site, check out Views (Glossary comes prepackaged), Site Map, or a number of other modules. For recommendations of related content, check out this comparison chart, the Recommender API, and more. It will be worth your while to check out Drupalmodules.org to investigate what modules are available. I have only touched on a few off the top of my mind.
From a quick read through the module, it seems like the module uses the drupal_set_breadcrumb() function, to alter the breadcrumb. That means that the reason you are not seeing the breadcrumbs shouldn't have anything to do with the module. If you deactivate it you should still have the problem. Many themes have the option to disable breadcrumbs altogether and some doesn't even implement them. My guess would be that your problem is located in your theme.

Categories