Any ideas on this one? The "Join Form Block" is not showing on index.php after upgrade to 7.0.5 - the block is there in admin... but not shown on the site. It is shown on join.php but not index.php
Any ideas on this one? The "Join Form Block" is not showing on index.php after upgrade to 7.0.5 - the block is there in admin... but not shown on the site. It is shown on join.php but not index.php |
I don't believe the join form is on the index page for a default dolphin install. https://www.deanbassett.com |
That is probably it, yes! Good call. However, the "Join Form Block" does show up in the builder... yet not on the actual page in a browser. I'll try and find what was potentially modified to originally allow it to show on the index.php page. |
That is probably it, yes! Good call. However, the "Join Form Block" does show up in the builder... yet not on the actual page in a browser. I'll try and find what was potentially modified to originally allow it to show on the index.php page. My guess is the mod was more than one part. The block will still show up due to the database entry. But may not function because of missing code changes. https://www.deanbassett.com |
It was exactly like that. Sorted now by locating the original mod (http://www.boonex.com/unity/extensions/entry/Site_s_Join). The vital bit of code is at the bottom on BxBaseIndexPageView.php - if anyone does this now, please just copy the piece of code at the end of the file rather than overwriting your BxBaseIndexPageView.php flie as there are numerous core changes to that file since the "Site's Join" mod was created. All sorted, thanks for the starting point Deano. |
function getBlockCode_JoinForm() { bx_import("BxDolJoinProcessor"); $GLOBALS['oSysTemplate']->addJsTranslation('_Errors in join form'); $GLOBALS['oSysTemplate']->addJs(array('join.js', 'jquery.form.js')); $GLOBALS['oSysTemplate']->addCss(array('join.css')); $oJoinProc = new BxDolJoinProcessor(); return $oJoinProc->process(); }
Please use this code for dolphin 7.0.8 |