Welcome Guest, Not a member yet? Register   Sign In
[Solved] Getting simple_html_dom to work with CI?
#6

[eluser]zimco[/eluser]
Waldmeister is the master. Thanks for your persistence in getting me to try it as a helper, rather than a library, as my lack in understanding the subtle differences between a CI Library and CI Helper seems to have been the main problem for me getting it to work.

I got it to work by doing the following steps:

1) Drop the file simple_html_dom.php into /application/helpers folder
2) Change the name to simple_html_dom_helper.php
3) Capitalize the first letter of the two class names in the file:
around line 83 class Simple_html_dom_node
around line 481 class Simple_html_dom
4) Then remember to load the new helper in the controller with $this->load->helper('simple_html_dom')


Messages In This Thread
[Solved] Getting simple_html_dom to work with CI? - by El Forum - 05-11-2009, 02:02 PM
[Solved] Getting simple_html_dom to work with CI? - by El Forum - 05-11-2009, 03:23 PM
[Solved] Getting simple_html_dom to work with CI? - by El Forum - 05-11-2009, 03:35 PM
[Solved] Getting simple_html_dom to work with CI? - by El Forum - 05-11-2009, 05:50 PM
[Solved] Getting simple_html_dom to work with CI? - by El Forum - 05-12-2009, 01:38 AM
[Solved] Getting simple_html_dom to work with CI? - by El Forum - 05-12-2009, 07:15 AM
[Solved] Getting simple_html_dom to work with CI? - by El Forum - 05-12-2009, 07:21 AM
[Solved] Getting simple_html_dom to work with CI? - by El Forum - 05-31-2009, 04:18 AM
[Solved] Getting simple_html_dom to work with CI? - by El Forum - 06-04-2009, 10:12 AM



Theme © iAndrew 2016 - Forum software by © MyBB