IRC log for #drupal-support, 2008-06-28 (GMT)

 
2008-06-27
2008-06-29
TimeNickMessage
[00:00:18]<level09>great :) me too :D
[00:00:31]* mib_vmpwgn has joined #drupal-support
[00:00:37]* mib_vmpwgn has quit (Client Quit)
[00:00:40]<ceardach>:D
[00:01:39]* byronic has joined #drupal-support
[00:02:13]* RandomCake____ has joined #drupal-support
[00:02:47]<byronic>i got a question, i changed with pathauto my page path to page/x, this works finde, but when i try to access with arg(0) on page, i get "node"
[00:03:18]* allanzmn has joined #drupal-support
[00:04:00]<allanzmn>Does anybody knows if there is a field or widget for CCK that enables me to click on "add" and create a new line of the same field?
[00:04:11]<ceardach>byronic: arg values always gives you the system path
[00:04:44]<allanzmn>I would like to make a band registration and make 1 line for each band member
[00:04:46]<byronic>but how can i access on my alias path?
[00:04:51]<ceardach>allanzmn: In field configuration, does checking "multiple values" give you the feature you're looking for? If not, what is missing?
[00:05:14]<ceardach>byronic: I'm not sure if there is a non hacky way of doing it
[00:06:01]* nomad411 has joined #drupal-support
[00:06:35]<byronic>is therre any function available where i can with the id of the node, access on the id of the author ?
[00:06:39]<allanzmn>ceardach: The problem is that I need to create a line with 2 text fields, one for the name and other for role... I want customer to add new fields for each member
[00:06:50]<ceardach>byronic: I wrote this up ages ago, but it includes some code for referencing the path alias: http://drupal.org/node/93500
[00:06:53]<Druplicon>http://drupal.org/node/93500 => Breadcrumbs: List breadcrumbs created from path alias => 3 IRC mentions
[00:07:05]* cgardner has quit ()
[00:07:37]<ceardach>allanzmn: ahh... every time they needed a new member, it'd be two more text fields?
[00:07:46]<ComputerNap>level09: do you have any experience with imagecaceh>?
[00:07:52]<ComputerNap>or imagecache
[00:07:54]<ComputerNap>:)
[00:08:03]<ceardach>allanzmn: I haven't seen anything that addresses it too well. One way I've explored it is to use... I think it was called the matrix field.
[00:08:19]<ceardach>byronic: May you clarify your previous question?
[00:08:21]<nomad411>Hi all.. I have a friend who asks that I "fix" his site. From the looks of it, it's 4.6 and Siteground upgraded to PHP5
[00:08:25]<allanzmn>ceardach: Something like that. I cant just leave a fixed number of fields because I can't know how many member the band could have.
[00:08:40]* WT has quit ("x-chat")
[00:09:08]<nomad411>I'm trying to figure the best way to upgrade it.. Doing it directly on the host would probably not work?
[00:09:27]<byronic>if i got a nodeid, i would like to know, from which user the node ist -> userid
[00:09:27]<ceardach>allanzmn: I've looked into the same issue and haven't really found a solution. On one site I just provided a large fixed set, on another (uncompleted) site I dabbled with the matrix field.
[00:09:55]<ceardach>allanzmn: If you're good with PHP, you could take a look at the link field module. It includes two fields for each one. You could try modifying that module to fit your needs.
[00:10:26]<level09>what kind of experience :D ?
[00:10:46]<ceardach>nomad411: The upgrade path from 4.6 will be long and perilous. The best thing to do is upgrade from 4.6 to 4.7, and upgrade each of the modules. Then upgrade from 4.7 to 5. You can probably wait before upgrading again to 6.
[00:11:07]<nomad411>Yup, agreed, 5 is my goal
[00:11:12]* igor__ has quit (Read error: 113 (No route to host))
[00:11:19]<nomad411>Which file has the proper version number again?
[00:11:31]<nomad411>I've been away from Drupal a bit, I miss it :)
[00:11:31]* lyricnz has joined #drupal-support
[00:11:39]<brenda003>check CHANGELOG.txt
[00:11:43]<nomad411>yes!
[00:11:45]<nomad411>thanks
[00:12:04]<nomad411>Woohoo!! 4.7.2
[00:12:17]<brenda003>phew. 4.6 is horrendous to upgrade.
[00:12:24]<ceardach>nomad411: Oh good! And if you didn't use flexinode then you shouldn't have a significant problem.
[00:12:55]<nomad411>No flexinode. I remember them being a concern back then. We were all waiting for mystical modules such as CCK and Views.. :D
[00:13:04]* mib_othxwm has joined #drupal-support
[00:13:06]* emmajane has joined #drupal-support
[00:13:14]<ceardach>byronic: So, from a given node ID, you want the author ID of the node?
[00:13:35]<ceardach>nomad411: Nice!! It shouldn't be that bad then.
[00:13:48]<nomad411>I guess I'll find a MAMP version running PHP4 and upgrade it there on my macbook
[00:14:19]<ceardach>I, sadly, was one who jumped on the flexinode band wagon. In my defense, I jumped on the bandwagon before CCK was out there.
[00:14:47]<ceardach>nomad411: Yes, definitely. Never do development on production.
[00:14:48]<nomad411>Band Wagons can be pretty atractive
[00:15:09]<allanzmn>ceardach: I'll look for this matrix module and read documentation. The idea is to create fields on demand so I can have one field for each band member...
[00:15:23]<byronic>exactly
[00:15:34]<allanzmn>ceardach: thx for the help, I'll give you news when I have
[00:15:46]<nomad411>same here, thanks for the help :)
[00:15:54]<ceardach>:)
[00:15:56]* kthomas_vh_ has joined #drupal-support
[00:16:46]<ceardach>byronic: $node = node_load(arg(1)); $author = $node->uid;
[00:17:46]<byronic>thx
[00:18:26]* RandomCake has quit (Connection timed out)
[00:20:39]<nomad411>I just ordered 2 new books, Pro Development (Due in August) and Drupal 6 Module development. Can't wait.
[00:21:02]<nomad411>I can't imagine that Drupal has changed sooo drastically since 4.7?
[00:21:58]<ComputerNap>Anyone have experience with imagecache?
[00:22:02]<ComputerNap>I can't get it to work
[00:23:14]<ceardach>nomad411: you're kidding, right?
[00:23:19]<ceardach>ComputerNap: what is the error you are having?
[00:23:28]<nomad411>yeah, I do expect loads of change :)
[00:23:32]<nomad411>hence the books
[00:23:37]<ceardach><giggle>
[00:23:59]* kthomas has joined #drupal-support
[00:24:03]<nomad411>Is themeing hugely different?
[00:24:05]* netaust1n has joined #drupal-support
[00:24:12]<ComputerNap>ceardach: not really getting an error. I have two presets and they simply don't create images. I have broken links and the image isn't created
[00:24:19]<ComputerNap>the folders aren't created either
[00:24:51]<ceardach>ComputerNap: is the files directory world writable? What is your image setting?
[00:25:22]<ceardach>nomad411: I didn't notice a huge difference. I did have to update the themes, though.
[00:25:25]<ComputerNap>Yes, it's world writable. Image setting is scale to 900px wide
[00:25:50]<ceardach>ComputerNap: what is the setting under "image toolkit"
[00:26:22]<ComputerNap>No image toolkits found. Drupal will use PHP's built-in GD library for image handling.
[00:26:22]<ComputerNap>The built-in GD2 toolkit is installed and working properly.
[00:26:36]* kthomas_vh has quit (Read error: 110 (Connection timed out))
[00:27:14]<ceardach>hmmmm
[00:27:37]<ceardach>what is the imagecache code?
[00:28:08]<ComputerNap>what do you mean?
[00:28:36]<ceardach>ComputerNap: to create the newly sized image, what is the code you are using?
[00:28:54]<ceardach>ComputerNap: like, theme('imagecache'.... blah blah
[00:29:31]<ComputerNap>I'm not using any code. I have it set up in a custom content type attache to an image field
[00:30:37]<ceardach>ComputerNap: what version of drupal and imagecache are you using?
[00:31:40]<ComputerNap>drupal 5.7 and imagecache 5.x-20
[00:31:59]* mqueiros_ has quit (Client Quit)
[00:32:01]<ceardach>ComputerNap: lemmi look at what changed in v2. I haven't used it yet.
[00:32:10]<ComputerNap>alright
[00:32:13]* arrayo has quit (Client Quit)
[00:32:20]* catch has quit (Remote closed the connection)
[00:32:27]<ceardach>ComputerNap: using imageapi?
[00:32:35]<ComputerNap>yes
[00:32:53]* catch has joined #drupal-support
[00:33:07]* jrbeeman has quit ()
[00:33:10]* esmerel-laptop has quit (" HydraIRC -> http://www.hydrairc.com <- \o/")
[00:33:55]* alaken has quit (Read error: 110 (Connection timed out))
[00:35:00]<ceardach>ComputerNap: It's going to take me a bit to look into it. Feel free to keep the question open for others to answer.
[00:35:14]<ComputerNap>Alright. Anyone else know? :)
[00:35:42]* grugnog_office has quit (Remote closed the connection)
[00:36:03]* davexoxide has quit ()
[00:37:38]* luison has quit (Remote closed the connection)
[00:37:55]* dougvann has joined #drupal-support
[00:40:14]* catch has quit ("Leaving")
[00:41:32]* netaust1n has quit ()
[00:42:41]* kthomas_vh_ has quit (Read error: 110 (Connection timed out))
[00:44:34]* amarrero has quit (Remote closed the connection)
[00:44:52]* fredo has quit (Remote closed the connection)
[00:47:24]* amarrero has joined #drupal-support
[00:50:44]* dudenhofer has joined #drupal-support
[00:51:39]* sodani has joined #drupal-support
[00:52:16]<sodani>does anyone know how to add a checkbox to a node form and have it save along with the nid?
[00:52:29]* kthomas_vh has joined #drupal-support
[00:52:32]<NateXide>Guys, need some help thinking real quick. I need to certain nodes only viewable by certain users. suggestions?
[00:52:33]* albert_philly has joined #drupal-support
[00:52:43]<brenda003>NateXide, content access module
[00:52:53]* steinmb has joined #drupal-support
[00:52:57]<brenda003>sodani, just use CCK.
[00:53:05]<NateXide>brenda003: is that per node or per node type?
[00:53:31]<sodani>brenda003: cck seems to be broken for single checkbox fields
[00:54:23]<brenda003>NateXide, both.
[00:54:32]<brenda003>sodani, drupal 6?
[00:54:42]<sodani>brenda003: 5.7
[00:54:46]* ipwa_ has joined #drupal-support
[00:54:53]<brenda003>sodani, hmm, works for me.
[00:55:55]<sodani>brenda003: the value is getting saved to the database and prefills the fields when you go to the edit form again?
[00:58:47]<brenda003>sodani, that would be what i mean by working, yeah.
[00:59:34]<NateXide>thanks brenda003, you're a doll
[00:59:56]<NateXide>(that mean you are very nice)
[01:00:36]* gusaus has quit ()
[01:01:23]<ceardach>ComputerNap: Ok, I think I see what you're doing. Are you going to "display fields" under your content type with the imagefield and selecting one of your imagecache configurations?
[01:01:44]* albert_philly has quit ()
[01:02:06]<NateXide>ok, new issue, imagecache profile by user, ie, anon users get profile thumb_with_watermark, reg user gets thumb_nowatermark
[01:02:10]<sodani>I tried another installation, but still not working
[01:02:41]<sodani>brenda003: which version of cck are you using?
[01:03:32]* develCuy has joined #drupal-support
[01:05:44]<_DT>sodani: you probably just need to enter the allowed values for the checkbox
[01:06:17]* Bigmack83 has joined #drupal-support
[01:06:40]* zostay has quit ("leaving")
[01:06:50]* zostay has joined #drupal-support
[01:07:08]<sodani>_DT: oh, I didn't realize those were necessary. will try again
[01:07:14]* bshumate has quit (Remote closed the connection)
[01:07:35]<_DT>yeh, there's help text at the top of the settings form ;-)
[01:08:08]<_DT>For a 'Single on/off checkbox' widget, define the 'off' value first, then the 'on' value in the Allowed values section. Note that the checkbox will be labeled with the label of the 'on' value.
[01:08:19]<_DT>*quote
[01:08:57]* Nikki_ has quit (Read error: 113 (No route to host))
[01:10:56]<sodani>_DT: ahh thanks!
[01:11:21]* kthomas has quit (Read error: 110 (Connection timed out))
[01:11:45]* RandomCake_____ has joined #drupal-support
[01:11:46]<sodani>and here I was struggling to code that functionality
[01:11:59]* RandomCake_____ is now known as RandomCake
[01:12:12]* cl has quit ()
[01:12:15]* negonicrac has joined #drupal-support
[01:12:28]<vinceyoumans>anyone doing LightBox2 stuf?
[01:12:29]<_DT>heh, np
[01:12:45]* negonicrac_ has quit (Read error: 104 (Connection reset by peer))
[01:13:25]* amarrero has quit (No route to host)
[01:14:56]* nonsie has quit (Read error: 110 (Connection timed out))
[01:15:43]* ipwa has quit (Read error: 113 (No route to host))
[01:16:24]* dudenhofer has quit (Read error: 110 (Connection timed out))
[01:17:10]* quassel251 has joined #drupal-support
[01:17:21]* alaken has joined #drupal-support
[01:17:43]* TrikNik has joined #drupal-support
[01:20:07]<ComputerNap>ceardach: Yes
[01:20:13]<ComputerNap>I'm using the display fields
[01:20:58]* quassel251 has quit (Remote closed the connection)
[01:21:35]* cc_toide has joined #drupal-support
[01:22:03]* alaken has quit (Client Quit)
[01:22:32]* sodani_ has joined #drupal-support
[01:24:26]* anyother has joined #drupal-support
[01:24:38]* anyother has quit ()
[01:24:49]* Symmetry has joined #drupal-support
[01:25:01]<NateXide>how do test for a role in a .tpl.php ?
[01:26:29]* CrookedNumber_ has joined #drupal-support
[01:26:30]<PaulATL>NateXide: I've never tried this, but can you call user_access('xxx') from a .tpl.php file? (where xxx is a permission -- not a role, but might help)
[01:27:00]* Symmetry has quit (Read error: 104 (Connection reset by peer))
[01:27:08]* Symmetry has joined #drupal-support
[01:27:57]* RandomCake____ has quit (Read error: 110 (Connection timed out))
[01:28:26]<emmajane>NateXide: http://api.drupal.org/api/function/user_access/5
[01:28:36]<NateXide>thansk
[01:29:07]* dougvann has quit (Read error: 110 (Connection timed out))
[01:30:32]* kthomas_vh has quit (Read error: 110 (Connection timed out))
[01:33:21]* byronic has quit (Read error: 110 (Connection timed out))
[01:34:17]* _CitizenKane_ has joined #drupal-support
[01:35:27]<level09>any 1 done some lightbox customizations ?
[01:36:17]* TrikNik has quit ()
[01:38:35]* sodani has quit (Connection timed out)
[01:39:15]* develCuy has quit (Read error: 104 (Connection reset by peer))
[01:39:21]* cctoide has quit (Read error: 110 (Connection timed out))
[01:42:32]* CrookedNumber has quit (Read error: 110 (Connection timed out))
[01:44:44]* PaulATL has left #drupal-support ("Leaving")
[01:45:03]* cwgordon7 has quit (Read error: 104 (Connection reset by peer))
[01:45:20]* brainycat has joined #drupal-support
[01:45:46]* develCuy has joined #drupal-support
[01:46:32]* ellyjonez has quit ("My damn controlling terminal disappeared!")
[01:51:25]* mib_othxwm has quit ("http://www.mibbit.com ajax IRC Client")
[01:51:31]* nomad411 has quit ("Back to the unreal world...")
[01:52:01]* Nightlurker has quit (Read error: 101 (Network is unreachable))
[01:52:09]* Nightlurker has joined #drupal-support
[01:52:29]* cc_to_ide has joined #drupal-support
[01:54:09]* milkmiruku has joined #drupal-support
[01:54:37]* igor__ has joined #drupal-support
[01:55:24]* igor__ is now known as |igor_
[01:55:58]<Symmetry>my drupal install keeps generating mysql errors Warning: Specified key was too long; max key length is 767 bytes query: CREATE TABLE action. what do I do?
[01:57:09]<emmajane>What have you done so far?
[01:57:16]<emmajane>Have you actually gotten it installed?
[01:57:25]* alaken has joined #drupal-support
[01:57:58]* needs_helpbad has joined #drupal-support
[02:00:25]<Bigmack83>ok when a role is created it always automatically has the auth role, but on the admin/user/user window, the list of users that is show, it also shows the roles each user has. But all the users that have more than just auth role it doesnt show as auth. Clicking on the user it shows them as an auth user though. Could this be why my auth users are unable to see any views? a pic is here: http://dc11.4shared.com/download
[02:01:38]<emmajane>the image doesn't exist there, Bigmack83
[02:02:04]<Bigmack83>hmm, both of them? ok hold on
[02:02:38]<NateXide>hey guys, when i call user_access, im getting a unexpected T_STRING fatal error... <?php if user_access("view imagecache display_nowatermark"): ?>
[02:02:39]<Bigmack83>http://www.4shared.com/file/53028104/9129432d/user1.html and here http://www.4shared.com/file/53028105/e62e73bb/user2.html
[02:02:43]<Symmetry><emmajane>, no
[02:02:55]<Symmetry>im going through the installation and thsoe errors come up
[02:03:09]<emmajane>Symmetry: what version of mysql are you running?
[02:03:35]<Symmetry>1.2.12
[02:03:42]<emmajane>erm, I wouldn't think so.
[02:04:01]<Symmetry>drupal 6.2
[02:04:12]<emmajane>Symmetry: what version of the database are you running?
[02:04:20]* snodbob|away has left #drupal-support ()
[02:04:23]* Samonoske has joined #drupal-support
[02:04:26]<emmajane>3x or 4x or 5x?
[02:04:34]<_DT>NateXide: to check the user role: global $user; if(in_array('role', $user->roles)) { //user has role }
[02:04:56]<Symmetry>6.04
[02:05:29]<Bigmack83>anyone think that what those pics shows may be the reason that none of my basic auth users can see any view i create?
[02:05:31]<Samonoske>anyone know how i can make a new users block http://3gforfree.com/web/ <-- like the one here
[02:06:52]<Bigmack83>samonoske: which block are you referring to?
[02:07:02]* ZGirl has joined #drupal-support
[02:07:05]<ZGirl>Hi - I'm making a module for D6. I can't seem to get my path permissions to show up in the permissions admin page. I've tried running menu_rebuild(), but still the module's options don't come up. I'm adding a line like this to my menu item's array: 'access arguments' => array('manage auctions'),
[02:07:07]<Bigmack83>oh nvm i see
[02:07:12]<emmajane>Bigmack83: why aren't you using Drupal's built-in "authenticated" user role?
[02:07:14]* cc_to_ide is now known as cctoide
[02:07:27]<emmajane>Symmetry: at what point in teh install is it failing?
[02:07:39]<Bigmack83>emmajane: i am,
[02:07:44]<emmajane>Symmetry: can you see if the tables are created?
[02:07:47]* cc_toide has quit (Read error: 110 (Connection timed out))
[02:08:13]<Symmetry>right after i tell it what my db name, login and password are
[02:08:30]<emmajane>Bigmack83: I'm on v5, does "authenticated user" actually show up in a user profile in v6?
[02:08:30]<Symmetry>i looked and the tables arent created.. should i use an earlier version of mysql?
[02:08:51]<Bigmack83>that user is listed and shown as an auth user, but in the first pic it doesnt show. i feel like ive eliminated all the other possibilities on why that user cant see a view
[02:09:27]<emmajane>Symmetry: I use MySQL v5
[02:09:51]<emmajane>Symmetry: it shouldn't show up in /user1.html
[02:09:56]<Bigmack83>in the admin view of the user (admin/user/user) (the first pic) apparently not but when i 'edit' the user auth is checked
[02:10:20]<emmajane>Bigmack83: have you marked the view as being available to authenticated users?
[02:10:46]<emmajane>Bigmack83: what is the error message that non-editor users are getting?
[02:11:51]<NateXide>!nopaste
[02:12:03]<Bigmack83>emmajane: no errors, just doesnt shoe. view is 'unrestricted' and auth user can access all content and access all views
[02:12:11]* ipwa has joined #drupal-support
[02:12:16]<Bigmack83>*just doesnt show
[02:12:17]<NateXide>i guess i cant do that, whats the no paste site's url?
[02:12:41]<emmajane>pastebin?
[02:12:41]<Druplicon> Please don't paste code directly into IRC. Use http://drupalbin.com or http://pastebin.ca or http://pastebin.org or http://pastie.textmate.org instead.
[02:13:32]<emmajane>Bigmack83: can they access the content from something other than that view? maybe there's something else that's preventing the display that isn't to do with the view? e.g. a taxonomy restriction.
[02:13:38]* jscheel has joined #drupal-support
[02:14:06]* Symmetry has quit ()
[02:14:58]<NateXide>hey guys, if any one can take a look at this, its not working as expected, infact im not getting this output at all, if you could tell me if anything looks wrong or suspect i'd be much abliged.. http://drupalbin.com/2233
[02:15:06]<Bigmack83>samonoske: that user block would probably be a combo of views, panels and some hand coding of css. i agree though thats a slick panel. Makes me want to try it to
[02:15:09]<Samonoske>Bigmack83 you know how i'd do it?
[02:15:45]<Bigmack83>samonoske: yes the actual content they can access no problem
[02:15:54]<Bigmack83>samonoske: ?
[02:15:58]* jscheel has quit (Client Quit)
[02:18:09]<Samonoske>Bigmack83
[02:19:23]<Bigmack83>samonoske: how would you do it?
[02:19:43]<Samonoske>I'm not really sure how.. That's why i'm trying to get some help
[02:20:06]<Samonoske>lol..Hmm I was referring to earlier about the new user block btw.
[02:20:25]<Bigmack83>what i was thinking is just to make another role called 'student' (since the site is for my school) and just give them all the same permissions
[02:20:48]* maynards-girl has quit ()
[02:20:51]<emmajane>NateXide: is that in your X.tpl.php file?
[02:21:05]<NateXide>emmajane: yes
[02:21:23]<Bigmack83>samonoske: oh ok, yea how would you do that? i was thinking using view with the feilds of name, join date, and picture in a table
[02:21:29]<emmajane>and you're logged in as a user that has the correct role assigned?
[02:21:30]* grugnog has quit (Remote closed the connection)
[02:21:47]<Bigmack83>yes
[02:21:47]<NateXide>emmajane: yes, has the role and permision for both presets
[02:22:14]* milkmiruku has quit ("milkmiruku.com | theforest.org.uk | milk has exited the server")
[02:22:57]<emmajane>NateXide: which part isn't working? i.e. if you <?php print 'hello'; ?> just inside the condition, do you get anything?
[02:23:10]* ellyjonez has joined #drupal-support
[02:23:15]* ellyjonez has quit (Client Quit)
[02:23:27]<emmajane>NateXide: if you print_r($field_tree_image); does anything get printed to the page?
[02:24:21]<NateXide>emmajane: no, hello doesnt get printed
[02:24:45]<emmajane>and if you print the array of images outside of the role does, does anything get printed?
[02:24:59]* le_ has joined #drupal-support
[02:25:04]* le_ is now known as ellyjonez
[02:25:08]<emmajane>and if you use "authenticated" as the role, does it work?
[02:27:09]<emmajane>sorry, "authenticated user"
[02:27:57]<NateXide>ohh, let me try authenticated user instead
[02:28:06]<Samonoske>when i export a block and recieve that code..does that mean I can inject in one of my pages.. suchas page-front.tpl.php
[02:28:11]<NateXide>should it be "" or ''
[02:28:14]* ZGirl has quit ()
[02:28:38]<emmajane>I don't think it matters...
[02:29:03]<emmajane>I tried doing: <?php global $user; print_r($user->roles); ?> to confirm that my user really did have the roles I thought it did.
[02:29:04]<NateXide>ok, it worked for authenticated users
[02:29:11]* ipwa_ has quit (Connection timed out)
[02:29:45]<emmajane>that will also tell you exactly the right spelling you should be using. (maybe the caps are wrong?)
[02:31:05]<NateXide>emmajane: thanks, i dunno why, but now it works
[02:31:13]<emmajane>:)
[02:31:29]<emmajane>cache is evil.
[02:31:40]* grugnog has joined #drupal-support
[02:31:52]* TrikNik has joined #drupal-support
[02:33:11]<NateXide>now, to extent my <?php if ?> <?php endif ?> with an else statement, how do i do that?
[02:34:08]* Gluteus has quit (Read error: 104 (Connection reset by peer))
[02:34:15]<emmajane>NateXide: http://aspn.activestate.com/ASPN/docs/PHP/migration.if-endif.html
[02:35:08]<NateXide>thanks
[02:35:37]<ipwa>in my node template how can I print a link to the node? I'm doing a custom template for the teaser printing fields and want to add a read more link that takes me to the full node
[02:36:14]* develCuy has quit ("Ex-Chat")
[02:36:44]<ceardach>l($node->title, 'node/'.$node->nid)
[02:37:11]* emmajane wants a views filter to be OR instead of AND. it doesn't seem to be possible...?
[02:37:40]<ceardach>emmajane: it appears some filters allow OR and some don't.
[02:38:07]* emmajane curses teh filters
[02:38:55]* emmajane wants unpublished nodes AND nodes waiting for moderation. except to get that combined list you have to use OR.
[02:38:57]<ipwa>thanks ceardach :)
[02:39:05]<ceardach>:)
[02:39:10]<emmajane>otherwise nodes have to meet both conditions (which is not the case)
[02:39:23]<NateXide>whats the oppisite of if $teaser ?
[02:39:30]<ceardach>$page
[02:39:34]<NateXide>thanks
[02:39:35]* emmajane bops along to the beastie boys' Brass Monkey.
[02:39:39]<ceardach>or just !$teaser
[02:40:45]* kthomas_vh has joined #drupal-support
[02:42:09]* |igor_ has quit (Read error: 113 (No route to host))
[02:42:18]* dougvann has joined #drupal-support
[02:43:07]* emmajane finds workflow-state and contemplates finding coffee. how come I always find the good stuff when i can barely keep my eyes open?
[02:47:58]* Bojhan has quit ()
[02:49:42]* level09 has quit ("ChatZilla 0.9.83 [Firefox 2.0.0.14/2008040413]")
[02:51:36]<ipwa>NateXide: are you trying to make a separate teaser and full node template in your node.tpl.php ??
[02:51:36]<ipwa>emmajane: I like contemplates its a nice module and I've used it in several sites, but now I've learned that the same can be done in node.tpl.php
[02:52:13]<emmajane>hehe. not the module. the brain action, ipwa
[02:52:35]* dgross18 has joined #drupal-support
[02:52:54]<emmajane>http://www.google.ca/search?q=define%3Acontemplate
[02:52:57]<emmajane>that kind
[02:53:35]* negonicrac has quit (Read error: 110 (Connection timed out))
[02:54:52]<ceardach>Yeah, I don't use contemplate because it stores too much data in the database, which makes it difficult to version control.
[02:54:58]* ipwa_ has joined #drupal-support
[02:56:06]<ipwa_>lol!
[02:56:06]* Druplicon laughs
[02:57:36]* ipwa__ has joined #drupal-support
[02:58:24]* ipwa__ has quit (Remote closed the connection)
[03:00:23]* JW has quit (Read error: 110 (Connection timed out))
[03:03:41]<emmajane>you know you've been spending too much time with drupal when english < drupal modules.
[03:03:45]<emmajane>:)
[03:06:19]* netaust1n has joined #drupal-support
[03:09:34]* HedgeMage has joined #drupal-support
[03:12:10]* mimetic has joined #drupal-support
[03:14:29]* ipwa_ has quit (Read error: 110 (Connection timed out))
[03:15:58]* cwgordon7 has joined #drupal-support
[03:17:02]* vordude has joined #drupal-support
[03:17:41]* chemmyone has joined #drupal-support
[03:20:06]* murth has joined #drupal-support
[03:22:13]* motif_ has joined #drupal-support
[03:23:45]* vordude has left #drupal-support ()
[03:23:55]* allanzmn has quit ()
[03:24:09]* ipwa has quit (No route to host)
[03:27:15]* motif_ has quit ()
[03:27:38]* dgross18 has quit ("ChatZilla 0.9.83 [Firefox 3.0/2008052906]")
[03:28:16]* johnny5 has joined #drupal-support
[03:28:36]<johnny5>how do i theme what comes before my comments listing on nodes
[03:29:10]* nickit has joined #drupal-support
[03:29:21]* HedgeMage has quit ("Real life calls.")
[03:30:11]<johnny5>I guess i could add stuff to the bottom of the node
[03:31:35]* netaust1n has quit (Read error: 110 (Connection timed out))
[03:32:02]<emmajane>johnny5: http://drupal.org/node/11815 or http://drupal.org/node/11816
[03:32:03]<Druplicon>http://drupal.org/node/11815 => Comment.tpl.php => 6 IRC mentions
[03:32:03]<Druplicon>http://drupal.org/node/11816 => Node.tpl.php => 48 IRC mentions
[03:32:39]<emmajane>you can get default templates from one of the default themes (if you are making a custom theme)
[03:34:00]<nickit>anybody know why when i embed myspace playlsits into a content profile, it doesnt seem to work?
[03:34:05]* motif_ has joined #drupal-support
[03:35:38]<emmajane>I have no idea what a myspace playlist is.
[03:35:42]<emmajane>javascript? flash?
[03:35:43]<nickit>like
[03:35:48]<nickit>flashi believe
[03:36:00]<emmajane>please double check...
[03:36:07]<johnny5>comments.tpl.php is what loops for each content, i just want to put a header between my content and the start of user comments. i have one for my form, but the form is below user comments
[03:36:07]<NateXide>hey guys, shouldnt I get a view/edit tabs on top of a node when im viewing it with edit permisions?
[03:36:24]<emmajane>NateXide: only if you also have permission to use that content filter.
[03:36:35]* sodani_ has quit ()
[03:36:35]<nickit>flash
[03:36:46]* brenda003 has left #drupal-support ("Leaving")
[03:36:55]<emmajane>nickit: are you using an HTML editor like TinyMCE?
[03:37:02]<nickit>no
[03:37:18]<emmajane>what happens whne you click "submit"?
[03:37:27]<emmajane>Does you code appear in the page?
[03:37:31]<nickit>here
[03:37:54]<emmajane>i get access denied.
[03:38:03]<nickit>hmm
[03:38:08]<nickit>well there is no code,
[03:38:15]<nickit>theres an empty space the size of the playl;sit
[03:38:20]<nickit>playlist*
[03:38:44]<emmajane>what is the code you're pasting from myspace?
[03:39:14]<nickit>ill msg you it
[03:39:33]<emmajane>get rid of the <object> tag.
[03:39:38]<emmajane>just use the <embed>
[03:39:41]<emmajane>that generally works for me.
[03:40:07]<nickit>i tried that,
[03:40:12]<emmajane>and make sure you are on "Full HTML"
[03:40:18]<nickit>but thats when i get the code text
[03:40:22]<nickit>yea i have full html
[03:41:11]<emmajane>what does "code text" mean?
[03:42:06]<nickit>"(11:37:57 PM) emmajane: Does you code appear in the page?'
[03:42:42]<nickit>a little bit of the code appears i believ
[03:42:44]<nickit>let me test it
[03:43:03]<emmajane>If any of the HTML appears in a rendered Web page you are not using Full HTML.
[03:43:24]<nickit>ok, the html doesnt appear
[03:43:2