# |
Jul 17th 2009, 12:45 |
techno-geek |
D |
# |
Jul 17th 2009, 12:45 |
techno-geek |
I see how it is. #cakephp > techno-geek |
# |
Jul 17th 2009, 12:43 |
techno-geek |
did null work? |
# |
Jul 17th 2009, 12:43 |
ProLoser|Work |
weird, i know i got this code from somewhere else |
# |
Jul 17th 2009, 12:43 |
ProLoser|Work |
i had it set to false, |
# |
Jul 17th 2009, 12:42 |
techno-geek |
and I think there are a couple others |
# |
Jul 17th 2009, 12:42 |
techno-geek |
make sure to set plugin to null |
# |
Jul 17th 2009, 12:42 |
techno-geek |
thats prob it |
# |
Jul 17th 2009, 12:42 |
techno-geek |
yeah |
# |
Jul 17th 2009, 12:42 |
ProLoser|Work |
oh, it's not loginAction? |
# |
Jul 17th 2009, 12:41 |
techno-geek |
or whatever one it is |
# |
Jul 17th 2009, 12:41 |
techno-geek |
you need to manually set $this->Auth->loginRedirect |
# |
Jul 17th 2009, 12:41 |
ProLoser|Work |
yes |
# |
Jul 17th 2009, 12:41 |
techno-geek |
ProLoser|Work, with auth? |
# |
Jul 17th 2009, 12:41 |
ProLoser|Work |
so when redirecting for userlogin it's not leaving the plugin |
# |
Jul 17th 2009, 12:41 |
ProLoser|Work |
i have a general plugin issue, my app_controller in it won't run |
# |
Jul 17th 2009, 12:40 |
ProLoser|Work |
any |
# |
Jul 17th 2009, 12:40 |
techno-geek |
what plugins are you referring to? |
# |
Jul 17th 2009, 12:40 |
ProLoser|Work |
techno-geek: you complete any plugins yet? |
# |
Jul 17th 2009, 12:37 |
markstory |
you can see how its parsing the array into a regexp |
# |
Jul 17th 2009, 12:37 |
markstory |
it will make a dump so the test is a bit easier to write. |
# |
Jul 17th 2009, 12:37 |
markstory |
while writing them |
# |
Jul 17th 2009, 12:37 |
markstory |
also set the third param = true |
# |
Jul 17th 2009, 12:36 |
Phally |
right, i think i'll manage |
# |
Jul 17th 2009, 12:36 |
markstory |
'stuff' == 'text' |
# |
Jul 17th 2009, 12:36 |
Phally |
yes, i saw that one in the form helper |
# |
Jul 17th 2009, 12:36 |
markstory |
'a' => array() == open tag |
# |
Jul 17th 2009, 12:36 |
markstory |
'/a' == end tag |
# |
Jul 17th 2009, 12:36 |
markstory |
yeah |
# |
Jul 17th 2009, 12:35 |
Phally |
markstory: oh it recognises the xhtml tags of course, everything else is just text |
# |
Jul 17th 2009, 12:35 |
markstory |
' | ', |
# |
Jul 17th 2009, 12:35 |
markstory |
no you can just do plain text. |
# |
Jul 17th 2009, 12:35 |
Phally |
markstory: using assertTags, how would i test that separator, since it has no tag, or should i use a tag as the separator (i.e. <strong> | </strong>) |
# |
Jul 17th 2009, 12:34 |
ProLoser|Work |
AD7six: i want to try designing the answers plugin also but i'm concerned about scope due to extra categorization and topics tables that apply to tables outside the plugin, is the only way to connect the relationship in both directions mean i gotta modify the plugin? |
# |
Jul 17th 2009, 12:19 |
Phally |
markstory: ah perfect, i'll report back ;) |
# |
Jul 17th 2009, 12:18 |
Phally |
markstory: ah, thanks, was looking for it at: http://simpletest.org/api/SimpleTest/UnitTester/UnitTestCase.html |
# |
Jul 17th 2009, 12:18 |
markstory |
it basically assembles stupid long regexp |
# |
Jul 17th 2009, 12:18 |
markstory |
Phally: yeah its in CakeTestCase |
# |
Jul 17th 2009, 12:18 |
Phally |
markstory: i will, thanks, let me try some first :) |
# |
Jul 17th 2009, 12:16 |
Phally |
assertTags is a cake method? |
# |
Jul 17th 2009, 12:15 |
markstory |
Phally: if you have issues with assertTags let me know, it can be tricky if you've never used it. |