URL to your eFiction: www.panikfiction/net
Version of eFiction: 3.4.2
Have you bridged eFiction, if so with what?: n/a
Version of PHP: 5.2.5
Version of MySQL: 4.0.21
Have you searched for your problem: yes
If so, what terms did you try: classifications not showing
State the nature of your problem: Hey everyone, on my efiction site, something kind of odd is happening. None of the classifications are displaying in story listings, making it virtually impossible to search for anything. For example, stories are showing up like this:
Title: A Love Story
Author: Joe Schmoe
Rating: R
Genre:
Warnings:
Characters: Harry Potter, Ron Weasley
See what I mean? The Genre and Warnings are coming up completely blank, so weird. I've looked into the skin tpl files, messed with variables, but I just have no idea how to fix this. It's probably very simple, though, right? Maybe I'm just too close to the issue and can't see a forest through the trees.
Do you have a test account for us?[/b I can provide one if needed.
post the listing.tpl code from your skin
I am rebuilding efiction! Join us on irc! #efiction at
I think it must be a skin issue, as they are appearing in the advanced search. I can't see if they're appearing in the TOC to narrow it down without a test account. (Most Recent is listings.tpl, TOC is storyindex.tpl.)
Upload an unchanged skin that came with your download, like CSSZen and see if the classification listings come up on that. If they do, then it's a skin issue and you need to figure out what is missing from your own skin by comparing it to the default skins and reading the Wiki and searching the forums.
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
itanshi, here is the listing.tpl code~
<!-- START BLOCK : listings -->
{seriesheader}
<!-- START BLOCK : seriesblock -->
<table width="100%" align="center" cellspacing="0" cellpadding="2" border="0">
<tr><td>
<div class="listbox clearfix">
<div class="title">{title} by {author}{score} [{reviews} - {numreviews}] </div>
<div class="content"><b><u>Summary of the Series</u></b><br /><br />
<i>{summary}</i><br /><hr>
<br />
<b>Parent Series:</b> {parentseries}<br />
<b>Categories:</b> {category} <br />
<b>Characters:</b> {characters} <br /><br />
<b>Genres:</b> {genres} <br />
<b>Warnings:</b> {warnings}<br /><br />
<b>Stories in this series:</b> {numstories}<br />
<b>Is this series open or closed?</b> {open} {addtofaves} {reportthis}<br /><br />
<center> {adminoptions} </center>
</div>
</div>
{comment}
<br />
</td></tr></table>
<!-- END BLOCK : seriesblock -->
{stories}
<!-- START BLOCK : storyblock -->
<table width="100%" align="center" cellspacing="0" cellpadding="2" border="0">
<tr><td>
<div class="listbox clearfix">
<div class="title">{title} by {author} {score} [{reviews} - {numreviews}]</div>
<div class="content"><b>Summary</b>: <i>{summary}</i><br />
<hr>
<br />
<b>Category:</b> {category} <br />
<b>Series:</b> {serieslinks}<br />
<b>Genres:</b> {genres} <br />
<b>Types:</b> {types} <br />
<b>Rating:</b> {rating} <br />
<b>Warnings:</b> {warnings} <br />
<b>Characters:</b> {characters} <br>
<b>Published:</b> {published} <br />
<b>Updated:</b> {updated} <br />
<b>Is this story completed?</b> {completed}<br /><br />
<b><u>Statistics</u></b><br /><br />
<b>Chapters:</b> {numchapters} <br />
<b>Word Count:</b> {wordcount} words<br /><br />
<center>{addtofaves} {adminlinks}</center>
</div></div>
{comment}
<br />
</td></tr></table>
<!-- END BLOCK : storyblock -->
{pagelinks}
<!-- END BLOCK : listings -->
And when you go to Admin > Classifications and select 'edit' next to each classification, what's in the 'name' fields matches what's in your skin with {genres} and {warnings}? What's in the curly brackets has to match the Name or it won't appear.
And when you go to Admin > Classifications and select 'edit' next to each classification, what's in the 'name' fields matches what's in your skin with {genres} and {warnings}? What's in the curly brackets has to match the Name or it won't appear.
I checked it. I think it must be a skin thing. : All of the names match up.
What is interesting about this is that some of the classifications are appearing (ie genres) and others aren't. Instead having them in individually, maybe try putting in {classifications} instead and see what happens. I looks like that could be how it's laid out in Most Recent block where everything is appearing and there is the other classification, Pairings.
Make sure your case matches as well. If it's capitalized one place make sure it's capitalized in all places.
