hi all Im trying to write a module that dynamically adds fields to cck content types via AHAH Ajax-like calls
morning.
anyone want pownce invites?
bored…need to give away some
how can i include html code in the head, with a module?
support?
#drupal is reserved for development discussions (please see channel topic). Volunteers offering live support can be found in #drupal-support. If no one is available in #drupal-support, try the forums at http://drupal.org/forum. Thank you for giving us a
space to work on improving Drupal for you!
there is a drupal_head thing.
yes, but how it to use? some exaple code?
once sec…
looking it up.
what are you adding?
JS, css or other
simple html code, like css
like link rel="stylesheet" type="text/css" media="print" href="css/print.css" /
oh that's simple
drupal_add_link
http://api.drupal.org/api/5/function/drupal_add_link
oh thanks
'stylesheet'…..)
enjoy.
and a php file?
uhm no.
php files are processed before they go out
but you can modify your page template file on your theme
yes, but I will develop a module
hm dosent work
what was the syntax again to add regions into .info files?
was it region[$template-usable-variable] = Human readible name;
?
can you post a example code in http://drupal.org/node/157875 ?
1 IRC mention
how can i filter content type by user? i need to have a list of a certain content type by selecting a user that has created it, thanks. Pheraphs have i to modify tracker module?
seen dww
dww was last seen in #drupal 1 day 19 hours ago saying 'ok, gotta run. later, folks.'.
ping?
ping
pong
k
hi. do we have a module that will add openid.delegate in link tag on drupal home page?
openidurl.module
cool
shuold be in core?
*shrug* wouldn't hurt i guess
maybe in a blogger profile
i'm watching simon willison's google talk on openID well done.
Is it possible to replace the login system with OpenID completely? So users can only log in with their OpenID login credentials?
i haven't watched it yet :/
does he mention drupal?
not yet
not currently, no
anyone interested with facebook apps with Drupal services as base?
it has not been a fun journey.
not easy to include html code in the head?
the comment has the answer from jsloan
my statement was about developing a facebook app
with drupal as base
drupal_set_html_head("meta blah="blahblbhalbj"");
that'll get your html into the head
not my choice tho.
for links and JS
ok now it works, thans
thanks
i did work on a facebook+drupal app
it was not fun, but i blame FB, not drupal
me too 100% FB
what a pain.
but you have to understand drupal authentication pretty well
yup
Can a i18n wizard join me at support? Does Gabor do irc?
did you play with the facebook api?
module?
yes i did
facebookauth and facebook api combo
can anyone help me with hunting a bug for aggregator.module? http://drupal.org/node/137828
Drupal, aggregator.module, normal, active, 1 IRC mention
http://groups.drupal.org/user/8319 — this user belongs to what looks like every group. possible spammer??
talk to robroy about a new facebook.module. he is in control of that. i worked for him.
they are blocked
kk I'll help as I have to make a couple more…and don't want to continue hacking it all again
this person uploaded a pic. heh
they are still listed in the 'recently joined' list for groups
might want to filter that query by status?
yeah
lemme see
say, I know that you want to migrate away from event.module, but can't you update to the 5.1 for now?
hm.. node_access_rebuild is inserting the default "any allow" row even though i have forum_access enabled, that can't be good
I keep getting bug reports about non-sticky months…
yes, or i should just switch already. the current state is no good
speaking of event module, what is the 'info' dropdown supposed to show in the list view??
b/c i get nothing displayed for my cck nodes when i click it
5.1 or 5.2?
is it possible that in older versions we didn't assign content to the anonymous user whenever some user was deleted? I seem to recall something like that
good question.
acvtually, I am not sure which info dropdown you mean…
it's not exactly a dropdown. in the list view, there's an 'info' link. when you click it it appears as if it's supposed to open up w/ more info
og fix committed. i will update groups.drupal.org one of these days
ah!
I think that's a little pre-jquery JS thingie that would show the whole body.
i don't see a 5.2 release…
no release yet, just 5.2-dev.
there's no 5.2 dev branch, either…
i'm looking at cvs.drupal.org
HEAD
oh
then i'm running 5–1
showing the whole body there would be excellent
yeah, that info thingie is the same for all brnaches anyway.
doesn't it work?
try with a lengthy body.
do you mean the node body text, or the content of the node?
hmmmm
b/c if it's only the node body text, then cck nodes get left in the dust…
what if you just rendered the node preview there?
if you are using facebook_auth there is one nasty bug…it takes first and last name to make a user name.
that means there can only be one john smith
might be tht there is a problem there.
is that a module? we didn't use that
yeah
please file an issue
i did one based on webserver_auth
i will do that soon, thx. do you want me to adjust it so that it loads the full node content there?
hook_auth() no longer exists in D6
hmm…I'll look at that as the hack replacement I made was not good.
yup noticed that too
I think the full node content might alrady be available.
this is all in the theme layer, see event.theme.
actually it does work for me with cck nodes.
http://on.rue49.com/~test/event/2007/07/09/list/
i'll check into it. i made some adjustments to the theme layer awhile back, so maybe i screwed something up
hehe
if you feel like rewriting thi in jquery I'd apprciate it. :p
i'll think about it
actually, I've got a question…
this "show the whole node" thing is terribly expensive
I am considering to introduce a switch that allows me to only get dates and title…
this would get me from doing one full node_load per event on a page to doing one single query for all of them….
how would you suggest the UI for this? Where should such a toggle be changed?
i guess. but please don't take out the full node option. it would make customizing via the theme layer useless
not really, you can still do ajax callbacks to get the full node if a user clicks the "more info" thing.
well that makes no sense
why?
the module should provide for that info. are you telling me a themer is going to write an ajax callback??
'Only display time and date as additional info'
well, I could integrate such a callback into the module.
put that as a checkbox into the content type edit screen, per node type
on the page above I do 60-80 node_loads….
hmmm
yes, but if somebody wants additional cck info there, you want them to have that option
makes sense, I guess.
yeah, I didn't want to remove it totally
one my band site, we'd never have more than 3 or 4 events in our list
so a couple of node loads is no big deal
yeah, that is my own use case too
how many sites have you seen that have a list that big?? that's a lot of events. too many on one page, i think. it's actually bad usability
I doN't think that "option per node type" is going to work…
then just put it in the main settings
yeah, we don't actually use that list at 49st.com.
k, that will work, thanks.
maybe we should work on making node loading faster instead
re: promoting database changes in drupal
Is this the right channel to ask for suggestions about which module to use to accomplish something?
what about a module that hooks into every database host change and makes it as a change that could be promoting to production?
excluding content.
ya. you can try that.. but tracking those changes is the wonderfully fun part. for things like terms its probably decently easy..
its been proposed but again.. it doesn't exist..
I'd reask the question..
yeah, but even if you only do a cache_get, then this i going to be a problem for so many of them.
Think about LDAP and how they have multi master relationships. Clearly that is a fair more difficult problem. I guess for now I will just go with human management best effort. The purist in me wants to solve it though I just don't have the resources at the moment. But would make one hell of a
module.
are there any groups talking about it that I could join that you know of?
hey, jredding - congrats on teh Sony sponsorsip!
seen goba*?
goba was last seen in #drupal 3 weeks 21 hours ago saying 'fixed, update from CVS '.
ok, let's fix the help issue '.
no formal groups that I'm aware of.. like I said we always talk about it at the NYC meetups..
its a problem a lot of people would love to solve.
Thanks..
it helped out.
yeah, moneys is always good.
got any prints back yet?
we could start by just creating a module that would simply list the changes that were made and log them. You might be able to then play that log back over the database on a different system.
Hmm I guess I would look for a group and start one.
how does the "file a voice report" on nowpublic work?
is that drupal+asterisk or is that outside of drupal?
ya.. its not a problem that isn't solvable. it just hasn't been.. I'd reask the question to this group though.
jredding:ok
So what are people doing to promote site configuration changes that are in the database from one system to another? I use subversion for the code and capistrano for automation and it is s— simple.
content in development will most likely turn to garbage over time and I really don't care about that. But when I change a module and some configurations I want to be able to manage that with some sort of automation. Or at least use the computer to track the changes.
What are people doing?
just tracking the changes by hand with tickets ???
is the 3rd parameter, $teaser necessary in nodequeue? Can I remove it or change it to TRUE\FALSE? warning: Missing argument 3 for nodequeue_link() in
I'll submit a patch either way
i installed openidurl on www.tejasa.com and am happy. so, maybe that module should let every registered user provide their delegate? seems useful to provide a delegation service like that. a bit like delegating DNS to http://www.zoneedit.com/
i.e. a users openurl will be example.com/user/foo/openid which delegates wherever they want
er, just the profile page /user/foo which has the link tag
count me in on an actual solution. A related concept is presets or install profiles. For instance, Agaric has been trying to put more stuff into a sort of modular install profile, for starting new sites with configuration taken care of, and a 'partial install profile' approach could
theoretically be used at any time
actually, the "more info" thing shows the teaser, but you should be able to simpyl switch it to the body.
I think you could come up with some sort of golden image of changes to a baseline system that could be played back on a new setup.
I am planning on start a group just to have a discussion others can read in the future what to join? Unless find one that already exists.
http://www.workhabit.org/projects/autopilot
It's sort of a theory of everything approach. See also my comment about somewhat related summer of code projects: http://www.workhabit.org/change-management-and-drupal-autopilot-news#comment-52
I might be able to have that performance setting per event "view type" (not to be confused with views…). What do you think?
that actually would be better. i really think it's the table and list views that would suffer most, anyways..
win 4
interesting have you worked with them? I am still reading
i've officially become co-maintainer of project*, it seems
nope, not yet.
hunmonk, poor you
lol
do we have code somewhere that checks for database inconsistencies (references to users that no longer exists and such)? I know that my database is a real mess after all these years, and starting to run into bugs because of it
anyone here use TCPDF? I'm trying to create rotated (vertical text, in my case) for a module I'm making but can't figure it out. the php4 PDF libraries can do it but I'd rather use TCPDF
got a minute to chat at me?
ajk^: pong
pong
congrats (altough I am nto sure this shouldn't be condolescenses….)
You're asking a question about a parameter for a function, and I"m pretty sure there's no function named nodequeue()
sure, what's up?
my typo, pardon me. It's nodequeue_link()
I got CVS access a few days ago, however I still can't login
"no such user EclipseGc in CVSROOT/passwd"
export CVSROOT=:EclipseGc@cvs.drupal.org:/cvs/drupal-contrib
http://leftlogic.com/lounge/articles/entity-lookup/
did you do that?
you sure your user account is right? Check at d.o/user
Ahh, yea, it does appear that both $node and $teaser are supposed to be optional in hook_link. Oops.
thanks i get to work w/ derek. believe me, it'll be fun
just following the faq
So OK to remove $teaser?
where?
quickstart?
quickstart is http://drupal.org/handbook/cvs/quickstart
checking
that's what you should be reading
No don't remove it, it needs to be optional.
faq on the cvs server
see
hook_link?
http://api.drupal.org/api/5/function/hook_link
you should read the quickstart to add your module
Right. False then.
what am I looking for in /user? I made a project, so I know I have a new role
Thanks!
I'm just trying to establish a connection period
ah
which doc are you following?
http://cvs.drupal.org/viewcvs/drupal/contributions/FAQ.txt?rev=1.7&view=markup
you need to go to user/xxx/edit/cvs
follow the quickstart
it is much better
http://drupal.org/node/101210 is this bug by design or not? An authenticated user cant delete his own comments
you need to give the user the right permissions
Drupal, comment.module, normal, active, 1 IRC mention
cvs login: warning: failed to open /Users/kris/.cvspass for reading: No such file or directory
ok, once I've got the basics working I will
that tells you about the basics
the only permission left is "administer comments" which obviously lets him delete all the comments or am I missing something?
That's by design.
this is what you need to do: type in "export CVSROOT=:pserver:EclipseGc@cvs.drupal.org:/cvs/drupal-contrib"
merlinofchaos:cool thanks
then type "cvs login"
http://drupal.org/handbook/cvs/quickstart#basics
ok
how would I remove files put up in error?
what do you mean?
http://www.network-theory.co.uk/docs/cvsmanual/Removingfiles.html
I was so excited it was working, it didn't occur to me that I should upload a tar.gz instead of my fiels
why would you upload a tar.gz?
erm… as opposed to my info/module/install files?
yeah
does the cvs server put those together for me?
yeah
you upload your files
the packaging script does the rest for yu
*you
oh damn… ok well I still need to remove my komodo project file
http://cvs.drupal.org/viewcvs/drupal/contributions/modules/project/release/package-release-nodes.php?rev=1.11&view=markup
that's the cron script that packs in care you are interested
sweet
cool code for inspection
:-)
omg, i hate cvs blame. I found a bug in core and traced it back.. to myself. Oops
lol
quickly! shift the blame to someone else!
cvs shift blame -t dmitrig01
cvs commit
!!
hehe, everything has been refactored since then, except that one silly if statement
that works?
Anyone here work with VotingAPI?
Anyone? Bueller?
lol, ask the cvs newbie… I'm just making up crap
ah
why?
http://www.youtube.com/watch?v=3QdGt3ix2CQ is really funny
I'm working on VotingAPI 2, with more efficient backend thingies, support for anonymous voting… and broken interfaces
ah
I have done some votingapi stuff
ok
i have done some pretty complex stuff with how I register votes
LOL http://www.youtube.com/watch?v=FVbf9tOGwno
this would generally make the complicated stuff simpler, while the one-line-call to votingapi stuff would become more like a three-line call.
could you describe?
right now there are abunch of calls to retrieve votes in different ways (votes_by_user, votes_for_content, etc), as well as a function to CAST votes that has a long and relatively complex function signature.
the new version lets you make vote objects (ie, just set $foo-content_id and $foo-value) and pass that into the votingapi-set_vote function.
passing in an array of those objects lets you cast them all at once
hi
and setting addtional properties on them (like tags, etc) handles that stuff.
hey morphir
have you looked at ahaha forms?
for core
ahaha… lol
hahah
for the retrieval queries, you just make an array (not unlike how user_load() works) and pass it to votingapi_select_votes().
yeah, I guess they are supposed to be fun
5) for all votes on that node
the patch quicksketch has been working on , you mean?
yeah
I was curious if there was a simple code example
'simple' might not be the best hosting example heh but the poll.module patch does demonstrate it to some extent
simple as in simple as it gets
seen quicksketch
quicksketch was last seen in #drupal 20 hours 5 min ago saying 'anyone up for an important jquery review? http://drupal.org/node/146462'.
but don't ask me if that would turn out to be simple
anyone a komodo user?
or komodo edit
ping
only worked with it in 4.7….
pong
pm? moderately important…
anybody using opera and can tell me how to edit the defult keybindings?
http://drupal.org/project/ahah_forms
ok
ahaha
cool.
so, you make ahah form wrappers
ping
pong
who keeps api.d.o up to date?
saw your issue, I hope drumm will deal with it
drumm
ok - thanks.
pwolanin, what a.d.o issue was that?
I filed it in the infrastructure queue - is there one for a.d.o?
pwolanin, i'm not sure i was just curious what it was up to
seems to not be updating wih the current CVS code
err what was wrong with it. i'd been trying to track down an issue with a.d.o not displaying the @code tags correctly
http://drupal.org/node/157973
recent commits are not showing up in what's displayed
gotcha
1 IRC mention
d.o is down.. as is a.d.o
MySQL errors on drupal.org
MySQL server hosting has gone away query
d.o and a.d.o back up! yay!
hello, how can I get a unique class or id assigned to the items in a list of main navigation?
uhello, how can I get a unique class or id assigned to the items in a list of main navigation?/u
linolium, http://cvs.drupal.org/viewcvs/drupal/contributions/themes/aquasoft/template.php?rev=1.2.2.1&view=markup
function aquasoft_primary_links()
if I include that in template.php then it will replace theme_primary_links()?
linolium, yes
If your theme happens to be named aquasoft
Usually you want to use phptemplate_primary_links() so that the theme name isn't relevant
so I can use themename_primary_links() or phptemplate_primary_links() with the same result?
Mostly the same results, yes.
THe 'mostly' being that if you have phptemplate_primary AND themename_primary then the themename_primary will get priority
why would one ever use themename_ instead of phptemplate_ if the latter is more portable?
Because you already have a phptemplate_ or because it's one of the 4 or 5 that you can't use phptemplate_ on.
hello
?
is it that common to have both a phptemplate_ and a themenamee_ in one template.php file?
themes
or where i can find the css / settings to resize it?
Not that common, but it can happen if a particular theme package includes several subthemes.
ok, thanks I will try it out
support?
#drupal is reserved for development discussions (please see channel topic). Volunteers offering live support can be found in #drupal-support. If no one is available in #drupal-support, try the forums at http://drupal.org/forum. Thank you for giving us a
space to work on improving Drupal for you!
^^
ok then …thanks
hum. found another really annoying webform bug. if anyone here has tangled with that module before, would appreciate a pointer.
I still just call theme('menu_links', $primary_links) right?
!seen dfletcher
dfletcher (i=fletch@c-71-198-73-10.hsd1.ca.comcast.net) was last seen quitting from #drupal 1 day, 16 hours, 11 minutes ago stating ({"Leaving"}).
seen dfletcher|afw
dfletcher|afw was last seen in #drupal-support 1 week 6 days ago saying 'newz2000, well one way would be to paste this into the block: php node_view(node_load([node-id]));'.
hi dmitrig01 I'm here but hiding
you should join #iphonedev
cool
is it proper to use $_REQUEST or $_GET to probe the query string, or does drupal have some java api hosting for that?
hey thanks again for getting that patch tested. hopefully the author will commit it
Use $_GET
Bear in mind your'e responsible for the security of that data. i.e, don't print it unfiltered, etc.
merlinofchaos, I got back teh code for that module that does views filtering
thanks
ajk^: How is it?
shall we take it private pls
sure
does anyone know of a fix for the IE6 caching bug?
i.e. blank pages being shown to ie6 users
is sql query optimazation trivial to a default core installation?
how can I get the primary link which is currently active to have class="current" on the li?
theme_breadcrumb
but I don't want a breadcrumb; I just want the current page in the navigation to have a special CSS style
when you are using views, are you finding your self optimizing the queries after compiling together a view?
is it possible to sql query a range of dates that are stored in profile fields? drupal web host makes profile date fields serialized arrays…
(as opposed to mysql / pgsql date fields)
n/m. figured it out
http://drupal.org/node/157992
webform, Code, critical, active, 1 IRC mention
heh. Druplicon. haven't seen you around in a few years. Still being a chatty IRC bot I see.
Nope.
moshe wrote that they optimized some queries for new york observer
Oh that wouldn't be terribly surprisng
when a bottle neck is reached i understand this is necessery.
Sure, Views can turn up complicated queries. I can see it being necessary to take what the View builds and then re-build it manually and more tightly.
yes, and that means it aint possible to predict a generic pattern?
I have javascript function mapped to a callback that returns a ul list that is injected into particular div on the page. But the callback the whole page, which I don't really need. Right now I'm filtering out everything I don't need. Is there a better way to do it
I rerolled the delete patch.
ok thanks - just that one line?
yeah - just to account for the TRUE so it applied.
ok, thanks.
I dunno. It might be possible. Optimization is a difficult problem, and my experience with generic optimizers is that, in general, they don't.
I ordered a book on amazon, so I can learn more about this topic
YOur glue code article could stand to have an example or two.
yeah. that's why I put it in the blog section instead of the 'articles' sectino. heh.
I'm mostly thinking about custom block bits, polish things like 'we need to always show such-and-such message above certain kinds of nodes,' etc.
http://www.amazon.ca/High-Performance-MySQL-Optimization-Replication/dp/0596003064
Little things that are only a small snippet, but are sticking points for the 'I don't know PHP, I just want to set up my site' crew…
It'd be really useful to compile a bunch of those.
there is some kind of 'helpers' module I believe…
is that yours?
someone with a d anyway.
it does stuff like removing the log field, etc.
the 'Cases that are tough'?
what?
litlte stupid things that you'd normally write a helper module to handle.
Yeah, I can see that.
utilities module?
does anyone know of a fix for the IE6 caching bug? i.e. blank pages or partial pages loads in ie6 when caching is enabled
are you the one who made that h… yes! utilities module!
yes it is
why?
eaton, the delete hook in votingapi doesn't seem to work for me, nor there is a related issue, do you happen to know about it?
ueaton, the delete hook in votingapi doesn't seem to work for me, nor there is a related issue, do you happen to know about it?/u
util
cos I was thinking the stuff eaton's talking about might be a good fit there.
or not maybe. :
cool
depends on the module using it, honestly it is kind of a sucky hook.
lemme tell you my goals with the module
If anything uses the tables directly that hook won't be triggered.
what are you using it for if I may be so bold as to ask?
it is a collection of small snippets that are too small to be their own modules
eaton, made a votingapi and userpoints integration module, using the hooks, and assigns the user points for all the provided votingapi hooks
beaton, made a votingapi and userpoints integration module, using the hooks, and assigns the user points for all the provided votingapi hooks/b
just to tell that delete hook didnt repond at all
what module is doing the voting, if I may ask?
fivestar
wanna be a co-maintainer? I allow my co-maintainers to commit anything they please. It is meant to be a comunity project. In general, anyone good enough to write a patch is good enough for co-maintainership )
sorry, nope. I can't really take on anything more, I've got a couple dozen modules on my list and *i'm* actively seeking comaintainers
usorry, nope. I can't really take on anything more, I've got a couple dozen modules on my list and *i'm* actively seeking comaintainers /u
ok
so it is voting module specific(which includes fivestar)?
I believe so, yes.
I'll need to take a closer look at it, the problem is that the vote-by-vote mechanisms, the ones that trigger those notification hooks, are pretty inefficient for many voting scenerios. I tend to recommend that people hook into the hook_votingapi_results, and use the vote bundle that is part of
that data set to trigger events
ok, also the insert hook is placed after the whole insertion has been done
but I can see where that is less than ideal
Oooooh, I know.
hmm
and then it's impossible to stop insertion
(the hooks way)
there's no way to prevent voting from an outside module. period.
it's a compromise between speed and hooks, basically.
let me check how i did a week ago
lol!
I'll chekc, too. this is some of the stuff 'm trying to hammer out in VAPI 2; I'm hoping that I can nuke some of the extra hooks, but I'm not sure.
Triggering them means that we can't do batch deletes, stuff like that
also, there's a post in the g.d.o voting systems group regarding votingapi's future that it'd be great if you could weigh in on
Cool Thanks!
well i did a votingapi_threshold module, to limit the number of votes a user can make per hour on the whole site, so interfering with insert hook was the first idea, but discovered that it's called after the voting and all has been done, and then placing a check in fivestar was my next
stop
uwell i did a votingapi_threshold module, to limit the number of votes a user can make per hour on the whole site, so interfering with insert hook was the first idea, but discovered that it's called after the voting and all has been done, and then placing a check in fivestar was my next
stop/u
I'm hesitant to put in piles of hook invocations…
but I can see how that would be useful.
but hook way would be inefficient if the voting module processes and alters data on it's own before inserting the vote. anyhow you rock
ubut hook way would be inefficient if the voting module processes and alters data on it's own before inserting the vote. anyhow you rock /u
heh. we'll see!
if I'm submitting an issue on for project `Drupal infrastructure', is there anything special I need to put under menu settings (like `Parent item')?
just got some more blocking fun for you
http://www.google.com/search?q=site%3Adrupal.org%20viagra
lol
750 results
damn!
Hi devs
just a question, what is the approx timescale before D6 will be released?
ie, are we talking weeks, motnhs, years?
months
a few months or 'many months' ?
between 2 and 8
it's done when it's done. And it's done when there are no critical bugs remaining. Which means it could be weeks if people chip in and help, but most likely it'll be momths.
depends how fast the development goes
actually bug fixing
And we delay it 2 weeks everytime someone asks when it'll be done.
after the freeze has happened.
without also doing a patch review in return.
lol… I was expecting an answer going along those lines
any site admins want to give me block so that I can kill some viagra?
Well it's impossible to say, really. Drupal 4.7 took about 10 months, I think. Drupal 5 took more like 4.
It really does depend on how many people we have helping.
So the answer may be 'typical' but it's also factual.
and 5 was delayed by 1) december holidays 2) waiting for the anniversary of the birth of drupal
how about I ask a slightly different question… is D6 in a stage where it would be worth beginning development of new sites on?
that will give me an opportunity to submit patches
and I may not have to worry so much when upgrade time comes
I would say no. It just went into code freeze like last week. However, by helping to submit patches at this stage, you ensure that the site
s you're building now are forwards-compatible and no critical bugs will stop you from upgrading.
BTW, I appreciate that you are working of a flat forum style for forum.module
Caydel, that won't be getting into D6, alas
that was actually what got me thinking about hitting D6 right off the bat
no?
shame…
Caydel, well it's just two file you can place yourself in D6
I think that could still get into 6. Maybe not the total # of posts, but the rest is just UI changes, no?
comment.forum.tpl.php and node-forum.tpl.php
easy like that
I may use that then
That's why it wasn't very high up on my radar to test… it's post-freeze stuff.
webchick, uhhhhhhhhhhhhhhhhmmmmmmmmmmmm
did you get any information from these guys about autopilot? Do you know how their system works?
know, nothing. I don't have time to offer a lot, so I didn't push. Waiting for the great unveiling like everybody else… http://www.workhabit.org/change-management-and-drupal-autopilot-news
okay I toss my hat in the ring on the comments to see if they would let me help test. But I have about zero drupal community credibility. I submit patches that is about it. Post some content. I posted a nice php mysql web hosting to Postgresql
guide.
that's a lot!
Well doesn't classify me as senior drupal developer. But I think from a usability perspective they would want our input. I have about 6 years of configuration/change manage experience with various systems at different levels.
Not only deployment experience from a systems administration perspective but from a developer perspective with PHP based platforms.
seen moshe_work?
moshe_work was last seen in #drupal 3 hours 39 min ago saying 'er, just the profile page /user/foo which has the link tag'.
When you get a sec, please review the section I added to http://drupal.org/node/124462 for clarity. It's called "Patterns for Taxonomy Terms (Categories)"
3 IRC mentions
Tell me if I'm right, wrong, or indifferent.
I'd prefer to be indifferent, that is, if I cared…
I'm not actually sure :/
I don't have that all memorized
ok. I wrote about what I opsered on one of my sites, so we'll leave it alone till the comments start rolling in.
sure
*observed
You dissapoint me.
sorry
Memorized!
hah
I kinda like your idea of deleting aliases like 'asdf%'
but only kinda
it seems like it could cause lots of problems
and when people do things via the interface they tend not to make a backup like they would if they were doing it direct in the db
Well, it's a good thing to have for those who aren't highly familiar with phpmyadmin or something
but it allows them to really shoot themselves in the foot
maybe if it moved the rows to a backup table with a transaction ID and each transaction could be undone
or "permanently enacted"
(by deleting that transaction from the backup table)
Well, the idea sprang up when I bulk-updated a set of aliases that began with example/%
I made the pattern incorrectly becuase I still hadn't fully understood what each tag was for
And so I ended up with a bunch of aliases in my db that bagan with something that I myself had just created and now couldn't get rid of
is there anyway to identify the calling function of a drupal theme function? I'm trying to figure out where on earth theme_event_node_day() is getting called, and I'm not having any luck.
good catch
(http://drupal.org/node/157999)
Drupal.org webmasters, User account problem, normal, active, 1 IRC mention
would it be too much work to implement a transactified backup strategy like that for the few soulless newbs who can't do it themselves in the database?
Sure, it's a good idea, and worthy of exploration *if* someone was paying you to code it
thanks - I figured if "what" turned up a lot of viagra people then "viagra" might turn up a few more
print 'pre'. check_plain(print_r(debug_back_trace(), TRUE)) .'/pre';
well, someone is paying me to code on pathauto
Sweet, thanks
well then, quit stalling around by talking to me and get cracken! cracken! cracken!
http://drupal.org/project/pathauto Current maintenance and feature development is supported by pingVision.
a href="http://drupal.org/project/pathauto"http://drupal.org/project/pathauto/a Current maintenance and feature development is supported by pingVision.
but I only have so much time to spend on it, so I spend more on the features I care about
which are generally bugs, actually
ahh, I missed that PingV line there. Sawweet
I think that if you were to introduce a very limited delete feature like that, it would become more functional without killing an entire site.
Hi all
mmm lunch
My thought was, if a user has 200 aliases that all begin with the word example/forms/
Nuts. That gets me a "Fatal error: Call to undefined function: debug_back_trace()" — am I missing a module or something?
bNuts. That gets me a "Fatal error: Call to undefined function: debug_back_trace()" — am I missing a module or something?/b
It'd be safe to allow them to nuke those through the GUI without doing damage to the entire alias db
debug_backtrace() sorry
table rather
debug_backtrace
Oh
That'd do it
how do they nuke them without doing damage to the entire alias db
another idea would be a confirm screen "you are about to delete XYZ # of aliases, are you sure?"
a little question. I am creating a multi-site. I have a domain per user the thing is, what should i change in the drupal database for allowing each user to access their own site and only their site?
well, if the "delete this" field only accepts strings that 'begin with' something
nice call! That would allow me to see what I was about to kill, and compare it in my head relative to what I thought I was doing
This is going to be really, really helpful. Thanks a ton!
easy to code too
which would be a bonus for an add-on admin feature
That's a support question, but the short answer, which can be found readily on drupal.org, is that you'd need a database for each site with it's own tables and prefixes
Out of curiousity, are there any plans to rewrite the event module? It's … ah, less than ideal in many ways.
can you add that to the issue?
you bet
a "delete XYZ aliases out of current total of POIU aliases"
which?
Selanit, if i do that, how to allow the site admin to manage all these sites?
Huh? I don't think I understand the question.
if each user has a database for his website
I'm confused. Who said anything about users having separate databases? Not me …
m41n1, you should take this question over to #drupal-support
ok
m41n1 was trying to TAB my name
Ahhhhh
out of curiousity, did you look at the cvs commit log and issue queue for event?
yeah, sorry ^^
killes, I'm currently blocking "viagra" profile users.
It happens to sepec-k all the time too
web-chick tries to type me, and ends up pinging sepec-k
When I open two user edit forms subsequently, the first one opened will fail with a validation error upon submit
hey salmander
Not recently - I have checked it occasionally, but I'm somewhat constrained. The boss has decreed that we can't upgrade to Drupal 5 because the changes to flexinode massively break our site. So I'm still working with 4.7 era code …
Also; I sometimes appear logged out (got an access denied on http://drupal.org/user/152925/edit), but still logged in upon page refresh.
Hello, i am creating a multisite, i've set all it up but the database, but i don't know which tables to create. any hint?
interesting…
http://drupal.org/profile/interest/Cialis - wtf?
Anyway, thanks again for the tip on debug_backtrace(). It's going to make my life a lot simpler. Cya!
nearly blocked him
how should i change the database for allowing each user to modify only their own website?
why are you still asking support questions in here?
bad idea
ajk^: ping
Heine pong
support?
#drupal is reserved for development discussions (please see channel topic). Volunteers offering live support can be found in #drupal-support. If no one is available in #drupal-support, try the forums at http://drupal.org/forum. Thank you for giving us a
space to work on improving Drupal for you!
^^
hey dmitrig01
check this out, my hack of simplenews http://141.117.45.51/~omi/screenshots/wi-user-menu.png
kewl
what's your site's url? (for drupaldojo.com)
drupal.hu ?
drupal4hu.com
yes, that's it
5hu
thanks
oops 4hu
update status is being committed as we speak!
w00t
oh great! Another thing to update.
heee
greggles, any update on http://drupal.org/node/153915
Pathauto, Code, critical, active, 2 IRC mentions
no
do you see an update :p
lol you have anything in works, that meant :p
no
drupal people, what needs to be modified in how query rewriting works such that different tables be located on different database or servers?
is that going to be adressed, ever?
db_set_active?
http://api.drupal.org/api/5/function/db_set_active
he added the directory to cvs
ping
who added what directory to cvs?
Dries added the update directory to the modules dir in core CVS
oooo - about cvs commits, you mean
not exactly, I was thinking along the lines you have database profiles, and you have a mapping of which tables go to which databases, and when a module issues a query, queries with table node lets say connect to one server/db but queries for node_cache are ran from another server/db
pong
I was thinking about views today
and what it tries to achieve
It's trying to achieve victory!
and I came up with 3 user-friendly categories for a (possible) redesign of the view creation page: What to display, How to display it, and Where to display it
killes, working on d.o. database?
how does that sound
Hmm.
not right now, why?
what to display is filters, fields, and arguments
111"
ugh
Ahh. That won't work, then.
how to display is the view type (more to come there)
fields are actually more attached to the view type.
and where to display it is page/block
ah
well, they aren't, right now
But in reality, fields are very attached to the view type. Also, Views 2 plans to allow you to have a different set of fields.
is it because only table and list view that can have fields?
For example, the block view may be a list of titles; you click more and go to a table view with more fields.
ah
However, other than fields being in the wrong place you're not too far off.
bHowever, other than fields being in the wrong place you're not too far off./b
so you are saying that block and page could be in the same view, but they would have different fields
Yes. Right now we accomplish this for a built in view (popular nodes view, I think) with theming.
ok, lemme think some more and report back
is it me doing something wrong or does every row that gets displayed has to have a node as the base (even though link to node doesn't need to show up)
You're not doing anything wrong. That is how Views currently works.
drupal go boom? scheduled maintenence or do people know its down?
I'd vote for the dependability on node in every row be removed
drupal.org that is
Can your vote completely rewrite the API and core of Views to accomplish this?
gotcha
heh
"I vote for PONIES!"
yay - everyone loves ponies!
is drupal down?
yes
I don't love ponies
did hunmonk finish his pony module yet?
I don't even know how that's possible
how's this: views creating being a multistep. on the first step, you choose where you want to display the stuff (e.g. page/block, but this can be pluggable, like "mysite specific stuff") and then on the second step, only the What to display, and Where to display it.
I've sent the squad to beat you up
I want a pony
not sure, last I heard he was adding whinneying.
+1 on blocking "the best certified drupal host"
looks like it, but maybe killes knows.
giw;s that?
*how's
keep in mind that you can build a view programatically, so there's nothing keeping anyone form building another front-end for views…
feel free. have they replied?
other than, y'know, the complexity of it ;0
2 IRC mentions
How does that deal with you having a two different pages, a block view, and an embedded view all in the same view?
Is there a channel to discuss security issues?
well, I would have added that convo to the Pathauto issue queue, but d.o just ate my homework!
uwell, I would have added that convo to the Pathauto issue queue, but d.o just ate my homework!/u
(scratch the ?)
linnovate, #drupal-security, but you can't access without pass
Shh, dmitrig01 is volunteering to help do UI work on Views 2
back arrow?
so, PM Heine
Heine, they got all huffy and stuff
ctrl+f5 to repost when it comes back online?
do you mean you share filters, but you have fields and arguments be the same?
hey is there a good tutorial on organic group?
I'll try a refresh in a bit
They'd shre the core of the view, which are basically filters and sort criteria; the fields and arguments might be different.
on d.o
even if there was, it's probalby on d.o which is currently down
if you use firefox that should work - saves me all the time
do you think views will eventually be able to use lets say taxonomy terms as base and perform the filtering that it does? such display a list of taxonomy terms that have nodes with certain filters.
FF2 rules.
you don't really have arguments in blocks, right?
http://72.14.253.104/search?q=cache%3Adrupal.org cache is your friend
Kind of, it requires PHP argument code mashing.
LOL
salmander, you could do some easy code for such views
I got scanned to comply with a security certification and there are several issues that still standout on an updated drupal
salmander, that means programatically
lemme go back to the drawing board
look at the OP's tracker. It went from his host to his business.
Actually it can do that now using a summary view.
Hee.
I think we can leave the 'responder' for now.
One of the is a crosssite attack executing javascript throiugh the search
hey
heh, that's way faster than d.o ever is… maybe I'll just start using cache ALL the time
OP signed on before the forwarded_for patch so his IP's 127.0.0.1
how about this: you can save sets of arguments, filters, sort criteria, and fields as 'sets'
does anyone know how to remove a content type from node search?
then on the next step of the wizard, you can make a new set, or fetch an already made set
I suggest you talk to Heine.
d.o is down and i can't figure it out…
please don't discuss that here
remove the results for that one from the index on cron runs.
what is the hook?
care to help me? please go to http://www.time.com/time/specials/2007/article/0,28804,1633488_1633530_1633569,00.html and vote a 100 on it. It's about a Drupal site…
what is summary view?
chx, lol, done with it already
update_index
still, i need lots and lots of votes…
if you want to discuss security you can get an invite to #drupal-security
I did it too
It's a special view created when a view has an argument, and the argument isn't provided, and the argument's 'default' setting is 'summary'
but discussing security holes in public is a "Bad Idea" (TM)
DWW!
DWW is the project module maintainer who has contributed an enormous amount of code and ideas
HEY!
hey!
back off.
lol!
lol
i'm just looking for someone with shell access to drupaldb2 to see wtf is up w/ d.o.
any ideas on that?
seen killes?
update_index'.
yes, I know.
what's with your Cialis interest?
osuosl is at it
thanks.
update status is being committed as we speak (!!!)
I voted on http://www.time.com/time/specials/2007/article/0,28804,1633488_1633530_1633569,00.html
Well filters/sort are one gorup, and arguments/fields are kind of another.
I'm thinking something along these lines:
i'm working on it…
chx, post a tinyurl in channel topic
oh, I was thinking they were separate
huh?
maybe that's a bit too much
ok seriously now… how hard does d.o get hit every day?
I created a form, uding drupal_get_form, it works fine, and the corrisponding _submit function is called, and so is the _validate function. But how do I get the validate function to prevent the running of _submit? I need to make sure some values are within a certain range?
bandwidth numbers anyone?
http://drupal.org/profile/interest/Cialis
is there a more detailed explaination or example that I can take a look at?
chx, well thank you
right now _submit is valled no matter what I do in _validate
Ricoshady, form_set_error()
My popup blocker is going crazy on that site.
form_set_error?
http://api.drupal.org/api/5/function/form_set_error
fomr_set_error
i have a very serious problem , in the two step project issue form the project choice is not recorded i can't submit anything , i am thrown back to 'choose a project'
or form_error
you pass in the element
this is the 5.x 0.2 tarball
For view creation, we give them the very basics. The 'name' of the view, title and description. Then we take them to a page where they put in the filters and the sort criteria. Then we tell them to provide the 'default output' (I don't know what to call teh output right now). That lets them
pick the view type, arguments, fields (if necessary) and other items associated with that view type (like access control). THey can then create a
er, output types.
.1 beta i mean
like form_error($form['this_has_an_error'], 'message');
the last thing I got was THey can then create a
sorry, i must flee for a few minutes and put the finishing touches on update.module for core.
back once update.module is committed.
An example is the archive view, but isntead of using taxonomy terms it uses dates. But the basic concept is the same.
dmitrig01, that makes sense, but in the _submit and _valiudate function all I have is the form_id and form_values, not the form itself
The archive view is available both in the bonus pack and as a snippet in the views snippets section on d.o
no you do
_validate gets form as the 3rd argument
there is a 3rd parameter in _validate
_submit does not get form
it is the form, by reference
I'll take a look when d.o comes online :p
oh sweet, thanks
thanks!
function asdfasdf_validate($form_id, $form_values, &$form)
http://www.angrydonuts.com — on the right there's an Archive block. Click 'more' and then click one of the dates.
the last thing I got was THey can then create a
I assume you wrote more
…additional outputs
ah
thanks dmitrig01
np
that sounds good
drupal.org is supposed to be down?
will you change the topic to say "we know it's down and are working on it" ?
no and the host is working on it
wouldn't access control be per-view in general, not per output type?
that d be great
pointless, noone reads the topic
they do, they do
litwol!!!!!!!!!!!
drupal.org is down
Okay.
oh shit
drupal.org?
drupal.org is down
i got caught
:-p
c'mon in our channel!!!
I'd initially thought that, but really it's per output type. For example, 'embedded' view types have no inherent access control at all.
what is it again?
how many people come in, say "support?" and leave
lots
I was actually awnted to talk to you
#drupal-games
ok, cool
RIght now, the 'embedded' view type is sort of a bastardization of the 'page' view type.
Now, with additional output types, almost every field needs to have a checkbox "inherent from default output type"
At least, where such things are possible
cool
And one thing this UI needs is a nice, robust "activate this group of form items only if this box is checked"
Heck, we might even make them invisible if this box isn't checked.
There ought to be an easy .js tool for that.
later for a few hours
I happen to be near wizardness for JS
I have code to do that in Panels 2 but it's not generic enough
hi guys
you got time to troubleshoot a cvs thing again?
Yes, and osuosl is working on it
lol merlin
that was like magic
lol
no currently
would cvs be inoperable during this time as well?
ok cool
the DB is down and you can't commit anyway. :p
We're getting a stream of people asking
so you can't checkout either right?
what error do you get?
It's okay Merlin…it was just funny the way you read my mind.
d.o down is replyYes, and osuosl is working on it
Okay.
checkout should work
Dublind:
morphir's trying to get in to get a copy of pmp, but he can't
last seen amazon
amazon last seen
Definitely the best place to start will be putting together the right js tools. I'd initially been thinking of using js tabs for the edit interface.
d'oh. it's not my lucky day!
seen amazon?
amazon was last seen in #drupal-support 3 weeks 1 day ago saying 'desv: thanks, that worked'.
seen amazon
Each output whatever could have its own tab
thanks eclipse
and dmitrig01
:P
np
basic info / filters / sort criteria / default output / output 2 / output 3
ij
ok
Though really there's no reason they have to be jstabs except for speed.
ij == ok;
It's entirely possible that having them be separate pages would make for a much simpler code.
dww that cvs passwd script seems to have hung up. it's been wonked for the last 15 minutes…
And using popups like panels does to add stuff might work better? I'm not sure.
no, the jstools module handles it seuper nice
functions, right?
ack!
seriously?
Which part?
jstools for UI
Well I'm wondering. I'm not really comfortable relying on another package but it may be the way to go
they handle tabs in an fapi-like way
you've proven that you're pretty proficient with js… I'd build my own in your shoes
you around?
that'd be cool if their tabs were ajaxy
but they aren't
ah
think panels2 (ui) provides some good inspiration for views
another question: could you add more than one of the same output type per view?
like 2 blocks
?
there's another add-on for jstools that implements ajaxy-like submits
true, I've not played with that yet, but I want to
:-)
http://www.AWSurveys.com/HomeMain.cfm?RefID=hai2u — Fill out the information and get an automatic $6
Yea.
dat cool
can anyone else log in ti cvs?
lemme brainstorm in terms of ui some more, and maybe make some mocups
*mockups
ti==to
Ok
drupal.org down ?
are you having problems with cvs as well?
yeah
cvs server is not down
seen dww
dww was last seen in #drupal 18 min 34 sec ago saying 'back once update.module is committed.'.
ping
pong
down is replyYes, drupal.org is currently down and OSUOSL is working on it.
Okay.
down?
Yes, drupal.org is currently down and OSUOSL is working on it.
pm didn't go through because I was oddly signed in as jredding_ not jredding
hi all, I'm trying to write a module that dynamically adds fields to cck content types via AHAH (Ajax-like) calls. I'm currently thinking of doing this by faking a 'preview' button press call-flow. Can anyone tell me how the POST data from a submit is normally overlayed into the form returned
by hook_form() ?
seen unconed
UnConeD was last seen in #drupal 2 days 10 hours ago saying 'seeing as it's all over the patch'.
What is going on with api.drupal.org ???
d.o down?
down?
Yes, and osuosl is working on it
Yes, drupal.org is currently down and OSUOSL is working on it.
hah, oops
Druplicon, forget d.o down
I've forgotten about d.o down.
Anyone know why upgrading to php5 would cause permissions problems on the files directory where there were none before?
support?
#drupal is reserved for development discussions (please see channel topic). Volunteers offering live support can be found in #drupal-support. If no one is available in #drupal-support, try the forums at http://drupal.org/forum. Thank you for giving us a
space to work on improving Drupal for you!
oooh - its a dev question really!
loz, come there
hmm, chmod 777 ?
chmod works, but seems odd that the change to hp should require it
still …. never mind
er s/hp/php5/
for all those that didn't notice some a55 just emailed via dev to remind us d.o is down. How many more times came I take this?
np went down a % :p
:o
rather
ajk^: Get used to it.
ajk^: If they ask, ban them!
A recent update to Drupal 5 has messed up sessions. Does anyone know what was changed?
Oh - is d.o. down?
;-)
lol
down?
Yes, drupal.org is currently down and OSUOSL is working on it.
is microsoft.com down?
no
you wish
lol
we should all join the #vista-bash chanel
what, and tell them d.o is down too?
ajk^: You just need to implement a word filter that refuses to send the email out to dev list if the first sentence contains both the words "drupal.org" and "down". That'll fix 'em!
lol
I want to post a message on d.o to say that d.o is not working. How do I do that?
dont even need to bash it… its dyin' on its own lol
stop freaking me out, this is the second time you say this and it works.
hey ajk^ i have a secret, want to hear?
shoot
arrg
how does preview 'skip' the submit process… or another question, how can i overlay a POST into a blank form from hook_form ?
lol, all my d.o rss feeds are greyed out, except "Post Installation", shows how friggin much people use that then doesnt it
dang, even morphir.com is down
my world is down
it went down another notch :O :O
you dont appreciate things until they are gone….
how can i live without api.d.o???!?!?!?!
went down another notch? what the fuck are you talking about?
you generate one your self
as long as lolcat lives…
88%
it was 90 the first time I saw
ah so you are not talking about the site but the time rating
i see.
hi back.
ugh, can't upload my patch since the db server is down.
\loz reads d.o. via google cache
cvs is foobar
that's b/c the DB is fubar.
ping?
can we talk now or later?
sure, i guess now is fine, since i'm blocked on d.o's DB coming back to life.
does anyone know at least what went wrong?
so i try to submit an project isssue and i cant because the project choice does not survive hte submit. it persists from page 1 to page 2 but hwen submittin git reverts to page 1
i hope its not some problem wtih deleting all the viagra users that i reported earlier today O_O
that's most strange. never seen that on a local test site, nor (obviously) d.o
want ssh? vnc?
using HEAD?
no, using 0.1beta tarball
hrm
pong
dries had some minor usability complaints/suggestions…
i coded them up (just waiting to upload the patch)
just wanted to get your quick impression, feedback…
i'll pm you the text description of the changes, ok?
Is there anyone in here who does small-scale consulting that would like me to include them in a recommendation? I've got an acquaintance who wants to set up a site to do course listings and ecommerce payments of the courses. Idon't know what the budget is.
I don't think I"ve seen the complaints
they were from an IM session.
just pm'ed you the text… lemme know what you think.
all seemed reasonable to me.
the 1st two are the only ones i thought you might take issue with.
i can give you ssh access that should be enough i have links isntalled.
or even, i could make the Apache answerable to 'Net
and then we debug together
sorry, update.module stuff came up again for a sec…
i'll try again now.
project_issue 5.x-0.2-beta?
I've been considering something a little odd.
y
/tmp/project_issue-5.x-0.2-beta.tar.gz
can't reproduce locally.
i guess i have to help you debug on your site.
let's pm the details.
in the cvs is there something I can drop into the .info file at version= that will auto-update with my commits?