Catergories
 
Notifications
Clear all

Catergories

15 Posts
5 Users
0 Reactions
2,341 Views
(@guest2324)
Posts: 0
 

I've got a problem I've been trying to figure out: on my board's front page underneath the Catergories header where they should be showing, they're not. Can anyone tell me how to correct this problem?


 
Posted : 21/06/2008 3:26 am
(@jacci)
Posts: 503
Honorable Member
 

Link to the site? Are you using a custom skin? The most likely reason woudl be either no categories entered or the skin isn't set up to display them. In index.tpl you will need
{categories_content}
somehwere in order for the categories to be displayed.


why is nothing ever easy?
url: http://www.pretendercentre.com/missingpieces/     
php: 5.2.5  msql: 5.0.45-community
efic version: 3.4.3           latest patches: yes
bridges: none              mods: challenges, displayword, beta-search

 
Posted : 21/06/2008 8:27 am
(@guest2324)
Posts: 0
 

Link to the site? Are you using a custom skin? The most likely reason woudl be either no categories entered or the skin isn't set up to display them. In index.tpl you will need
{categories_content}
somehwere in order for the categories to be displayed.

No it's not a custom skin I'm using but CSSZen that came with the board. I entered the catergories once and the came up but since they won't show on the page itself.

Btw, where does {categories_content} go in the index.tpl? I can probably correct it if I know where it goes.

Oh and here's a screen cap of my archive:

Thanks!


 
Posted : 21/06/2008 12:54 pm
(@babaca)
Posts: 722
Member Moderator
 

Go to Admin -> Blocks
Where you see Categories make sure you don't have the selection "Inactive" set. Change it via the dropdown list to Index only or Active.

barb


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

 
Posted : 21/06/2008 3:11 pm
(@guest2324)
Posts: 0
 

Go to Admin -> Blocks
Where you see Categories make sure you don't have the selection "Inactive" set. Change it via the dropdown list to Index only or Active.

barb

Okay I did as you instructed and the catergories still aren't showing.


 
Posted : 21/06/2008 3:21 pm
(@babaca)
Posts: 722
Member Moderator
 

Okay... now don't take offense, but you have created some categories, yes?

Under Admin->Settings->Display Settings
where it says Number of Columns: (do you have a number in this? This gives the number of columns for categories and authors when you click on authors/members) try putting a number like 1 or 2 in it.
Click submit.

or
Back to
Admin->Blocks-> Categories (click the Option link next to Categories)
Do you see a list of your categories in it?
At the bottom is the pulldown say Default? If so change it to Use .tpl (and submit and see if that changes anything).

If none of this works, you may have to reupload just the admin and block folders (because something might be missing in thoses folders when you uploaded initially.

barb


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

 
Posted : 21/06/2008 4:04 pm
(@guest2324)
Posts: 0
 

Okay... now don't take offense, but you have created some categories, yes?

Under Admin->Settings->Display Settings
where it says Number of Columns: (do you have a number in this? This gives the number of columns for categories and authors when you click on authors/members) try putting a number like 1 or 2 in it.
Click submit.

I tried this and it didn't help.

or

Back to
Admin->Blocks-> Categories (click the Option link next to Categories)
Do you see a list of your categories in it?
At the bottom is the pulldown say Default? If so change it to Use .tpl (and submit and see if that changes anything).

If none of this works, you may have to reupload just the admin and block folders (because something might be missing in thoses folders when you uploaded initially.

barb

I also try this and it didn't help.


 
Posted : 21/06/2008 8:14 pm
(@jacci)
Posts: 503
Honorable Member
 

Try opening up the skin index.tpl file. Have a look to see if the {categories_content} is anywhere on that page. If it is not, then that is why it won't be showing. All you have to do is put that in where you want it to display.

Usually they go in a "block" and should look something like this:

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

looking at your screenshot, it looks like the block is set up, the title is displaying, so the {categories_content} is probably fine (check it anyway just in case)

Open variables.php in the csszen skin folder and look for this code:

<?php
$blocks["categories"]["status"] = 2;
$blocks["categories"]["template"] = "{image} {link} [{count}]";
$blocks["categories"]["columns"] = 0;

that is the standard for csszen i believe and change the column count bit from 0 to 1


why is nothing ever easy?
url: http://www.pretendercentre.com/missingpieces/     
php: 5.2.5  msql: 5.0.45-community
efic version: 3.4.3           latest patches: yes
bridges: none              mods: challenges, displayword, beta-search

 
Posted : 21/06/2008 9:19 pm
(@guest2324)
Posts: 0
 

Try opening up the skin index.tpl file. Have a look to see if the {categories_content} is anywhere on that page. If it is not, then that is why it won't be showing. All you have to do is put that in where you want it to display.

Usually they go in a "block" and should look something like this:

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

I can't seem to find the skin index.tpl file. Would it be in the skins folder?

looking at your screenshot, it looks like the block is set up, the title is displaying, so the {categories_content} is probably fine (check it anyway just in case)

Open variables.php in the csszen skin folder and look for this code:

 <?php
$blocks["categories"]["status"] = 2;
$blocks["categories"]["template"] = "{image} {link} [{count}]";
$blocks["categories"]["columns"] = 0;

that is the standard for csszen i believe and change the column count bit from 0 to 1

I'm trying to do this but I'm starting to think this entire thing is beyond me

Oh I did the second thing you suggested and I get this error instead of my board: Parse error: syntax error, unexpected T_VARIABLE in /home/*******/public_html/untempschism/skins/CSSZen/variables.php on line 1


 
Posted : 21/06/2008 10:23 pm
(@jacci)
Posts: 503
Honorable Member
 

Yes, all the files related to each skin are in their respective folders inside skin. Inside your csszen skin folder there should be a bunch of stuff including index.tpl and the variables.php

that parse error is probably because when you chnaged something you might have overwritten something esle as well (like the ; after the 0 for example)

if you could paste the code you changed it to here it might be helpful to see if it ss a typo


why is nothing ever easy?
url: http://www.pretendercentre.com/missingpieces/     
php: 5.2.5  msql: 5.0.45-community
efic version: 3.4.3           latest patches: yes
bridges: none              mods: challenges, displayword, beta-search

 
Posted : 22/06/2008 2:06 am
(@guest2324)
Posts: 0
 

Yes, all the files related to each skin are in their respective folders inside skin. Inside your csszen skin folder there should be a bunch of stuff including index.tpl and the variables.php

that parse error is probably because when you chnaged something you might have overwritten something esle as well (like the ; after the 0 for example)

if you could paste the code you changed it to here it might be helpful to see if it ss a typo

I finally figured out how to do what you said and I still cannot get the catergories to display.


 
Posted : 22/06/2008 2:32 am
(@guest2324)
Posts: 0
 

Well given the lack of reponse to my last post in the last few days I am thinking maybe I should just trying reloading efiction to my site and restart my archive from scratch with hopes that'll correct whatever the problem is.


 
Posted : 23/06/2008 3:42 pm
(@becca)
Posts: 553
Honorable Member
 

What if you try changing where your stories are saved? Maybe switching them to the database (see under your settings).


 
Posted : 02/07/2008 2:03 pm
(@carissa)
Posts: 791
Member Moderator
 

I don't think that will help, Becca, since the error has nothing to do with that. Please provide a link to your archive and turn debugging on. A screencap just isn't the same. We can look at your code and see what might be happening.


 
Posted : 04/07/2008 10:04 am
(@guest2324)
Posts: 0
 

Problem solved but now I have a new one.


 
Posted : 07/07/2008 5:33 pm
Share: