This forum is for assistance with theme development.

Anyone Gotten CVL to Work with the Drupal CVS to Add Contributions... (themes or modules)

CVS on Mac OS X -> CVL: point and click CVS
http://drupal.org/node/20202

Specifically I am on this page:
http://drupal.org/node/2972

Now I'm no dummie using the CLI and making my way around my Mac's backend features. But this is really confusing me. Has anyone gotten CVL wot work with the Drupal CVS? For instance, I've set up a few environment variables, see below.

lincolns revenge, Content Entry very messed up on page...

I am using a theme I am writing from lincolns revenge as a base. This happens in a freash lincolns revenge as well. (You can see the theme in dev http://www.bushsamerica.com)

Anyway, the title and the main bulk of the content entry screen is BELOW the left column...

The Authoring info Options and Comments are where they should be, but the title and the rest are WAY at the bottom starting where the last left block ends.

how can i detect "comment/reply/*" on the node.tpl.php?

im trying to customize the node display for the /comment/reply/nid pages in my theme. is there a way to detect if the user is on comments/reply pages? and display one piece of content if it is and another if any other page?
:)
thanks!

Identifying modules and nodes from the body tag, my proposed solution

I am using smarty but this isn't a smarty only solution.

I've been looking for a couple weeks now for a way to give the body an id based on the module or node I was pulling up. This solution is pretty simple and I may be reinventing the wheel here. Please let me know if there's a better way to do this.

function get_body_id(){
	$q = $_GET['q'];//In my code I actually check post and query string with a function I made, but this will work also

	$body_id = str_replace('/','-', $q);

	return $body_id;
} 

In the body tag I just call the function like so: <body id="{php}echo get_body_id();{/php}" {if $node}class="node"{/if}>. Now for you non smarty users you'd use: <?php= get_body_id(); ?>. Notice that I also put a conditional statement that will identify the page as displaying a node, which helps me identify node pages from everything else.

This solution will just print out the module id for the body id or "node-1" (for example) if the page is a node. It works pretty well for most of the things I am doing but I don't know how well it would work for complicated page calls.

The beauty of id tags is that I can just ignore the tags for arbitrary pages.

Is there something out there better than this? Does drupal have something built-in? I've been looking around for a while but I haven't found anything. If there isn't they need to include that in a future release because body id's, classes are the only way to get ultimate flexibility in theming (I know bc my designer has been yelling at me ab this for days).

how to theme the comment form

Im looking to isolate and theme the contents of the comment/reply form.
Is there a function that allows this in phptemplate?? i searched the drupal site and was not able to find any documentation on how to theme this seemingly simple bit of content. anybody done this?

Looking for a good looking theme with a black background or a way to modify an existing one

I have www.revolutionmusic.net/drupal and I am trying to make it look more visually pleasing for the visitors.

Previously, I was using PHPNUke and you can see the theme (fiblack) that I had modified for it here http://www.revolutionmusic.net

I would like to make my drupal theme look more like my PHPnuke theme with the orange borders around the posts, etc.

Any help would be appreciated, I am a guitar player not a coder ;)

Pages

Subscribe with RSS Subscribe to RSS - Theme development