This forum is for assistance with theme development.
Hi all,
after a lot of work I finally ended a new custom theme for one of my sites, please be free to tell me your opininons and critics here.
This is the site: http://poquer-red.com
Thanks in advance, Simon.
Hi ... are you using MarvinClassic theme and you don't like the way comments look ?
I made a little hack so the comments look flat now ... and there is a user avatar near comment.
1. Open marvinclassic.theme and find ** function marvinclassic_comment($comment, $link = "") ** and from this line replace the rest of the code with:
function marvinclassic_comment($comment, $link = "") {
$output = "
\n"; $output .= "
//od avtor komentarja naprej $output .= "
if (theme_get_setting('toggle_comment_user_picture') && $picture = theme('user_picture', $comment)) { $output .= "
\n"; }
//$output .= "
\n";
//vsebina posta $output .= "
In 4.7, the blocks config page claims that you can show blocks based on a PHP condition, but I can't get it to actually work.
The way I think it, this should show the block for nodes (and nodes only):
<?php (arg(0) == 'node') ?>
However no joy, and I can't find any examples in the handbook. What's the correct syntax?
Incidentally, what happened to the old "show only on the following node types" option..?
Hi, how do I create templates for menus other than the default menus? For the primary links I use (in the template.php):
function mySite_primary($items = array()) { return _phptemplate_callback('primary', array('items' => $items)); }
Now I have an additional menu, placed in the right sidebar. How do I assign a template to this one?
thanks orbi
How would I grab $node->uid from a custom block?
I have a number of block needs where the block's content is meta-information about the node, so I of course need the node id.
Is having 3 columns with no header possible? I can't find a template for this. I just want a large, main column for the news and what not. and two smaller columns on the sides. and the width should be 100%
any ideas?