new module writing tutorial.
I'm sure it will be fantastically useful to everyone who wants to develop modules and I've been using it already.
I have come across my first bug in it though - so do we have a preferred way of feeding back issues?
Is there a bug tracker or should we just post any feedback in the forum?
Assuming the latter, I reckon the lines for adding words to the search module on page 39
Code: Select all
$search = \cms_utils::get_search_module();
if( is_object($module) ) {
if( !$holiday->published ) {
$search->DeleteWords($this->GetName(), $holiday->id, 'holiday');
} else {
$search->AddWords($this->GetName(), $holiday->id, 'holiday', $holiday->name.'
'.strip_tags($holiday->description));
}
}
Code: Select all
$search = \cms_utils::get_search_module();
if( is_object($search) ) {
....
s.