Is there any way to bypass the Themes part of Drupal? I have spent a long time designing 3 templates and CSS for my new site and I just want Drupal to use these, rather than trying to re-create the designs using the Drupal themes. Is this possible?
I had hoped that I'd be able to label various sections and menus of my templates so that I could use Drupal for CMS. Does anyone know if there is a simple way to achieve this?
I'm trying to change the theme on new nodes and leave the existing nodes as they are. The "Theme Developers Guide" gives some really good code examples for changing the templates.
<?php
if ($is_node5***) {
include('new-node.tpl.php');
return;
}
?>
So, if I have 4 existings nodes I want node 5 and higher to use a different theme. Can anyone help on this one ?
I have been attempting (and failing) to make a flat login panel for my site. The closest thing I came to finding documentation on it was http://drupal.org/node/61932, where one of the developers of http://www.projectopus.com/ shares that he uses a DHTML js method for the look of his login section. I do not require anything that fancy, but the style of having the username and password forms alongside a submit button on a single line is what I need.
I have modified my site theme with css, however one place gives me trouble, and that's changing the author info. I am trying to change the color of the "submitted by..." text. right now it is black against a navy blue background.
Where in the css is this defined? or perhaps I need to define it, but I don't know what is controling it's display. Can someone help pls? the site is at http://poserforensicartists.com
Am trying to grok Drupal right now, and I just cannot proceed any further without understanding this. I see a lot of this: $foo->bar , where foo and bar are strings.
I've searched the PHP manual, and it won't return anything for this type of structure, or I'm not good at searching.
I know about the array key=>value pair thing, but I haven't been able to figure this one out.
Can anyone help me by either telling me what it's called so I can search for it in the PHP manual or giving me a link to the page in the manual that explains it??
As you can see the second level of the primary links are taking the same formatting of the first level of the primary links.
How can I make this work ?
This is the code for the primary links in the template.php :
function mytheme_primary($items = array()) {
$url = 'http';
if ($_SERVER['HTTPS']=='on')
$url .= 's';
$url .= '://';
if ($_SERVER['SERVER_PORT']!='80')
$url .= $_SERVER['HTTP_HOST'].':'.$_SERVER['SERVER_PORT'].base_path();
else
$url .= $_SERVER['HTTP_HOST'].base_path();
if ($_SERVER['QUERY_STRING']>' ')
$url .= '?'.$_SERVER['QUERY_STRING'];