|
Post by supermaggel on Feb 8, 2007 15:08:42 GMT -5
guys,
i've been customizing the templates for a while now, but i ran into some problems. i cannot find:
- {{entrymainbody}} - {{authorsmartlink}} - {{commentauthorsmartlink}} -
can anyone help me with this?
THNX!
|
|
|
Post by Carlos Phelps on Feb 8, 2007 15:36:11 GMT -5
You can find those tags in the "Editing Archive-Related Templates" and the "Editing Karma & Comments-Related Templates"
|
|
|
Post by coldstone on Feb 8, 2007 17:03:31 GMT -5
The {{entrymainbody}} is not a template you can edit, rather it is the variable that tells GM where to put the text of your entry. The "Editing Entry Page-Related Templates" page talks about that variable.
|
|
|
Post by supermaggel on Feb 11, 2007 8:12:31 GMT -5
well, i put it wrong, i mean i can find them allright.. but i can't edit what's inside. i need the link color of the poster name changed to a different class from my CSS. but since i can't get INSIDE the - {{entrymainbody}} - {{authorsmartlink}} - {{commentauthorsmartlink}} i can't change them. except if i want to change the MAIN link color, which is not what i want...  am i right? coldstone: afaik the poster name is inside the {{entrymainbody}} <h1>{{entrysubject}}</h1> <p> {{entrymainbody}} <-- poster name is inside that var <br /> geplaatst om {{militaryhour}}:{{minuteminute}}
|
|
|
Post by Carlos Phelps on Feb 11, 2007 12:47:44 GMT -5
Wrap the tag that you want to change the link color in a <div>
<div class="author"> {{authorsmartlink}} </div>
in your style sheet put something like this
div.author a{ background: white; color: blue; }
div.author a:hover { background: white; color: red; }
|
|
|
Post by coldstone on Feb 13, 2007 14:12:15 GMT -5
Carlos is correct, only the text of the entry should be in {{entrymainbody}}. The author's name should be in the various author tags (e.g. {{authorsmartlink}}).
If you look at the default templates, you can see how the author tag is used in: "Index Entry Template: Standard Entries".
|
|