I am trying to add a separator (probably a gif of some kind) between the review and the authors comments.
http://www.pretendercentre.com/missing/eFiction1.1/reviews.php?item=5052&type=ST using pretender4 skin
version 3.1
i am in the comments.tpl
<!-- START BLOCK : commentbox -->
<div class="comment{oddeven}">
{comment}
<div class="commentsig">- {uname} on {date}</div>
{adminoptions}
</div>
<!-- END BLOCK : commentbox -->
and i have added a div for my gif
<!-- START BLOCK : commentbox -->
<div id="scroll"> </div>
<div class="comment{oddeven}">
{comment}
<div class="commentsig">- {uname} on {date}</div>
{adminoptions}
</div>
<!-- END BLOCK : commentbox -->
but it places it in between the comment and the respond option, i want it in between the review and the authors response if possibe and couldnt figure out which template to play in to do that.
thanks
jacci
why is nothing ever easy?
url: http://www.pretendercentre.com/missingpieces/
php: 5.2.5 msql: 5.0.45-community
efic version: 3.4.3 latest patches: yes
bridges: none mods: challenges, displayword, beta-search
The author's response is written into the review itself. It's a hold over from 1.1. There's no way to do what you're asking.
okay then, thanks, i will stop searching.
why is nothing ever easy?
url: http://www.pretendercentre.com/missingpieces/
php: 5.2.5 msql: 5.0.45-community
efic version: 3.4.3 latest patches: yes
bridges: none mods: challenges, displayword, beta-search
I think the reviews in actually in reviewblock.tpl, isn't it?
You should actually be able to add something like this to your style sheet:
#content i {
background-image: url(whatever.gif);
}
And it should work...As long as no one types in the <i> tag. TinyMCE will convert it to <em>, so it shouldn't be a problem.
Good idea!
Have added the class to my css, what i dont understand is what i am supposed to be doing in the reviewblock.tpl to make it work.
thanks
jacci
why is nothing ever easy?
url: http://www.pretendercentre.com/missingpieces/
php: 5.2.5 msql: 5.0.45-community
efic version: 3.4.3 latest patches: yes
bridges: none mods: challenges, displayword, beta-search
You won't have to add anything. You will, however, have to style it to look like you want.
You might also have to make one for .contentodd i and .contenteven i because that's the way they seem to be appearing on your site...
ETA: You will have to make one for each odd and even. Here is a crude one I did to test:
http://efictiontest.timeturner.net/eFiction30/reviews.php?type=ST&item=797
Add this to your stylesheet and modify accordingly:
.listbox .contentodd i {
display: block;
background: url(images/timeturner30.jpg) top center no-repeat;
padding-top: 30px;
}
.listbox .contenteven i {
display: block;
background: url(images/timeturner30.jpg) top center no-repeat;
padding-top: 30px;
}
Thanks Carissa, that worked like a charm and was EXACTLY what i was after.
just so i know, where did the 'i' come from is that something to do with the script itself or is it some mysterious css thing i have not yet learnt about?
thanks again, you are a genius
why is nothing ever easy?
url: http://www.pretendercentre.com/missingpieces/
php: 5.2.5 msql: 5.0.45-community
efic version: 3.4.3 latest patches: yes
bridges: none mods: challenges, displayword, beta-search
Ignore last post Carissa, i think i figured it out, is it beacuse the author's response is in italics, and so it is dumping the gif above that?
why is nothing ever easy?
url: http://www.pretendercentre.com/missingpieces/
php: 5.2.5 msql: 5.0.45-community
efic version: 3.4.3 latest patches: yes
bridges: none mods: challenges, displayword, beta-search
Yes. That's exactly it.