I am currently using the code: <?php print t('!date — !username !badge', array('!username' => theme('username', $node), '!date' => format_date($node->created), '!badge' => user_badges_for_uid($uid))); ?></span>
I had the calender set to display a month calendar in a block. It simply dissapeared. I did not change any setting. I installed fileview, fileshare, and filebrowse; but disabling those did not help.
The premise is if a node is unpublished, it will only be shown if e=1 is appended.
I'm attempting to visit .com/cs/#?e=1
Here's the code- it's very short. I have cleared my cache using devel, so that's not the issue. I can view the node fine if I'm logged in as admin. http://drupal.pastebin.us/12994
My module needs to be able to add onload = "function(data)"
to the body
tag, regardless of the theme used. Which hook and how shall I use ??
For this, of course, I need my module to be able to add a script link to the <head> section of the page, also regardless of the theme used. I noticed there is this $script variable used by theme templates, however I could not (as usually ;) find the place, where this var is generated, and which hook I shuold use to add something to it.
I am trying to find a reasonable way to upload/store/download files with drupal 5.0.
I downloaded, installed, and enabled: filebrowse, fileshare, and fileview.
Filebrowse works, although it is unintuitive and clunky. It doesn't create a menu, even for the admin. But it does, at least, work - and it does have a readme.txt.
As for fileshare and fileview; I can not tell the difference if these modules are enabled, or not. I don't see any menu item for either of these. I don't see where they add any functiionality.