IRC log for #drupal-themes, 2008-05-17 (GMT)

 
2008-05-16
2008-05-18
TimeNickMessage
[00:02:14]<G-son>In Drupal 5 I have a template.php to call username.tpl.php which outputs First name + Last Name (from my profile) as username. In Drupal 6 I found out that the _phptemplate_callback() is no longer supported. I have searched a lot on Drupal site, but haven't been abled to find a solution. What should I write in template.php to get this to work? On http://drupal.org/node/244052 I put my code.
[00:02:18]<Druplicon>http://drupal.org/node/244052 => Create an alias instead of user username in Drupal 6 => 3 IRC mentions
[00:03:42]* RandomCake___ has joined #drupal-themes
[00:03:54]* RandomCake___ is now known as RandomCake
[00:05:00]* egoleo has quit (Remote closed the connection)
[00:06:27]* liveoutloud2day has joined #drupal-themes
[00:09:22]<JohnAlbin>G-son: ...
[00:09:24]<JohnAlbin>theme_render_template?
[00:09:24]<Druplicon>theme_render_template: Render a system default template, which is essentially a PHP template. => theme_render_template($file, $variables) => http://api.drupal.org/api/function/theme_render_template/6
[00:13:50]* liquidcms has quit ("ChatZilla 0.9.82.1 [Firefox 2.0.0.14/2008040413]")
[00:14:46]* allisterb has quit (Read error: 104 (Connection reset by peer))
[00:16:08]* psynaptic has joined #drupal-themes
[00:16:48]* allisterb has joined #drupal-themes
[00:17:10]* allisterb has quit (Read error: 104 (Connection reset by peer))
[00:17:15]* RandomCake__ has quit (Connection timed out)
[00:20:49]* psynaptic has quit (Client Quit)
[00:25:11]* CrashTest_ has quit ()
[00:31:46]* manuee has quit ("Leaving")
[00:32:24]* snake_2 has quit ("Leaving")
[00:37:12]* allisterb has joined #drupal-themes
[00:58:12]* steinmb has joined #drupal-themes
[01:17:38]* steinmb has quit ()
[01:27:01]* JohnAlbin has quit ()
[01:29:20]* ekiczek has joined #drupal-themes
[01:31:44]* ekiczek has quit (Client Quit)
[01:40:05]* replicant has joined #drupal-themes
[02:00:14]* allisterb has quit (Read error: 104 (Connection reset by peer))
[02:05:58]* pinglaura has joined #drupal-themes
[02:07:06]* yoroy has quit ()
[02:11:21]* stevek has quit ()
[02:16:39]* gusaus has quit ()
[02:17:51]* allisterb has joined #drupal-themes
[02:26:03]* Thomas_Zahreddin has quit (Read error: 110 (Connection timed out))
[02:33:24]* ekiczek has joined #drupal-themes
[02:36:32]* ekiczek has quit (Client Quit)
[02:43:43]* mikey_p has quit ()
[02:56:42]* mikey_p has joined #drupal-themes
[03:01:52]* pinglaura has quit ()
[03:16:49]* oadaeh has joined #drupal-themes
[03:25:26]* CrashTest_ has joined #drupal-themes
[03:43:07]* nijg has joined #drupal-themes
[03:43:16]* nijg has quit (Read error: 104 (Connection reset by peer))
[03:46:22]* ipwa has joined #drupal-themes
[03:49:59]* MattV has joined #drupal-themes
[03:51:33]* ipwa has quit (Client Quit)
[03:53:31]* sevenslice has quit ()
[04:09:29]* allisterb has quit (Read error: 104 (Connection reset by peer))
[04:10:39]* allisterb has joined #drupal-themes
[04:11:13]* RandomCake has quit (Read error: 104 (Connection reset by peer))
[04:11:45]* RandomCake___ has joined #drupal-themes
[04:11:57]* RandomCake___ is now known as RandomCake
[04:29:12]* jam59 has joined #drupal-themes
[04:32:10]* pinglaura has joined #drupal-themes
[04:40:25]* jam59 has quit ()
[04:50:18]* allisterb has quit (Read error: 104 (Connection reset by peer))
[05:03:19]* SteamedPenguin has joined #drupal-themes
[05:03:23]* pinglaura has quit ()
[05:07:59]* allisterb has joined #drupal-themes
[05:38:57]* pinglaura has joined #drupal-themes
[05:45:50]* replicant has quit ()
[05:49:03]* G-son has quit ()
[05:49:07]* pinglaura has quit ()
[06:05:25]* CrashTest_ has quit ()
[06:13:52]* McGo has joined #drupal-themes
[06:17:53]* steinmb has joined #drupal-themes
[06:24:16]* siliconmeadow has joined #drupal-themes
[06:26:15]* allisterb has quit (Connection reset by peer)
[06:27:26]* allisterb has joined #drupal-themes
[06:58:56]* MattV has quit ("Miranda IM! Smaller, Faster, Easier. http://miranda-im.org")
[06:59:37]* floown has joined #drupal-themes
[07:42:00]* srbaldomero has joined #drupal-themes
[08:15:05]* psynaptic has joined #drupal-themes
[08:36:13]* yoroy has joined #drupal-themes
[08:38:05]* yoroy has quit (Client Quit)
[08:46:11]* allisterb has quit (Read error: 104 (Connection reset by peer))
[08:48:52]* Thomas_Zahreddin has joined #drupal-themes
[08:55:21]* marcrobinsone has joined #drupal-themes
[08:57:27]* McGo has quit (Read error: 113 (No route to host))
[09:03:46]* allisterb has joined #drupal-themes
[09:10:34]* drupalino has joined #drupal-themes
[09:13:32]* allisterb has quit (Read error: 104 (Connection reset by peer))
[09:21:05]* allisterb has joined #drupal-themes
[09:28:13]* RandomCake has quit (Success)
[09:28:21]* Haza`` has joined #drupal-themes
[09:30:42]* RandomCake___ has joined #drupal-themes
[09:32:31]* RandomCake____ has joined #drupal-themes
[09:32:37]* RandomCake____ is now known as RandomCake
[09:51:50]* RandomCake_____ has joined #drupal-themes
[10:01:09]* RandomCake______ has joined #drupal-themes
[10:01:45]* RandomCake___ has quit (Connection timed out)
[10:01:48]* marcrobinsone has left #drupal-themes ()
[10:08:16]* RandomCake has quit (Connection timed out)
[10:20:35]* RandomCake_____ has quit (Success)
[10:21:34]* Thomas_Zahreddin has quit (Read error: 104 (Connection reset by peer))
[10:32:00]* yoroy has joined #drupal-themes
[10:34:04]* stevek has joined #drupal-themes
[11:01:30]* stevek has quit ()
[11:03:37]* alpritt has joined #drupal-themes
[11:09:03]* Michelle has quit ()
[11:17:26]* Haza`` has quit ("*pof*")
[11:56:32]* siliconmeadow has quit ()
[12:00:12]* ximo_ has joined #drupal-themes
[12:01:44]* siliconmeadow has joined #drupal-themes
[12:02:20]* Haza`` has joined #drupal-themes
[12:06:43]* igoogg has quit (Remote closed the connection)
[12:08:37]* ximo has quit (Read error: 110 (Connection timed out))
[12:09:05]* ekiczek has joined #drupal-themes
[12:14:29]* srbaldomero has quit ("Leaving.")
[12:38:28]* ekiczek has quit ()
[12:41:21]* RandomCake______ has quit (Read error: 104 (Connection reset by peer))
[12:41:57]* RandomCake______ has joined #drupal-themes
[12:42:10]* RandomCake______ is now known as RandomCake
[13:02:13]* G-son has joined #drupal-themes
[13:03:45]* ser has quit (Remote closed the connection)
[13:07:20]<G-son>In Drupal 5 I have a template.php to call username.tpl.php which outputs First name + Last Name (from my profile) as username. In Drupal 6 I found out that the _phptemplate_callback() is no longer supported. I have searched a lot on Drupal site, but haven't been abled to find a solution. What should I write in template.php to get this to work? On http://drupal.org/node/244052 I put my code.
[13:07:22]<Druplicon>http://drupal.org/node/244052 => Create an alias instead of user username in Drupal 6 => 4 IRC mentions
[13:54:20]* pinglaura has joined #drupal-themes
[13:59:39]* ximo_ has quit ()
[14:13:00]* RandomCake has quit (Connection timed out)
[14:21:25]* ser has joined #drupal-themes
[14:48:19]* jam59 has joined #drupal-themes
[14:49:37]* pinglaura_ has joined #drupal-themes
[15:00:09]* floown has quit ()
[15:01:04]* ximo has joined #drupal-themes
[15:02:55]* drupalino has quit ("Leaving.")
[15:05:37]* pinglaura has quit (Read error: 110 (Connection timed out))
[15:05:45]* steinmb has quit ()
[15:15:50]* sDaniel has joined #drupal-themes
[15:21:13]* drupalino has joined #drupal-themes
[15:37:00]* egoleo has joined #drupal-themes
[15:37:24]<egoleo>hello
[15:37:24]<Druplicon>que tal
[15:40:54]<guardian>something surprises me: in css p {margin: 1em 0;} how come the height between 2 paragraphs is not 2em but 1em ?
[16:00:13]* drupalino has quit ("Leaving.")
[16:14:11]<SteamedPenguin>guardian: it should be 2em
[16:14:22]<guardian>well in fact no
[16:14:50]<guardian>there is collapsing of vertical margins with consecutive identical elements in css
[16:14:50]<guardian>it takes the max of the two margins
[16:15:30]<SteamedPenguin>guardian: is this browser specific?
[16:15:34]<guardian>no
[16:21:12]<SteamedPenguin>guardian: heh, you are right.
[16:24:46]* psynaptic has quit (Client Quit)
[16:41:35]* marcrobinsone has joined #drupal-themes
[16:42:39]* stephthegeek has joined #drupal-themes
[16:44:43]* psynaptic has joined #drupal-themes
[16:47:30]* stephthegeeky has joined #drupal-themes
[16:51:31]* John-Hjorth has quit ("Leaving")
[16:57:16]* ekiczek has joined #drupal-themes
[16:57:47]* ekiczek has quit (Client Quit)
[16:59:53]<guardian>i have a little question please, i set line-height to 21px, paragraph padding to 0, what can explain that when setting the paragraph's background color to something visible then measure the height of the paragraph on a screen shot, height is 44px and not 42px ?
[17:03:20]* stevek has joined #drupal-themes
[17:05:45]* stephthegeek has quit (Read error: 110 (Connection timed out))
[17:09:03]* John-Hjorth has joined #drupal-themes
[17:09:53]* stephthegeeky is now known as stephthegeek
[17:20:50]* jam59 has quit ()
[17:40:08]* stevek has quit (Read error: 110 (Connection timed out))
[18:15:23]* alpritt has quit ()
[18:20:37]* egoleo has quit (Read error: 110 (Connection timed out))
[18:21:02]* egoleo has joined #drupal-themes
[18:25:15]* marcrobinsone has quit (Read error: 104 (Connection reset by peer))
[18:26:38]* illmatix has quit (Read error: 104 (Connection reset by peer))
[18:32:30]* illmatix has joined #drupal-themes
[18:33:11]* allisterb has quit (Read error: 104 (Connection reset by peer))
[18:33:11]* MediaDoneRigh1 has quit ("Leaving.")
[18:34:01]* allisterb has joined #drupal-themes
[18:58:55]* CrashTest_ has joined #drupal-themes
[19:05:51]* CrashTest_ has quit ()
[19:07:18]* tkt has quit (Remote closed the connection)
[19:22:13]* RobertLaptop has joined #drupal-themes
[19:24:26]* illmatix has quit (Read error: 104 (Connection reset by peer))
[19:27:08]* Freso has joined #drupal-themes
[19:37:10]<G-son>In Drupal 5 I have a template.php to call username.tpl.php which outputs First name + Last Name (from my profile) as username. In Drupal 6 I found out that the _phptemplate_callback() is no longer supported. I have searched a lot on Drupal site, but haven't been abled to find a solution. What should I write in template.php to get this to work? On http://drupal.org/node/244052 I put my code.
[19:37:12]<Druplicon>http://drupal.org/node/244052 => Create an alias instead of user username in Drupal 6 => 5 IRC mentions
[19:37:34]* stephthegeek has quit ("Leaving")
[19:39:45]* illmatix has joined #drupal-themes
[19:40:58]* illmatix has quit (Read error: 104 (Connection reset by peer))
[19:44:17]* pinglaura has joined #drupal-themes
[19:48:42]* illmatix has joined #drupal-themes
[19:48:50]* stephthegeek has joined #drupal-themes
[19:50:04]* flobruit has quit (Remote closed the connection)
[19:50:38]* flobruit has joined #drupal-themes
[19:57:38]* pinglaura_ has quit (Read error: 110 (Connection timed out))
[20:28:28]* RobertLaptop has quit (Remote closed the connection)
[20:34:40]* pinglaura has quit (Connection timed out)
[21:05:27]* pinglaura has joined #drupal-themes
[21:06:06]* pinglaura_ has joined #drupal-themes
[21:10:07]* ekiczek has joined #drupal-themes
[21:15:48]* sDaniel has quit (Read error: 110 (Connection timed out))
[21:18:49]* liveoutloud2day has quit (No route to host)
[21:21:30]* pinglaura has quit (Read error: 110 (Connection timed out))
[21:22:00]* marcvangend has joined #drupal-themes
[21:22:32]<marcvangend>hi there
[21:22:32]<Druplicon>hey
[21:23:15]<marcvangend>I'm trying to theme poll results, but what I can do is rather limited, I think
[21:23:33]<marcvangend>in the api I found the poll_view_results function
[21:23:54]<marcvangend>I'd like to override that, but it's not a theme function so I guess that's not an option, right?
[21:24:56]<marcvangend>BTW I'm talking Drupal 5 here - look here for the api page http://api.drupal.org/api/function/poll_view_results/5
[21:27:38]* pinglaura_ has quit ()
[21:32:22]* lisppaste6 has quit (Remote closed the connection)
[21:43:30]* SteamedPenguin is now known as SteamedPenguin_
[21:43:35]* SteamedPenguin_ is now known as SteamedPenguin
[21:43:47]* SteamedPenguin has quit ("Konversation terminated!")
[21:44:12]* lisppaste6 has joined #drupal-themes
[21:59:56]* ekiczek has quit (Read error: 110 (Connection timed out))
[22:00:41]* alpritt has joined #drupal-themes
[22:12:31]* steinmb has joined #drupal-themes
[22:12:48]* yoroy has left #drupal-themes ()
[22:18:52]* egoleo has quit (Remote closed the connection)
[22:22:40]* psynaptic has quit (Client Quit)
[22:40:13]* berkes has quit (Read error: 110 (Connection timed out))
[22:43:23]* liveoutloud2day has joined #drupal-themes
[22:48:49]* siliconmeadow has quit ()
[22:53:43]* allisterb has quit (Read error: 104 (Connection reset by peer))
[22:55:05]* allisterb has joined #drupal-themes
[22:55:07]* Freso has quit ("Leaving")
[22:55:46]* marcvangend has left #drupal-themes ()
[23:34:09]* allisterb has quit (Read error: 104 (Connection reset by peer))
[23:35:40]* Davea1 has joined #drupal-themes
[23:51:47]* allisterb has joined #drupal-themes