Closed (fixed)
Project:
flatforum
Version:
master
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
1 Jan 2007 at 21:47 UTC
Updated:
17 Sep 2008 at 03:04 UTC
I've got this installed in Drupal 5 as a "flatgarland" theme. The garland theme is left unmodified so the users can choose between them.
I just worked out a way to use jQuery to turn off the indentation.
<script>
<!--
$("div.indented").removeClass('indented');
-->
</script>
You would put this in one of the tpl.php files. In my case I made a node-forum.tpl.php so that forum postings get the flat treatment, while other postings do not. The above code is in node-forum.tpl.php rather than page.tpl.php because if it were in the latter all pages would be flat.
Comments
Comment #1
yngens commentedthis did not work for me.
Comment #2
dfoell commentedFor me neither.
Comment #3
michelleJust tidying up.
Michelle