most recent block
 
Notifications
Clear all

most recent block

7 Posts
3 Users
0 Reactions
2,851 Views
 Kate
(@kate)
Posts: 133
Estimable Member
Topic starter
 

Hi
sorry for such a silly ? and I have searched the message boards for answers.
Im using 3.5.3 and zenlike. I want to put the most recent block on the index.php.
Ive checked and I think its the code.
Do I need to put in {recent_titles} or is it mostrecent_titles
sorry for being slow I dont know php, Im still learning it. Ive changed the settings in blocks, options but am still running up blank.
thank you
Kate Durnford


 
Posted : 17/09/2012 1:33 pm
(@ficwriters)
Posts: 3
New Member
 

That is not an easy skin to alter I tried to do the same thing and it just wound up altering the layout of the whole front page and it offset everything. I just got tired of trying to fix it to come out right and deleted the skin. I would search for other skins that already have that feature on the front page if thats where you really want it. Other than that just put a link at the top of the bar for the members but on that skin I ran into the issue of any added links not showing up like they should have. But I had no problem altering links or adding them with some of the other skins I found online for efiction. I hope someone else will have an easier solution for you about this.


 
Posted : 17/09/2012 10:30 pm
(@jacci)
Posts: 503
Honorable Member
 

Agreed with what ficwriter said re the zenlike, it is a most troublesome skin to mess around with  but here is what you need to do
Go to the skins folder and in the zenlike file you need to make edits to 2 files

in index.tpl
add this code

<div class="m3">{recent_title}</div><div class="m4">{recent_content}<br /><br /></div>
<br /><br />

If you want it under the login and info and above the shout, do it like this

	<div class="m3">{info_title}</div><div class="m4">{login_content}<br /><br />{info_content}</div>

<br /><br />

<div class="m3">{recent_title}</div><div class="m4">{recent_content}<br /><br /></div>
<br /><br />

<div class="m3">{shoutbox_title}</div><div class="m4">{shoutbox_content}<br /><br /></div><br /><br />

then in the variables.php  find this

/* RECENT STORIES BLOCK
By default, the recent stories block is off.*/
$blocks["recent"]["status"] = '0';.

and change the 0 to 1

hope that helps


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 : 18/09/2012 12:32 am
 Kate
(@kate)
Posts: 133
Estimable Member
Topic starter
 

Hi

thank you for the time replying and support xx the code has worked. πŸ™‚ I actually took a look at csszen as another post mentioned some code is from that skin in other skins. Ive got it now just to put in blocks in the menu πŸ™‚ thank you for a great script. regards, Kate πŸ™‚ very happy


 
Posted : 18/09/2012 6:32 am
 Kate
(@kate)
Posts: 133
Estimable Member
Topic starter
 

Hello again

Ive seen on some sites a scrolling featured block, how do we get the block to scroll please? I rather like it and could it be made into a feature in a future release of efiction

thank you, Kate πŸ™‚


 
Posted : 18/09/2012 6:36 am
 Kate
(@kate)
Posts: 133
Estimable Member
Topic starter
 

Hi again

regarding the code for the recent block, many thanks. Its worked xx

regarding the scrolling block, I have acheived with a normal <marquee> tag and also used style="" inside the marquee tag. Its worked. So I am very happy. Thank you for your help πŸ™‚

regards Kate Durnford


 
Posted : 23/09/2012 8:01 am
 Kate
(@kate)
Posts: 133
Estimable Member
Topic starter
 

Thank you for the kind comments πŸ™‚ Im feeling really chuffed and pleased, because finally .... Ive actually managed to port over efiction 1.1 theme for 3.5.3. Nearly fell off my seat. Its taken me a long time to learn the basics php .... Ive already posted my site in the section to show off. Ive used the base from eFiction originally made by Sally, I think her site has moved. The theme is not so good but hopefully at some time I will get a good theme :). yay! http://www.mysteryfics.com is my website, I write thrillers. I cant see a site online for thrillers so I think mine is the first dedicated to that genre. Anyway. Im happy. Thanks for your help and support.
Ive been coming here since 2004 xx
regards kate


 
Posted : 29/09/2012 2:39 pm
Share: