Merhaba,
1.4 ve 1.5 sürümlerde SSL kullanımı ile gerçekleşen kullanım şartları checkbox - popup penceresi boş gelmekte alttaki çözüm ile problem giderilebilmekte.
controllers/front/CmsController.php
dosyasını açınız
PHP- Kodu:
public $cms_category;
bulunuz ve altına alttakini ekleyiniz
PHP- Kodu:
public $ssl = false;
PHP- Kodu:
if (Validate::isLoadedObject($this->cms) && ($canonicalURL = $this->context->link->getCMSLink($this->cms)))
bulunuz
PHP- Kodu:
if (Validate::isLoadedObject($this->cms) && ($canonicalURL = $this->context->link->getCMSLink($this->cms, $this->cms->link_rewrite, $this->ssl)))
bununla değiştiriniz
PHP- Kodu:
public function init()
{
parent::init();
bu kısmı bulun ve
PHP- Kodu:
parent::init();
bu satırı silin.
PHP- Kodu:
$this->canonicalRedirection();
satırını bulun ve üstüne ekleyiniz
PHP- Kodu:
if (Configuration::get('PS_SSL_ENABLED') && Tools::getValue('content_only') && Tools::getValue('id_cms') == (int)Configuration::get('PS_CONDITIONS_CMS_ID') && Validate::isLoadedObject($this->cms))
$this->ssl = true;
parent::init();
ve dosyayı kapatınız
controllers/front/ParentOrderController.php
bu dosyayı açın ve
PHP- Kodu:
$this->link_conditions = $this->context->link->getCMSLink($cms, $cms->link_rewrite);
bu satırı alttaki ile değiştirin
PHP- Kodu:
$this->link_conditions = $this->context->link->getCMSLink($cms, $cms->link_rewrite, (bool)Configuration::get('PS_SSL_ENABLED'));
Bookmarks