So I'm trying to something extremely challenging. Here's a CCK node I've created, with the array details listed: http://saverybags.com/node/49
When someone views the node itself, I want a couple arrays to appear in the main content section and then some others to appear in a block in the right sidebar.
I'm developing a web site for a commercial activity. I need to allow the web site administrator to be able to create
new categories of products (I am using the ecommerce module but only to extent of management of an online product
catalog: every product belongs to a certain category)
I'm having a problem with the taxonomy module. I created a user role 'web administrator' and what I exactly
want this kind of user to do is to enter new taxonomy terms. In other words, enter new product categories!!
For those of you wanting to make your drupal forum look more like phpBB. the solution is near. I call it phpBBtheme and this release beta 1 can be seen and downloaded at http://www.crickster.com
oh yeah, its designed for the 4.7 branch but may work on 4.6.x if you are using a phptemplate theme.
I had a block using the attachment-module do display the files in a block.
becaus I have to manage large files I changed over to disknode, now I have problem to change the function displaying this disknode-filese.
the attachment-function looks like this
<?php
/* *
* Formats a list of attachments for a given node.
*/
function _toolbox_attachments($node) {
$attributes['class'] = 'attachment-list';
$header[0]['data'] = $node->title;
$header[0]['class'] = 'filename';
$header[1]['data'] = '';
$header[1]['class'] = 'size';
foreach ((array)$node->attachments as $attachment) {
if (!$attachment['hidden'] && !$attachment['deleted']) {
$text = empty($attachment['title']) ? (' ' . $attachment['filename']) : (' ' . $attachment['title']);
$attrib = empty($attachment['description']) ? array() : array('title' => $attachment['description']);
$row[0]['data'] = l($text, module_invoke('filemanager', 'url', $attachment['fid']), $attrib);
$row[0]['data'] = module_invoke('filemanager', 'l', $text, $attachment['fid'], FALSE, $attrib, TRUE);
$row[0]['class'] = 'filename';
$row[1]['data'] = format_size($attachment['size']);
$row[1]['class'] = 'size';