This forum is for assistance with theme development.

What is the best way to achieve this..

I am currently using drupal 4.7rc4, PHPTemplate system. I want to produce a website that looks like this:

first pic: http://i2.tinypic.com/wtsu9t.png

Fatal error: Call to undefined function: base_path()

Hello,

I've just tried to install the Andrea's theme and get this error:

Fatal error: Call to undefined function: base_path() in /home/yogayak/public_html/drupal/themes/andreas01/template.php on line 13

Line 13 is : if ($vars['logo'] == base_path() . path_to_theme() .'/logo.png') {

there was not logo.png but I but one up now... and my entire Drupal test zone is gone http://www.yogayak.com/drupal

If I can't fix this, how can I "reset" the themes on the site?

Love and light

CCK Super Themeing Brain Challenge

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.

In the center column I want:

  • The Title
  • The image from [field_bag_main_photo]

In the Right column I want to appear in a block:

taxonomy access restrictions

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!!

phpBBtheme beta1

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.

disknode display on a block

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']) ? ('Only local images are allowed. ' . $attachment['filename']) : ('Only local images are allowed. ' . $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';

Pages

Subscribe with RSS Subscribe to RSS - Theme development