Post by exactweb » Sun Apr 08, 2012 12:12 am

I find that for each store I have to edit the class Document addLink() so that it supports "type" for RSS feed URLs. By the moment by default opencart only support href and rel.


Code: Select all

<link href="url" rel="alternate" type="application/rss+xml" />

Code: Select all

public function addLink($href, $rel, $type = 'text/css') {
	$this->links[md5($href)] = array(
		'href' => $href,
		'rel'  => $rel,
		'type'  => $type

New member


Tue May 31, 2011 5:06 pm
Who is online

Users browsing this forum: No registered users and 5 guests