[SOLVED] Categories...
 
Notifications
Clear all

[SOLVED] Categories not showing on index Part 2

12 Posts
4 Users
0 Reactions
4,116 Views
(@kaleidopy)
Posts: 22
Eminent Member
Topic starter
 

URL to your eFiction: www.fanfictionwriters.com/TesterArchive

Version of eFiction:  3.02  Upgraded from 2.07.

Have you bridged eFiction, if so with what?:  No

Version of PHP:  2.5.6

Version of MySQL:  4.0.23

Have you searched for your problem: (yes/no)  Yes.

If so, what terms did you try: Categories not showing on index page.  Missing categories.  Categories disappeared.  TPL reverts to default.  Categories TPL.

State the nature of your problem: Categories will not show on the main index page.

Two other people have posted the same problem I am having, but neither solution involved my problem.  For some reason, I cannot set the categories block as default.  Instead, it keeps reverting back to tpl, no matter how many times I try to reset it.  The categories block is set to Active.  When I first installed and upgraded from 2.07, everything was perfect.  Apparently, I did something I shouldn't have.

If this helps, when I turn on Debug, I get these following error message:

Notice: Undefined index: categoryblock in /www/TesterArchive/includes/class.TemplatePower.inc.php on line 702


 
Posted : 14/01/2007 4:13 pm
(@tammy)
Posts: 2577
Member Moderator
 

This is a skinning problem, not a general problem so I'm moving it to the correct forum.  We need to know what skin you're having a problem with.


 
Posted : 14/01/2007 4:20 pm
(@kaleidopy)
Posts: 22
Eminent Member
Topic starter
 

My default skin is CSS Zin, but the Elegance skin was the one I orginally tampered with.  I wanted to move the Main Categories block underneath the Site Info block and custom the right column with other blocks.   

After several attempts to play around with the skin, I realized the Main Categories block no longer showed on the index page including the other skins such as CSS Zin and Zenlike.

I installed a fresh copy of all three skins but that didn't solve the problem.


 
Posted : 14/01/2007 5:47 pm
Jan_AQ
(@jan_aq)
Posts: 1300
Noble Member
 

Okay well I checked my CSSZen and my categories are showing up alright...

Maybe something is wrong with your site settings. I'll give you my settings so you can try them and see if they work.

Using phpmyadmin, my fanfiction_blocks this is the info I have in the categories row:

block_id 
1

block_name
categories

block_title
Main Categories

block_file
categories/categories.php

block_status
2

block_variables
a:2:{s:7:"columns";i:3;s:8:"template";s:16:"{link} [{count}]";}

My CSSZen variables.php file includes this:

$blocks["categories"]["status"] = 2;
$blocks["categories"]["template"] = "{image} {link} [{count}] <div>{description}</div>";
$blocks["categories"]["columns"] = 0;

And when I go here

.../admin.php?action=categories

I have categories listed there.


Whoever said nothing is impossible never tried slamming a revolving door.

url: https://www.potionsandsnitches.org/fanfiction
php: 7.4.33 msql: 5.6.51-community GPL
efic version: 3.5.5 latest patches: yes
bridges: none mods: challenges, tracker, story end, beta, word

 
Posted : 14/01/2007 6:00 pm
(@tammy)
Posts: 2577
Member Moderator
 

Turn "Use .tpl" to "Default" in Admin->Blocks in the options for the Categories block.


 
Posted : 14/01/2007 6:32 pm
(@kaleidopy)
Posts: 22
Eminent Member
Topic starter
 

Okay well I checked my CSSZen and my categories are showing up alright...

Maybe something is wrong with your site settings. I'll give you my settings so you can try them and see if they work.

Using phpmyadmin, my fanfiction_blocks this is the info I have in the categories row:

block_id 
1

block_name
categories

block_title
Main Categories

block_file
categories/categories.php

block_status
2

block_variables
a:2:{s:7:"columns";i:3;s:8:"template";s:16:"{link} [{count}]";}

Hi Jan, everything is set as yours with the exception of block_variables.  mine is set like this:
block_variables
a:3:{s:7:"columns";s:1:"1";s:8:"template";s:49:"{i...

After I used your settings, the catagories came back.  Thanks again for yours and Tammy's help.


 
Posted : 14/01/2007 6:45 pm
(@fallenangel)
Posts: 13
Active Member
 

I have a similiar problem, however I have not editted the skins at all.

I have added two custom links, using the Page LInks in the Admin Panel.  I then used the Blocks > Menu > Options to 'check' and add these links to the Main Menu. 

On Zenlike and CSSZen  the links just do not appear.  No other problems as far as I can see.  On Elegance I can see and click on the link (it works) but I get the following error messages:

Notice: Undefined index: recentblock in /home/afallena/public_html/gwyaoi/fics/includes/class.TemplatePower.inc.php on line 709

Notice: Undefined index: recentblock in /home/afallena/public_html/gwyaoi/fics/includes/class.TemplatePower.inc.php on line 709

Notice: Undefined index: in /home/afallena/public_html/gwyaoi/fics/includes/class.TemplatePower.inc.php on line 709

Notice: Undefined index: recentblock in /home/afallena/public_html/gwyaoi/fics/includes/class.TemplatePower.inc.php on line 714

Notice: Undefined index: recentblock in /home/afallena/public_html/gwyaoi/fics/includes/class.TemplatePower.inc.php on line 721

Any thoughts on what I might have done?

www.gwyaoi.org/fics/


 
Posted : 21/01/2007 10:40 am
Jan_AQ
(@jan_aq)
Posts: 1300
Noble Member
 

Some skins name what links to include on the menu by the variables.php file. So if is says to include only Home, Authors, Browse and Search, if you add another thing to the menu variable, it won't show up on the skin unless you add it.

Look at the variables.php file of CSSZen:

$blocks["menu"]["status"] = '1';
$blocks["menu"]["content"] = array (
0 => 'adminarea',
1 => 'logout',
2 => 'login',
3 => 'search',
4 => 'tens',
5 => 'browse',
6 => 'members',
7 => 'home');
$blocks["menu"]["style"] = 0;

Whoever said nothing is impossible never tried slamming a revolving door.

url: https://www.potionsandsnitches.org/fanfiction
php: 7.4.33 msql: 5.6.51-community GPL
efic version: 3.5.5 latest patches: yes
bridges: none mods: challenges, tracker, story end, beta, word

 
Posted : 21/01/2007 11:21 am
(@fallenangel)
Posts: 13
Active Member
 

Looking at the skins, it appears that the Elegance skin does not use/have a variables.php.  Is this why I am getting the error messages on that skin?

I think I may have found an answer to my next question, just looking for clarification ...

I read thru this:

http://efiction.hugosnebula.com/readarticle.php?article_id=5

And I seem to understand that I can remove the information for the Menu Variable and it would just list in the order on my Menu Options block ... and without me needing to add the information to the variables.php (since none of that information would be there anymore) .... Is this correct?  Or am I confused?

Thanks for the help!


 
Posted : 21/01/2007 1:53 pm
(@tammy)
Posts: 2577
Member Moderator
 

fallenangel, do not reply with a different problem to an existing thread. 

This thread was about the categories block and you're asking about the menu..

This article expalins how to configure the menu block.

http://efiction.hugosnebula.com/readarticle.php?article_id=5


 
Posted : 21/01/2007 2:00 pm
(@tammy)
Posts: 2577
Member Moderator
 

The notice warnings are being displayed because:

1.  You have the recentblock turned on and set to use .tpl but you haven't included it in the skin.

2.  You have debug on so it's displaying all the notice warnings.

For the rest, what Jan said.  CSSZen defines what links it wants in the menu through variables.php. 


 
Posted : 21/01/2007 2:05 pm
(@fallenangel)
Posts: 13
Active Member
 

Sorry, at first I thought it was the same problem as the original poster.  But I seem to have it figured out now.  Sorry about the trouble.


 
Posted : 21/01/2007 2:09 pm
Share: