Notifications
Clear all

Site info block

12 Posts
4 Users
0 Reactions
2,240 Views
(@butterflyfiction)
Posts: 11
Active Member
Topic starter
 

URL to your eFiction: http://butterflyfiction.we.bs/index.php
Version of eFiction: 3.5.3
Have you bridged eFiction, if so with what?: No?
Version of PHP: The latest version
Version of MySQL: also the latest
Have you searched for your problem: Yes
If so, what terms did you try: site info block
State the nature of your problem: See below
Do you have a test account for us? No

I was wondering what I would have to do to get a site info block like the one here.

Thanks for any help πŸ™‚


 
Posted : 20/02/2011 8:49 am
(@michelle)
Posts: 106
Estimable Member
 

Switch it on in your admin menu:) Go to Blocks and then set "info" to active. If you haven't done so already, add the block to your templates. If you have done both and the block still doesn't show up, it's possible that you have a problem in your variables.php.

You can read all about adding blocks in the wiki: https://efiction.org/wiki/index.php5?title=Blocks - the page explains basically everything you need to know/do.

Hope that helps!


 
Posted : 20/02/2011 11:35 am
(@butterflyfiction)
Posts: 11
Active Member
Topic starter
 

It does a bit, but it's still not working. 😐


 
Posted : 21/02/2011 12:08 am
(@michelle)
Posts: 106
Estimable Member
 

Mhm, I can see where it's supposed to be. But you're right, it's empty.

Do you have different skins? If yes, try whether it shows in some and not in others (it doesn't look like you've added the info tags to all skins yet). If it does show in some, it's a good indicator that something is indeed wrong with your variables.php.

If it doesn't show anywhere, you could try fiddling with the blocks in the admin panel. Maybe it will show up when you choose another display option (like chart, text and so on).


 
Posted : 21/02/2011 9:05 am
(@tammy)
Posts: 2577
Member Moderator
 

I suggest you put the CSSZen skin back up while you're testing.  That will give us a chance to work with a known skin where we know how it should look and how it's set up.


 
Posted : 21/02/2011 10:14 am
(@butterflyfiction)
Posts: 11
Active Member
Topic starter
 

I added the Zenlike skin back.

The default skin I've got is Berry Good by Kali, if that helps as well.


 
Posted : 23/02/2011 8:17 pm
(@lyndsie)
Posts: 1263
Member Moderator
 

Looks like it's in your skin properly. Does the skin have a variables.php? If so, can you post it here?


 
Posted : 23/02/2011 8:43 pm
(@butterflyfiction)
Posts: 11
Active Member
Topic starter
 

Here it is. This is the same for the default, the blue berry and the Elegance skins:

<?php
$displayprofile = 1;
$blocks["login"]["status"] = 2;
$blocks["siteinfo"]["status"] = 2;
$blocks["news"]["status"] = 2;
$blocks["random"]["status"] = 2;
$blocks["featured"]["status"] = 2;
$blocks["recent"]["status"] = 2;
$blocks["categories"]["status"] = 2;
$blocks["search"]["status"] = 0;
$blocks['recent']['tpl'] = 1;
$blocks['random']['tpl'] = 1;
$blocks['featured']['tpl'] = 1;
$blocks["info"]["status"] = 2;
?>

 
Posted : 23/02/2011 11:03 pm
(@butterflyfiction)
Posts: 11
Active Member
Topic starter
 

Anyone have any idea how to fix this?  πŸ˜•


 
Posted : 30/05/2011 12:16 am
(@lyndsie)
Posts: 1263
Member Moderator
 

Everything seems to check out. It's initialized, right? That's the only thing I haven't seen mentioned in this thread. I would check the DB just to be sure it's all okay.

I also notice all your block statuses are set to 2, but most of them are only used on the index page. Setting those to 1 will save some site resources. (It's also something to try for info block, just to see, I guess.)


 
Posted : 30/05/2011 2:00 am
(@butterflyfiction)
Posts: 11
Active Member
Topic starter
 

Yeah, it's initialized, and I've done everything on here. It just puzzles and frustrates me that I can not figure out how to get it to work. 😐


 
Posted : 08/07/2011 3:04 pm
(@lyndsie)
Posts: 1263
Member Moderator
 

Just for testing purposes, try deleting the following from the variables.php.


$blocks["info"]["status"] = 2;

You only really need this line if you want it to be different from the general site settings, so as long as it's set to Active or Index Only in Admin > Blocks, then you're good. (variables.php is primarily used to do skin-specific overrides of the site settings.)

Do you have {info_content} in the other skins? I don't think it's in Zenlike by default, so for purposes of the test it should be added.


 
Posted : 09/07/2011 1:49 am
Share: