Porting A Joomla Template To Drupal - a simple approach.

Create a folder called 'mytheme' in the themes folder of your Drupal local installation. Open the Joomla! template folder, you have index.php, template.css/php inside the folder 'css', 'image' folder and an xml file named template details. Copy the image folder, index.php and template.css to 'mytheme'.

Rename index.php to page.tpl.php and template.css to style.css.

Open the page.tpl.php in your favorite editor. Replace the following:

  1. HTML head

    Joomla!

    <?php
    defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );
    $iso = split( '=', _ISO ); echo '<?xml version="1.0" encoding="'. $iso[1] .'"?' .'>';
    ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">//
    <head>
    <?php if ( $my->id ) { initEditor(); } ?>
    <?php mosShowHead();?>
    <link rel="shortcut icon" href="favicon.ico" />
    <link href="<?php echo $mosConfig_live_site;?>/templates/bt_musemix/css/template_css.css" rel="stylesheet" type="text/css" />
    
    </head>
    

    Drupal

    // $Id:$
    

    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

Drupal 6.0 beta 4 released

Update: Drupal 6.0 Release Candidate 1 is available now!

Following on the third beta release two weeks ago, we are ready to present Drupal 6.0 beta 4. Since the previous beta release, we have committed over 80 fixes to the Drupal 6.x code. This beta version includes some usability improvements and lots of bug fixes for issues which the testers and contributed module upgraders encountered. The first beta announcement provided a comprehensive list of high level improvements made since Drupal 5.x, so in this announcement we'll concentrate on how you can help ensure that Drupal 6 is released as soon as possible and is as rock solid as the previous Drupal releases that you've grown to love!

Changes made since the release of Drupal 6.0 beta 3 include several multilingual support fixes, caching improvements, more clear help texts, drag and drop support for book outlines, user profile administration, taxonomy pages and file uploads, and fixes to node teaser generation. With the right to left version of the pushbutton theme, we also completed RTL support for all core themes. We have also hardened the security of the system, closing potential cross site scripting (XSS) and cross site request forgery (CSRF) security holes. This beta release also includes the security updates released in Drupal 5.4 and 4.7.9.

Disable RSS Feed?

Can we finally put to rest the problem of the forced RSS feed? Will Drupal 6 include the ability to enable/disable RSS syndication?

After all the complaints going back to version 4, I still can't believe it's part of the core without the option to disable. I run a closed, members-only website, and I'd really rather the content not be broadcast over RSS.

You don't have permission to access / on this server.

When I try to access my test site (local PC), I get "You don't have permission to access / on this server." if I change the Apache vhosts.conf to any directory other than "drupal". In this case trying to run Drupal6-beta3. BTW, I have also tried changing my current 5.3 directory to "drupal-5.3" and that fails the same way.

I then tried changing the "drupal-6" directory to just "drupal" and the site came up (well sort of, but that's a different issue).

So it's pretty clear I'm messing up something in Apache, but I am totally lost here.

Unknown column 'info' in 'field list' query

Trying to start up D6-beta3 (upgrade from D5.3), I get "Unknown column 'info' in 'field list' query" on every table in the database.

How can users get paid for posting?

Hi.
Is there any way that the posters could get some revenue from the site for posting? For example, using GoogleAds is there a way that users just enter their GoogleAds ID and if someone clicks on the ad in a user created article, the money goes to the poster?
Or 50/50 split between the poster and admin?
Is there a module for all this?

Pages

Subscribe with RSS Subscribe to RSS - Drupal 6.x