Upgrade from 2.0 - ...
 
Notifications
Clear all

Upgrade from 2.0 - the disappearance of some blocks

14 Posts
4 Users
0 Reactions
4,133 Views
(@guest7609)
Posts: 0
 

i'm italian so sorry if I don't speak well XD
I finally made an upgrade in many years and everything went good but some blocks doesn't appear in the index page °-° I download one style but I first tried with default skin (elegance, Zenlike etc) and the Recent Stories, News and Featured Blocks doesn't appear...why? °°
I went in Admin -> Blocks and I initialized and actived all blocks but they doesn't work.
Oh, I can't initialize Categories block, I can do that but when I click on submit, when I return to Blocks' page I see again "initialize block" next to categories...

I hope you understand... @@


 
Posted : 16/11/2010 9:56 am
(@lyndsie)
Posts: 1263
Member Moderator
 

In order for the blocks to appear, they also have to be present in the skin. I would recommend starting here to familiarize yourself with them: https://efiction.org/wiki/index.php5?title=Blocks


 
Posted : 17/11/2010 10:40 pm
(@guest7609)
Posts: 0
 

I follow the tutorial, in my variables.php there are the lines

$blocks["recent"]["tpl"] = 1;
$blocks["categories"]["tpl"] = 1;

and in the index.tpl there is

<div class="block">
<div class="title">{recent_title}</div>
<div class="content">
{recent_content}
</div>
</div>


<div class="block">
<div class="title">{categories_title}</div>
<div class="content">
{categories_content}
</div>
</div>

but It is the same... I can't initialize the categories block and the recent block doesn't appear...


 
Posted : 18/11/2010 5:30 am
(@tammy)
Posts: 2577
Member Moderator
 

Link to your site.


 
Posted : 18/11/2010 10:09 am
(@guest7609)
Posts: 0
 

http://www.shamandiary.altervista.org/fic/


 
Posted : 19/11/2010 4:47 am
(@tammy)
Posts: 2577
Member Moderator
 

And the name of the skin.  Also if you can put up CSSZen as an option for now, it would be helpful.


 
Posted : 19/11/2010 12:38 pm
(@babaca)
Posts: 722
Member Moderator
 

Oh it's a skin created by Kali. She tends to put information like categories and blocks in her header.tpl and not in the index tpl. What does the header.tpl have in it? (Although it seems to depend on which skin of hers you are using). Because is some it's in the header in others it's in the index.tpl.

or if it is in the index... you might be short a <div> or </div> somewhere.


******************************************
Mucking around in eFiction since circa 2001 (ver. 1.0)
Now running v.3

 
Posted : 19/11/2010 5:27 pm
(@guest7609)
Posts: 0
 

I re-upload CSSZen
here the link with that skin http://www.shamandiary.altervista.org/fic/index.php?skin=CSSZen

it is the same thing  😥

Oh it's a skin created by Kali. She tends to put information like categories and blocks in her header.tpl and not in the index tpl. What does the header.tpl have in it? (Although it seems to depend on which skin of hers you are using). Because is some it's in the header in others it's in the index.tpl.

or if it is in the index... you might be short a <div> or </div> somewhere.

I already post the code, the string is in index.tpl


 
Posted : 22/11/2010 4:36 am
(@tammy)
Posts: 2577
Member Moderator
 

Check the fanfiction_blocks table. Make sure the blocks that are missing are in there.  Also check the files in the blocks folder.  From what I can tell, they're there, but you may want to re-upload them in case one or more are corrupt.


 
Posted : 22/11/2010 10:41 am
(@guest7609)
Posts: 0
 

ok I re-downloaded the last Efiction version and I re-uploaded the News, Recent, categories and Featured blocks but it is the same and the categories block doesn't initialize
then I went in my db, I don't know what I have to do, so I make this screenshot >w< If I have to do some other screen to show you something, please tell me @@


 
Posted : 23/11/2010 4:36 am
(@tammy)
Posts: 2577
Member Moderator
 

Cl8ick "Mostra" on that page.  We need to see what's inside the table.


 
Posted : 23/11/2010 2:24 pm
(@guest7609)
Posts: 0
 

here *w*


 
Posted : 24/11/2010 5:47 am
(@tammy)
Posts: 2577
Member Moderator
 

I can't tell you what the problem is exactly, but I can tell you what it's not.  It's not a problem with the templates.  It's acting as though the block isn't loaded, but I can't see anything that would be causing that behavior.


 
Posted : 24/11/2010 4:16 pm
(@guest7609)
Posts: 0
 

uh çç and so... what I have to do? I doesn't need the news and the featured blocks but I need the recent block for the recent stories  😥


 
Posted : 25/11/2010 6:49 am
Share: