Story listings appe...
 
Notifications
Clear all

Story listings appear on Category page

14 Posts
3 Users
0 Reactions
2,722 Views
(@amalthia)
Posts: 93
Estimable Member
Topic starter
 

url: http://amalthia.mediawood.net/ebooks/browse.php?type=categories&id=8
skin: ebookarchive

nature of problem: I have a category Star Trek and under that I have 3 subcategories. Deep Space Nine, Voyager, and Next Generation. However, once you hit the top level category Star Trek all the stories listed under Voyager appear on the Star Trek page.

On my efiction 2.0 site that doesn't happen on the category page.

I'm not sure what's missing here or what I did wrong or if this is something new for efiction 3.0...but I'd appreciate if anyone could help me hide the story listings so people can select the category they'd like to see the stories under and not all the stories listed for Star Trek.


 
Posted : 20/05/2008 9:39 pm
(@tammy)
Posts: 2577
Member Moderator
 

I don't know what to tell you other than to check the information on those stories in the database and make sure the category is set correctly.


 
Posted : 25/05/2008 10:24 pm
(@amalthia)
Posts: 93
Estimable Member
Topic starter
 

I don't know what to tell you other than to check the information on those stories in the database and make sure the category is set correctly.

I'm not sure what I did wrong on setting sub-categories because all my subcategories do this. Will check again to see what I did. 🙁


 
Posted : 26/05/2008 11:02 pm
(@amalthia)
Posts: 93
Estimable Member
Topic starter
 

I don't know what to tell you other than to check the information on those stories in the database and make sure the category is set correctly.

I checked the information, everything is set correctly. I created the categories like I did in efiction 2.7 and I checked for the Star Trek section, the category they should be sorted into is Voyager. I'm not sure why the story listings are appearing on the Star Trek page. Or in the case of Misc Fandoms...the story listings are appearing there as well.

I haven't upgraded my script yet to 3.4.2 but I'm not sure if this story listing thing is a new change or a bug or if I did something wrong in my skin setup. I'm kind of at a loss here to figure out why the story listings are showing up where they are not supposed to.


 
Posted : 26/05/2008 11:18 pm
(@tammy)
Posts: 2577
Member Moderator
 

I don't know.  I've got Star Trek subcategories on my site as well, and it's working fine there.

http://sgxover.hugosnebula.com/browse.php?type=categories&catid=69

Turn debug on and we can look at the SQL.


 
Posted : 27/05/2008 10:24 am
(@amalthia)
Posts: 93
Estimable Member
Topic starter
 

I don't know.  I've got Star Trek subcategories on my site as well, and it's working fine there.

http://sgxover.hugosnebula.com/browse.php?type=categories&catid=69

Turn debug on and we can look at the SQL.

Okay if it's showing the story listings at your site as well as mine, I can only conclude that this is how it's supposed to work and it must have been a change from the efiction 2.0 version to 3.0. thanks for looking into this for me.


 
Posted : 27/05/2008 1:16 pm
(@tammy)
Posts: 2577
Member Moderator
 

It's NOT showing the story listings at my site though.  It's showing them correctly in the sub-category so I don't know why it wouldn't be working on your site.  In addition, your Star Trek category is a sub-category so if it was the script it should be showing those in the main category as well as it's all run through the same script.  It's almost got to be something in your database either with those categories or with those stories, but I can't tell what it could be.


 
Posted : 27/05/2008 4:28 pm
(@amalthia)
Posts: 93
Estimable Member
Topic starter
 

It's NOT showing the story listings at my site though.  It's showing them correctly in the sub-category so I don't know why it wouldn't be working on your site.  In addition, your Star Trek category is a sub-category so if it was the script it should be showing those in the main category as well as it's all run through the same script.  It's almost got to be something in your database either with those categories or with those stories, but I can't tell what it could be.

Okay I have no clue why the Star Trek category is showing as a sub-category. I just went and checked my category settings in the Admin panel. Star Trek says it's a top level category, and Voayger, DS9, and Generations are nested under it as sub-categories. I've removed the stories from the categories, and put them back in. I'm not sure what I did wrong adding my Top Level Category and Sub-Categories because I used the Admin Panel where is says Add New Top Level Category to add every category listed, and I used the add sub-category to add my sub-categories.

All my categories with sub-categories are doing the same thing from what I can tell and it's rather puzzling because I've been using efiction for a couple of years now since 1.1 and I'm not doing anything different when I add categories/sub-categories. 🙁

Is it possible upgrading to 3.4.2 would make a difference?


 
Posted : 27/05/2008 4:43 pm
(@babaca)
Posts: 722
Member Moderator
 

Amalthia,

In Admin->Settings->Display settings where it says "Display category path in listings:" Do you have it set to yes or no?

If you have it as "Yes" then you should see levels where it would say Star Trek -> Deep Space Nine, etc. as it does on Tammy's site.


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

 
Posted : 27/05/2008 5:14 pm
(@amalthia)
Posts: 93
Estimable Member
Topic starter
 

Amalthia,

In Admin->Settings->Display settings where it says "Display category path in listings:" Do you have it set to yes or no?

If you have it as "Yes" then you should see levels where it would say Star Trek -> Deep Space Nine, etc. as it does on Tammy's site.

Okay I did what you said and I can see the Display path now. though it doesn't explain why story listings are showing up under the Star Trek category...in 2.0 nothing would display until you got to the sub-category.


 
Posted : 27/05/2008 5:30 pm
(@tammy)
Posts: 2577
Member Moderator
 

Please turn debug on so we can look at the SQL.


 
Posted : 28/05/2008 9:42 am
(@amalthia)
Posts: 93
Estimable Member
Topic starter
 

Please turn debug on so we can look at the SQL.

I turned it on and didn't see any error messages, but will turn it on again.


 
Posted : 28/05/2008 1:14 pm
(@tammy)
Posts: 2577
Member Moderator
 

I wasn't looking for errors.  I was looking for the SQL. Your site is pulling the stories for that category and all sub-categories which isn't how the script is written.  Did you make any modifications?  I suggest you re-upload browse.php and browse/categories.php from the original download.


 
Posted : 28/05/2008 2:17 pm
(@amalthia)
Posts: 93
Estimable Member
Topic starter
 

I wasn't looking for errors.  I was looking for the SQL. Your site is pulling the stories for that category and all sub-categories which isn't how the script is written.  Did you make any modifications?  I suggest you re-upload browse.php and browse/categories.php from the original download.

I re-uploaded the files you told me too and now my categories are working like they are supposed to. I don't recall making any modifications to the category.php or browse.php  but won't discount the possiblity.

thanks for your help


 
Posted : 28/05/2008 3:06 pm
Share: