Frequently asked questions
Find answers to the most frequently asked questions about Drupal 6: Creating and Editing Custom Themes.
Here are the FAQs that matched your search "":
Q: I'm editing the code in the file page.tpl.php as shown in the movie "Building a sub-theme: Adding custom theme regions":
<?php if ($content_top) ?>
<div id="content-top" class="clear-block">
<?php print $content_top ?>
<?php endif; ?>
But the browser shows the following error message:
Parse error: syntax error, unexpected T_ENDIF in /home/u/u5522419/www/drupal/sites/all/themes/subgarland/page.tpl.php on line 80.
- A: The code is incorrect. (The syntax error, by the way, displayed indicates which line of code contains the error.) The line containing the IF statement is missing the colon character ( : ). It should read:
<?php if ($content_top): ?>
Q: I have a button in Flash, but Internet Explorer is blocking it from opening up. At the top of the window, a message appears saying "Pop-up blocked. To see this pop-up or additional options click here..."
What can I do to this button so that it opens a new browser window and keep IE from thinking it's an unauthorized pop-up?
- A: To get around the pop-up blocker, try using the "_self" parameter in Flash. So instead of:
Can’t find an answer?
If you still have a question about Drupal 6: Creating and Editing Custom Themes, let us know.
ask a question
Sorry, there are no matches for your search ""—to search again, type in another word or phrase and click submit.