[SOLVED] Look of re...
 
Notifications
Clear all

[SOLVED] Look of reviews

10 Posts
3 Users
0 Reactions
2,489 Views
(@jacci)
Posts: 503
Honorable Member
Topic starter
 

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">&nbsp;</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

 
Posted : 24/01/2007 5:21 am
(@tammy)
Posts: 2577
Member Moderator
 

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.


 
Posted : 24/01/2007 10:56 am
(@jacci)
Posts: 503
Honorable Member
Topic starter
 

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

 
Posted : 24/01/2007 10:59 am
(@carissa)
Posts: 791
Member Moderator
 

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.


 
Posted : 24/01/2007 1:09 pm
(@tammy)
Posts: 2577
Member Moderator
 

Good idea!


 
Posted : 24/01/2007 1:22 pm
(@jacci)
Posts: 503
Honorable Member
Topic starter
 

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

 
Posted : 25/01/2007 2:24 am
(@carissa)
Posts: 791
Member Moderator
 

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;
}

 
Posted : 25/01/2007 3:33 am
(@jacci)
Posts: 503
Honorable Member
Topic starter
 

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

 
Posted : 25/01/2007 8:20 am
(@jacci)
Posts: 503
Honorable Member
Topic starter
 

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

 
Posted : 25/01/2007 8:38 am
(@tammy)
Posts: 2577
Member Moderator
 

Yes.  That's exactly it. 


 
Posted : 25/01/2007 1:14 pm
Share: