Hi Tim,
I was able to get in there and turn on the setting. Indeed - what I had done is taken some more recent code from 1.8.3 and merged in to 1.8.2 to get the left to right functions going. I hadn't taken the implementation of left_to_right in to weblib and there was another function in moodlelib and accesslib I had to do the same with.
Now things are working.
One thing though .. I have overridden title_html in search --> block_search.php and no longer get editing controls around it. In other words, I've added it but can't move, edit etc ...
as seen in this pic:
What did I remove that I can't seem to find?
As seen in my code, I have the edit controls test and am adding them to the title. I put some messages in there and it is indeed going in to the if but it is not returning any edit controls...
function _title_html() {
global $CFG;
$title = '<div id="sidebar_search_holder"><div id="sidebar_search_header">';
$title .= '<h6>'.$this->title.'</h6>';
if ($this->edit_controls !== NULL) {
$title .= $this->edit_controls;
}
$title .= '</div>';
$title .= '<div id="sidebar_search">';
return $title;
}
I recall this worked before :|
I guess worst to worst, I can go edit-control-less if I can get some insight as to how to move this block around by using the database? I want it in the same order on my internal page as on my home page - all of the blocks ...
Thanks for any help
Adam
Themes
Theme coming along .. can't get in to editing mode?
This discussion has been locked so you can no longer reply to it.