Notifications
Clear all

Trying to get certain classifications to show up under the story listing(solved)

1 Posts
1 Users
0 Reactions
1,035 Views
(@izdoodle)
Posts: 101
Estimable Member
Topic starter
 

I have a few extra classifications added to my site. I noticed that some skins will show them under the story listing, but others won't. I went into the listings.tpl on one skin I am working on <Midnight Blue> and saw where to change it and was able to get one of the classifications to show up with no problem. The others will show the classifications name but not "none" or "classification title link" like the others. It's just blank.

<!-- END BLOCK : seriesblock -->
{stories}
<!-- START BLOCK : storyblock -->
<div class="listbox">
<div class="reviewbar"><div class="reviewleft"><div class="reviewright">&nbsp;</div></div></div>
<div class="title">{title} by {author}{featuredstory} </div>
<div class="reviewbar"><div class="reviewleft"><div class="reviewright"><span class="label">Rated:</span> {rating} {roundrobin} {score} [{reviews} - {numreviews}] {adminlinks}</div></div></div>
<div class="content"><span class="label">Summary: </span>{summary}<br />
<span class="label">Categories:</span> {category} <span class="label">Characters: </span> {characters}<br />
<span class="label">Genres:</span> {genres} <span class="label">Team:</span> {team}<br />
<span class="label">Challenges:</span> {challengelinks} <span class="label">Series:</span> {serieslinks}<br />
<span class="label">Chapters: </span> {numchapters} <span class="label">Completed:</span> {completed}  
<span class="label">Word count:</span> {wordcount}<br />
<span class="label"> Published: </span>{published} <span class="label">Updated:</span> {updated} {new}
</div>
<div class="reviewbar2"><div class="reviewleft"><div class="reviewright">{addtofaves}</div></div></div>
</div>
<!-- END BLOCK : storyblock -->
{pagelinks}
</div>
<!-- END BLOCK : listings -->

This is the block section that I edited. I took out the extra blocks which would be "Pairings", except for "Team" which you can see. It was originally warnings, but I replaced it. I'm not sure if it is showing up because of the fact I changed the name or not, but it works. I clicked it and it leads me to search results for the team.

Should I be changing this somewhere else as well? If so, then why did one show up and not the others? I tried editing the top section of the block "Series Block" too think that might be why, but still nothing.

I'm thoroughly confused as to why only some show up on certain skins and not the others. I'm not sure what I'm doing wrong and it makes it even more confusing that the classification name will show up but not "None" if there isn't one or "Classifications name link" if there is.

I hope this made sense. Basically I just want certain classifications to show up under the story when it's listed in the search section and don't know how to get it to do so using the code in the .tpl files. I thought I was doing it right but now I have no clue.

Thanks

[glow=red,2,300]NOTE: Actually, nevermind. lol I figured it out. It was missing the {Classifications} part of the code. I thought I would just compare the code to the ones that worked and saw it was missing.
Thought I'd leave this in case someone else had the same issue.[/glow]


http://www.twiwrite.net
Where Your Imagination Can Run Free
18+ TwiWrite Fan Fiction Archives.
efiction vs.3.5.2
SQL vs. 5.0.77
PHP vs. 5.2.2
Happily soaking up any and all php, tpl, and html knowledge I can.

 
Posted : 29/09/2010 1:28 pm
Share: