I did see someone had the same problem as me earlier, but the solution given did not fix it. The recent block is turned on and active, and if I click on the link in the menu, it shows the story I cobbled up to test it on a new page. But my block on the index won't show it. I even deleted the variables.php for that skin.
I'm using code from my old 2.xx version of efiction to make a recent block on the index:
<!-- START BLOCK : recentblock -->
<span class="text">{recenttitle} by {recentauthor} ({recentrating})<br> {recentsummary}<br><br></span>
<!-- END BLOCK : recentblock -->
Doesn't work. I tried deleting the "recent" out of the tags. Still nothing. Then I tried lipa's block, just to see if it was my block:
<!-- START BLOCK : recentblock -->
<b>Mais Recentes:</b>
<div class="recentbox">
<div class="title">{title} por {author}</div>
<div class="content"><span class="label">Resumo: </span>{featuredstory}{summary}<br />
<span class="label">Classificaรงรฃo:</span> {rating} {score}<br />
<span class="label">Categorias:</span> {category} <br />
{classifications}
<span class="label">Capรญtulos:</span> {numchapters} <br />
<span class="label">Sรฉrie:</span> {serieslinks}<br />
<span class="label"> Publicado: </span>{published} <span class="label">Actualizado:</span> {updated} </div>
</div>
<!--- END BLOCK : recentblock --->
That didn't work either.
My webpage is http://www.meijinhada.org/fallendown/index.php, where you can see the text for the block, but no story shown.
Are you using the 2.0 version of Zenlike? Use the 3.x version in the current efiction.
Because when you look in the variables.php in zenlike it states:
/* RECENT STORIES BLOCK
By default, the recent stories block is off.*/
$blocks["recent"]["status"] = '0';
So the solution would be to change the status from '0' to '1' and it would all work properly especially if you have recent turned on in Admin->Blocks.
******************************************
Mucking around in eFiction since circa 2001 (ver. 1.0)
Now running v.3
But I deleted the variables.php after I tried changing it. Huh. Ok. I'll try that.
Ok, I re-grabbed it out of the 3.5.1 folder, changed the 0 to 1, and it still doesn't work. And yes, the 3.x version still looked like the one you copied before I changed it. Also, I did activate it in admin.
Ok, I fixed it. I grabbed a code out of a skin that worked, pasted it in, and it fixed it. Apparently the block I had been using wasn't good.
GROAN. Ok. I'm using the Zenlike skin, and I want a recent block on the front page, so I can modify where each tag is. I.E., a block like this:
<!-- START BLOCK : recentblock -->
<div class="recentbox{oddeven}">
<div class="title">{title} by {author} {roundrobin} [{reviews} - {numreviews}]</div>
<div class="content"><span class="label">Summary: </span>{featuredstory}{summary}<br />
<span class="label">Rated:</span> {rating} {score}<br />
<span class="label">Categories:</span> {category} <br />
<span class="label">Characters: </span> {characters}<br />
{classifications}
<span class="label">Series:</span> {serieslinks}<br />
<span class="label">Chapters: </span> {numchapters} {toc}<br />
<span class="label">Completed:</span> {completed}
<span class="label">Word count:</span> {wordcount} <span class="label">Read Count:</span> {count}
<span class="label"> Published: </span>{published} <span class="label">Updated:</span> {updated} </div>
</div>
<!-- END BLOCK : recentblock -->
However, if I try, nothing shows up except the title. Literally nothing else. But if I use
<div class="block">
<div class="m3">{recent_title}</div>
<div class="m4">{recent_content}</div>
</div>
The recent story shows up, but I can't modify how it looks, which is what I would prefer to do. I want the look of the box as it looks around my categories box, but it won't work with a block, only with tags. Am I doing something wrong? I know I'm clueless on how <div> tags work, but good grief.
I don't know that I've ever seen that much information on the index page for recent, it's usually when you click on the Most Recent Page which would be:
http://www.meijinhada.org/fallendown/browse.php?type=recent
That you usually see all the stuff you included. But you have your Most recent set for 7 days, change it to longer and see if it does the layout you are looking for. (Admin->Settings->Display Settings)
Also in blocks for Recent you can go into Options and instead of using default change it to use .tpl (but I've never played with that so someone who might have may have more for you, but it seems like a good place to go and see if it will change for you).
barb
******************************************
Mucking around in eFiction since circa 2001 (ver. 1.0)
Now running v.3
I wrote a bunch of the wiki on skinning, but I'm not even sure how changing the blocks works. I know that if you want it to appear like you're asking, you have to change it to "Use .tpl" like babaca suggested. Here's something to think about though. If you now have or in the future will have more than one skin, you may not want to do this is the admin Blocks area, and instead do it in the skin's variables.php. This may be because in the future you could want a skin that does this a different way.
Now, where my knowledge ceases is what exactly to do with the recentblock stuff. In order for the script to pull it from a .tpl, it has to be in a .tpl. Looks like you've got recentblock ready to go, as you've copied it into a post a couple up. However I don't know if it's typical to create a new block (ie. recent.tpl) or to put that text into another .tpl. Regardless, I believe you'll still need to have {recent_title} and {recent_content} in index.tpl.
I finally did get it to work close enough to what I wanted, though it took a bit of hunting through the other skins, and some playing around with the recent.php. Oy. And, actually, a different post that asked to show the date of update helped a lot, which I happened upon by accident.
And actually, so I don't have to open a new thread, do either of you know how to change the menu names? I'm using efiction for a personal archive (as in, just me), and I'd like to change "Help" to "About" and "Contact Us" to "Contact Me." I've managed to change what I can in en.php and custom pages, but my menu is just a {menu_content} tag, so I can't get the menu names to change.
And actually, so I don't have to open a new thread, do either of you know how to change the menu names? I'm using efiction for a personal archive (as in, just me), and I'd like to change "Help" to "About" and "Contact Us" to "Contact Me." I've managed to change what I can in en.php and custom pages, but my menu is just a {menu_content} tag, so I can't get the menu names to change.
YAY! An easy one! Go to Admin->Page Links look for say Contact Us and click the Edit link
Where it says TEXT OF LINK: Change Contact Us to Contact Me and click submit.
It happens instanteously.
******************************************
Mucking around in eFiction since circa 2001 (ver. 1.0)
Now running v.3
๐ฎ How did I miss that!? I love you. That was driving me NUTS.
Glad I could help with the simple one. Hopefully your webhost will help with the bigger problems.
******************************************
Mucking around in eFiction since circa 2001 (ver. 1.0)
Now running v.3
