This forum is for assistance with theme development.

simple CSS-based themes?

I'm in the process of moving my site from Joomla to Drupal and while Drupal has been a dream on the content end, I keep getting frustrated on the design end of things. With Joomla, I was able to designate all the placement of elements, widths, etc... via CSS and create a VERY simple and very lean php file for the actual index page:

defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );

echo _LANGUAGE;
">

echo _ISO; " />
mosShowHead();

Only local images are allowed.
mosLoadModules('top');
mosMainBody();
mosLoadModules('right');

Product, price and cart link in video play

I'm using the latest ecommerce and video modules in 4.7 to make an online shop for videos.

I can't seem to work out how to get the product information (price and "Add to Cart" link) to appear on any video node's play tab. Ideally I would like to do away with the play tab altogether and have the node view show the video instead of the teaser thumbnail.

Has anyone done this already or has any tips?

Thanks

How do I force <?php print $content; ?> to not show title link?

Hi, I'm trying to get a drupal site using a php page to stop showing the giant title (a h2 tag with a class of "title") link at the beginning of content. I've read through some suggestions in CSS but none have worked. I even tried some php code but still, content shows the title at the top of the page in a nice big font. It wouldn't be as bad if I could tweak it so that the title was smaller, but since it's not listening to the CSS or PHP code I've used, it's simply frustrating. Any ideas on how to fix this? Thanks.

Here is what the code looks like in my page:

Including other nodes on node-tpl.php

I'm making two sites at the moment, and with each I struggle with the same problem. I have been through theme developers quide and php snippets, but haven't find an answer yet. Here's the problem:

I need to make a page where I serve flexinode-1 to provide the body of the page (the basic information). Then I need 3 other flexinodes (flexinode-2, flexinode-3 and flexinode-4) of different types to display additional information. The additional flexinodes should be selected by user id of the flexinode-1. I also have the "slots" in the flexinode-1.tpl.php for the other flexinodes to display. So far I have achieved showing flexinode-1 and flexinode-2 at the end of the code of flexinode-1.tpl.php. If I place flexinode-2 on the middle or at the beginning of the template, it looses all the original info for the flexinode-1 after the flexinode-2 has been read.

The problem seems to be in the way I try to achieve this. The template uses php-snippet to get the info from another flexinode (display (x) full flexinodes), and I have tried to use $output=""; after and before the snippet.

Is there a way to do this nicely? Say by making a template that holds the relevant data and just instructs the "slots" to display one flexinode of each type where uid=uid of currently shown flexinode?

The flexinodes are not ment to be shown in any other context.

Any help and pointers would be greatly, warmly and wholeheartedly appreciated.

Placing the contents of a block in any location

Drupal Newbie question:
I'm experimenting with Drupal on a new site (http://www.game-boyz.com/drupal-4.7.2/ ) trying to show off a segment from menu (the Platforms). I have that built as a menu item that I've added to the left side bar block). I would rather add this menu item elsewhere on the page.

I tried this code:

Assigning content to regions

Hello, trying to divide the front page up into sections with subheadings that get content put under them according to their category. Added regions to my PHPtemplate, but can't figure out how to put content (not blocks) into them.

Pages

Subscribe with RSS Subscribe to RSS - Theme development