Hi,

thx for this theme. I try it and i found two errors:

1. the theme always shows node links twice: inline links AND links
That means i saw all links twice. I solve the problem with css:
.node ul.links.inline {
display: none;
}

2. the main problem exists with organic groups
If i add a node to a organic group the list of links change from the normal behavoir (grey box, nice) to a unsorted HTML list.
If i switched backed the node to public (without any group) it looks like ok.

I tried everything with other (standard) themes and i worked.

Please help.
thx
Gerald aka paulap

Comments

paulap’s picture

Title: Node Links confused if node is registered to a organic group » Node Links confused if node is registered to a organic group - Screen - Attachment - More Info
StatusFileSize
new521.28 KB

Here is a screenshot.

This is a view containing 3 node of the same content-type.

The first node looks different to the other nodes. Thats the problem....

wr
Gerald aka paulap

paulap’s picture

Title: Node Links confused if node is registered to a organic group - Screen - Attachment - More Info » Node Links confused if node is registered to a organic group - Alter inc file - better but not...

Hi,

i changed the preprocess-node.inc file:
 // Remove classes on links, the wrapper classes are enough.
// XXXXX $vars['links'] = !empty($node->links) ? theme('links', $node->links, NULL) : '';
$vars['terms'] = theme('links', $vars['taxonomy'], NULL);

Not it looks better but the problems exists. The node with the organic group relation looks different and has another CSS/HTML relation.

paulap’s picture

Title: Node Links confused if node is registered to a organic group - Alter inc file - better but not... » SOLVED!!!

I solved the problem...

I changed the file node-og-group-post.tpl.php within the themes directory of the og module.

I copied the code of the node.tpl.php of the override directory of the sky theme and append the og specific parts (only one, the links).

Now it works!

BUT!!!!
Is there any other possibility to solve the problem without changing code?

Should we talk to the og peoples too?

wr
Gerald aka paulap

BetaTheta’s picture

I was wondering if there was any update on this? I'm having the same issue.

jacine’s picture

All of your template files, whether they are overrides or not belong INSIDE the templates folder.

jacine’s picture

Title: SOLVED!!! » Template overrides need to be placed in templates/ directory.
Category: bug » support
Priority: Critical » Minor
Status: Active » Fixed

Changing title so anyone else who comes across this can see.

jacine’s picture

Priority: Minor » Normal

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.