Search found 10 matches

Page 1 of 1

Search found 10 matches

change SEO url on language change

As the title illustrates I want to change the SEO url when I change the opencart language (and vice versa). The problem is: when I alter common/seo_url.php to check which language the user selected and change the URL accordingly, the URL changes one redirect(?) too late. for example: I want the url ...

Jump to post
  • Sun Oct 06, 2013 7:56 am
  • Replies 1
  • Views 413
Re: Multilingual SEO keywords

Current flaw in the solution: 1. When you click a category or product, Opencart automatically chooses the SEO keyword with the lowest ID in the database for the URL. So when you're on an English page, and you navigate to a category or product it's possible that you get another language in your addre...

Jump to post
  • Sun Aug 18, 2013 1:49 am
  • Replies 21
  • Views 18504
multilingual SEO keywords

When I was looking for a solution to be able to add multilingual SEO keywords, I couldn´t find any. That´s why I made a simple solution to this using VQMOD. You may use it for free. I don't guarantee it works, use on your own risk, etcetera. It has however been tested on OpenCart v1.5.5.1. Let me kn...

Jump to post
  • Thu Aug 15, 2013 5:54 pm
  • Replies 1
  • Views 2251
Re: Multilingual SEO keywords

Excuse me for bumping this old topic, but I was looking for a solution for this. Since I couldn't find a free one, I made a simple solution to this using VQMOD. You may use it for free. I don't guarantee it works, use on your own risk, etcetera. Let me know if it helped! To install: 1. Add a column ...

Jump to post
  • Thu Aug 15, 2013 7:30 am
  • Replies 21
  • Views 18504
Re: headers in OpenCart admin

Because I didn't know about the folllowing functions:
$this->response->addHeader();
$this->response->setOutput();

I now use these functions in the controller file, instead of using <?php header(); ?> tags in the template.

Jump to post
  • Sat May 25, 2013 11:20 pm
  • Replies 4
  • Views 580
Re: headers in OpenCart admin

Thank you for your answer. I was refering to the function header() in php. I used your code to load the custom template, and made the template generate a file using the header() function. It works, so I guess it's OK to have a function like that in the template.

Jump to post
  • Sat May 25, 2013 12:24 am
  • Replies 4
  • Views 580
[SOLVED] headers in OpenCart admin

After my previous question was quickly answered, I came up with another one. I have an admin module/extension where users can fill in a form (code for the form is in the template files). Of course, after filling in the form the data is sent to the controller. The controller processes the data filled...

Jump to post
  • Wed May 22, 2013 4:24 am
  • Replies 4
  • Views 580
Re: $this->model_catalog_category->getCategories(0)

Thank you very much! For the downloaders of the module I've added the fixed function to the custom model file, so they don't need to update their corefiles.

Jump to post
  • Sat May 11, 2013 8:31 pm
  • Replies 4
  • Views 2711
Re: $this->model_catalog_category->getCategories(0)

Thank you for your quick reply. Since I have the latest version of OpenCart, everyone who wants to install the module/extension has to fix the bug? I think modifying the function and using the custom modelfile would be easier for users. EDIT: I can't find the fix on Github, any keywords I should sea...

Jump to post
  • Sun May 05, 2013 2:50 am
  • Replies 4
  • Views 2711
[SOLVED]$this->model_catalog_category->getCategories(0)

There seems to be something wrong with the function $this->model_catalog_category->getCategories. Please note that I'm developing an admin module, so don't confuse it with the catalog files :). In the controller I have the following code: // Load models $this->load->model('catalog/category'); // Ass...

Jump to post
  • Sun May 05, 2013 12:31 am
  • Replies 4
  • Views 2711

Page 1 of 1

Search found 10 matches