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 π
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!
It does a bit, but it's still not working. π
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).
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.
I added the Zenlike skin back.
The default skin I've got is Berry Good by Kali, if that helps as well.
Looks like it's in your skin properly. Does the skin have a variables.php? If so, can you post it here?
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;
?>
Anyone have any idea how to fix this? π
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.)
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. π
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.
