Having given up on the rewrite rules, I am trying a different tack ...
... trying to include "main" as an Allowed target for the blog class, in the hop of adding the wordpress module to the home page ...
so far I have added this class in my custom module:
Code:
class WordPress extends XLite\Module\QSL\WordPress\View\WordPress implements \XLite\Base\IDecorator
{
/**
* Return list of allowed targets
*
* @return array
*/
public static function getAllowedTargets()
{
return array_merge(parent::getAllowedTargets(), array('main'));
}
protected function isVisible()
{
return (\XLite::getController()->getTarget() == 'main' && \XLite\Core\Config::getInstance()->QSL->WordPress->section_style == 'content section') ? true : false;
}
}
But no joy ..... surely there must be a away to do this?
Can anyone help?
Jan