Not working in single page?

Permalink Browser Info Environment
Hi mike, i add theme switcher to header area, in single page like login or profile i add manually.
$b = Block::getByName('Theme-Switcher');
$bv = new BlockView();
echo  $bv->render($b, 'view');

but it not work. there is javascrip mising
<script type="text/javascript"> $(document).ready(function() { $('#theme-switcher').change(function(){ this.submit(); }); }); </script>

then, i add that manually after header_required.php
but stil not work. when i select the option, there no action.


warm regards, :)

Type: Discussion
Status: New
fastcrash
View Replies:
Mnkras replied on at Permalink Reply
Mnkras
When you manually load a block like that it does not load the header items, could you possibly link me to where you are using this?

Mike
fastcrash replied on at Permalink Reply
fastcrash
i still play it in localhost, and found this isu when i want login

i still not update it to my site yet, i will upload it soon
http://edupayment.co.id/beta/
Mnkras replied on at Permalink Reply
Mnkras
Let me know when you do.

concrete5 Environment Information

Browser User-Agent String

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.