# |
Sep 12th 2009, 10:21 |
savant |
just have it act as Taggable |
# |
Sep 12th 2009, 10:21 |
savant |
nope |
# |
Sep 12th 2009, 10:21 |
unclezoot |
im missing something small but important here |
# |
Sep 12th 2009, 10:20 |
unclezoot |
just wondering if your modeltobetagged has to contain a specific field to grab tags |
# |
Sep 12th 2009, 10:20 |
savant |
oh right. that was just a few small fixes |
# |
Sep 12th 2009, 10:19 |
unclezoot |
ok the plugin you added php4 compability to |
# |
Sep 12th 2009, 10:19 |
savant |
i FORKED a tagging plugin :) |
# |
Sep 12th 2009, 10:19 |
savant |
i dont have a tagging plugin |
# |
Sep 12th 2009, 10:19 |
unclezoot |
savant, how does your tagging plugin's behaviour work? |
# |
Sep 12th 2009, 10:16 |
Valiant64 |
lol |
# |
Sep 12th 2009, 10:13 |
ta-Labs |
Thanks! |
# |
Sep 12th 2009, 10:13 |
savant |
ta-Labs: you can ask and someone might :) |
# |
Sep 12th 2009, 10:13 |
ta-Labs |
Can anyone donate me 5 minutes of their precious time to help? |
# |
Sep 12th 2009, 10:12 |
Spirit |
where i find mod_rewrite.c in apache dir? |
# |
Sep 12th 2009, 10:12 |
Dimatter |
=) |
# |
Sep 12th 2009, 10:11 |
savant |
my prof must have mentioned "scope" 14 times in one sentence. i gave up and went back to web development :P |
# |
Sep 12th 2009, 10:10 |
savant |
you should take a compiler course |
# |
Sep 12th 2009, 10:10 |
Dimatter |
ah! |
# |
Sep 12th 2009, 10:10 |
savant |
Dimatter: no, you were adding to a temporary value that was lost when it left the foreach scope |
# |
Sep 12th 2009, 10:10 |
Dimatter |
savant: thank you so much :) |
# |
Sep 12th 2009, 10:10 |
Dimatter |
well no wonder it failed :) |
# |
Sep 12th 2009, 10:09 |
Dimatter |
savant: so i basically was adding something to the "key" not to the "value" ? |
# |
Sep 12th 2009, 10:09 |
savant |
if you only do $key, then it's the same as only doing $value |
# |
Sep 12th 2009, 10:09 |
savant |
Dimatter: the $key is the, well, key in an array, whereas the $value is what it holds |
# |
Sep 12th 2009, 10:09 |
savant |
Dimatter: and then the two places where I actually set the new_count |
# |
Sep 12th 2009, 10:09 |
Dimatter |
savant: i never knew the diff between as $key => $value or as $key only |
# |
Sep 12th 2009, 10:08 |
savant |
Dimatter: see the first foreach() loop |
# |
Sep 12th 2009, 10:08 |
Dimatter |
savant: perfect. thank you ! i guess i need to check out the php's manual to figure out what u did |
# |
Sep 12th 2009, 10:07 |
Spirit |
lol, nope |
# |
Sep 12th 2009, 10:07 |
savant |
Spirit: that was to Dimatter, sorry |
# |
Sep 12th 2009, 10:07 |
Spirit |
where? |
# |
Sep 12th 2009, 10:06 |
savant |
try that |
# |
Sep 12th 2009, 10:06 |
savant |
http://pastie.org/614657 |
# |
Sep 12th 2009, 10:05 |
Dimatter |
savant: eh ..say what ? :) |
# |
Sep 12th 2009, 10:05 |
savant |
Dimatter: heh. you aren't passing by reference in the foreach, only by value :P |
# |
Sep 12th 2009, 10:05 |
Spirit |
the default .htaccess |
# |
Sep 12th 2009, 10:05 |
Spirit |
umm, yes, i have |
# |
Sep 12th 2009, 10:04 |
Dimatter |
savant: $categories |
# |
Sep 12th 2009, 10:04 |
Dimatter |
savant: http://pastie.org/614656 this is how i want it |
# |
Sep 12th 2009, 10:04 |
Dimatter |
Spirit: do you have the .htaccess file in the root of your application ? |
# |
Sep 12th 2009, 10:04 |
Spirit |
but i'm not found AddModule mod_rewrite.c |