chx moving the block admin functions into the inc file seems to have screwed fAPI where it was expecting these
instead of $active[] = $row['id']
update?
update is Updating your modules can be found at http://drupal.org/update/modules
thanks, let me try
that wasnt for you that was for me
I was trying to see what happened to PHP Input format in HEAD
it doesn't work either, i don't know it can't be such a difficult thing
well, my test server is HEAD (drupal 6) and some seems to have nicked the php services Input format type, where did that go?
(makes doing quick test stuff harder as you have to code a module rather than a snippet)
I dont have time to start knocking up modules to test wee bits
true, any checkbox is checked
because teh #default_value array is not an array of binary flags, try to loose that from your thinking. It should be an array of option key values
but my test server is borked for me to try samples right now
anyone know where the PHP input format went in HEAD?
Separate module
hmm, then that needs adding to http://drupal.org/update/modules as it doesnt seem to mention that going
actually, no, doesnt need to be there
but a few will be shocked after upgrade
this should work http://pastebin.com/m7e9fb581
now try to port it to your code
Arancaytar, any idea of the module name?
ping
Hi
Zlender_, thats what my pastebin did using his own keys, oh well, cant test it
oh yeah Zlender_ your example works very good
i am going to try to start to work from this point
m1n1, then, you should see its the key values you need, right
?
yeah
pong
array(),"
if i remove it, what ajk^ told me at first would work -_-!
lol, oh well got there in the end, thats the important thing
haha, yeah, thanks a lot for you two
pm?
sure
whoops
block admin in HEAD is somewhat borked
thx
this guy…
…. i banned another acc of him
oh yeah, pointed that out a while back
chx, moving the block admin functions into the .inc file seems to have screwed fAPI where it was expecting these "common" form functions to exist?
bchx, moving the block admin functions into the .inc file seems to have screwed fAPI where it was expecting these "common" form functions to exist?/b
actually, me neither, let me look at it more
chx, here's what I get when trying to list blocks:-
call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'block_admin_display' was given in /usr/home/ajk/WS/DRUPAL/DRUPAL-6/drupal/includes/form.inc on line 251.
seems the block admin inc file isn't loaded
hmm
that would be the problem then
just trying to see why menu isn't loading it, it appears it should be
'cos you forgot to rebuild you mrnue
need to rebuild menu after a fresh install?
hmm, forget that, it's not a fresh install, it's a cvs up
bingo.
when developing core
it's advisable to have a menu_rebuild right before the menu_exec call in index.php
thx, pretty useful piece of advice
now all I need to do is figure out which contrib module was the benefit of core throwing the PHP Input format away
bnow all I need to do is figure out which contrib module was the benefit of core throwing the PHP Input format away/b