'Most Recent' to re...
 
Notifications
Clear all

'Most Recent' to replace main 'news' block?

4 Posts
4 Users
0 Reactions
2,032 Views
(@slacker)
Posts: 30
Eminent Member
Topic starter
 

Heya guys.

Using eFiction latest, and elegance skin, and I'm wondering:

How can I get it so that new stories can each get a 'block' of their own just like News does? At present, it displays in one big block...

Hrm, should this thread be in the Skinning? Sorry if misplaced!


I'm a crazy cat!

 
Posted : 10/03/2007 11:38 am
Jan_AQ
(@jan_aq)
Posts: 1300
Noble Member
 

Yes this should be in skinning.

I think that each individual story in the most recent has their own css div, I think it's recentblock? I don't know as I've never really used it. Try it and let us find out.

I defined my own new one for my skins by defining the block on the index page.

index.tpl
<!-- START BLOCK : recentblock -->
<div class="recentbox"><b>{title}</b> by {author} ({rating})<br> {summary}</div>
<!-- END BLOCK : recentblock -->

style.css

div.recentbox /* recent block on index*/
{
font-size:smaller;
padding-top: 4px ;
    padding-bottom: 4px ;
}

Whoever said nothing is impossible never tried slamming a revolving door.

url: https://www.potionsandsnitches.org/fanfiction
php: 7.4.33 msql: 5.6.51-community GPL
efic version: 3.5.5 latest patches: yes
bridges: none mods: challenges, tracker, story end, beta, word

 
Posted : 10/03/2007 2:15 pm
(@carissa)
Posts: 791
Member Moderator
 

You would have to set the recent block to use tpls instead of the default in your admin> block panel. Then just make sure you have all the styling information in between the block.


 
Posted : 10/03/2007 2:58 pm
(@tammy)
Posts: 2577
Member Moderator
 

Bump.  Is this resolved?  The topic will be closed if there's no response in the next week.


 
Posted : 17/05/2007 5:03 pm
Share: