[SOLVED] inline module via pretty url will replace content
Posted: Tue Jun 28, 2011 5:01 pm
Hi,
If i acces a page with an inline module via pretty url registered by module, all {content} or {AdvancedContent} gets replaced, not just the {module_tag}.
inside SetParameters():
$listparams2 = array('action' => 'default', 'inline' => 1);
$lang = 'en';
$this->RegisterRoute($lang . '/[mM]armelada\/(?P<returnid>[0-9]+)\/(?P<junk>[A-Za-z][A-Za-z0-9_].+)\/page(?P<pagenumber>[0-9]*?)$/', $listparams2);
$this->RegisterRoute($lang . '/[mM]armelada\/(?P<returnid>[0-9]+)\/(?P<junk>[A-Za-z][A-Za-z0-9_].+)$/', $listparams2);
Thx,
Marius.
If i acces a page with an inline module via pretty url registered by module, all {content} or {AdvancedContent} gets replaced, not just the {module_tag}.
inside SetParameters():
$listparams2 = array('action' => 'default', 'inline' => 1);
$lang = 'en';
$this->RegisterRoute($lang . '/[mM]armelada\/(?P<returnid>[0-9]+)\/(?P<junk>[A-Za-z][A-Za-z0-9_].+)\/page(?P<pagenumber>[0-9]*?)$/', $listparams2);
$this->RegisterRoute($lang . '/[mM]armelada\/(?P<returnid>[0-9]+)\/(?P<junk>[A-Za-z][A-Za-z0-9_].+)$/', $listparams2);
Thx,
Marius.