I'm new to Drupal and obviously in over my head. I was experimenting with eliminating the $content region and now I can't see anything. I tried to restore it in my theme but I can't seem to get Drupal to refresh my theme change.
So two questions:
1.) Is there a reason why Drupal isn't picking up my changes (restoring $content) in the theme?
2.) Is there a way to go back to the bluemarine using MySQL? I tried the following but it didn't work:
UPDATE variable SET value='s:10:"bluemarine";' WHERE name = 'theme_default'
I love all the features and power that Drupal gives me, but for my taste, I find that some of the Joomla templates are far more attractive than those available in Drupal. I would like to port some of them to Drupal, but I see some basic problems.
<?php
function phptemplate.function1 () {
$var = 'one'; // at this point var = one
$output = function2();
$var .= $var; // at this point var should be onetwo but I couldn't get it!
$output = $output.$var;
return $output;
}
function phptemplate.function2 () {
$var .= 'two'
$output = 'something';
return $output;
}
How can I do it? I tried declaring $var as global in function1 without success.