Changeset [f7e3410ee80be734e96a6976fc4a5e0adcfc4ae2] by dleffler
Revision f7e3410ee80be734e96a6976fc4a5e0adcfc4ae2,
committed by dleffler
· August 6th, 2011 @ 01:21 AM
spider searches $available_controllers which now also contains
models stored in the modules folders. Crashed because there was no
isSearchable() method, so I added it to expRecord. Also the Twitter
model was extended to use expRecord (not sure if this will cause
other problems, if so, just add an isSearchable() method). Also a
disconnect in textController. Is says it is Searchable, but set to
return false when getting spider content (made an assumption that
search operated like in 1.0). I commented out the
addContentToSearch() method, so it works per expRecord. If this is
not desired, uncomment it out and change isSearchable() to return
false. Also corrected a recent typo in the exponent_modules_list()
function.
[#283
state:resolved]
https://github.com/exponentcms/exponent-cms/commit/f7e3410ee80be734...
4 changed files
-
M
framework/core/models/expRecord.php -
M
framework/core/subsystems-1/modules.php -
M
framework/modules/text/controllers/textController.php -
M
framework/modules/twitter/models/Twitter.php