Where is the 'class...
 
Notifications
Clear all

Where is the 'classifications' file?

9 Posts
3 Users
0 Reactions
2,274 Views
 Elle
(@jenny)
Posts: 594
Honorable Member
Topic starter
 

Hey, right now I'm skinning my site with a bare template (meaning; I'm just editing it now myself with help with the default_tpls folder) and I've been editing some of the folders in block files so instead of <div class="block"> etc it would show up using unordered lists.

Right now, I have it exactly, where I want. I just need to edit the file where it would "output" the classifications?


archive: dramione.org
site: accio.nu

Available for skin/mod commission! πŸ™‚

 
Posted : 28/02/2007 12:57 pm
(@tammy)
Posts: 2577
Member Moderator
 

You need to be more specific "classifications" are all over the place.  You also need to follow the rules for posting a request.  Specifically, we always ask for a URL to your site and if you're asking about a specific skin we always need to know the name of the skin.


 
Posted : 28/02/2007 4:20 pm
 Elle
(@jenny)
Posts: 594
Honorable Member
Topic starter
 

{classifications}

The file which "directs" that?

The URL is ink.moosh.nu but it's currently in maintenance and the theme is a bare naked theme that I'm creating from scratch. Right now I only have the index.tpl and variables.php (relying on the default_tpls folder).


archive: dramione.org
site: accio.nu

Available for skin/mod commission! πŸ™‚

 
Posted : 28/02/2007 6:15 pm
(@tammy)
Posts: 2577
Member Moderator
 

Okay I get {classifications} but where?  Classifications in stories? In series? In challenges? In the series list or on the series page? There's a lot of places and things that use {classifications}.  What are you trying to do?


 
Posted : 28/02/2007 6:30 pm
(@carissa)
Posts: 791
Member Moderator
 

If you want more control over the look of your classifications, you can just use the variables for each classification instead of the {classification} variable. I had to do this because the line break is hard coded between each one and I didn't want it in my skin. This is what my storyblock looks like (from the listings.tpl)

<!-- START BLOCK : storyblock -->
<div class="listbox">
<div class="title">{title} by {author} ({rating}) [{reviews} - {numreviews}] {new} </div>
<div class="content">{featuredstory}{summary}</div>
<div class="storyclass">
<span class="label">Published:</span> {published} <span class="label">Updated:</span> {updated} <span class="label">Chapters: </span> {numchapters} {toc} <span class="label">Series:</span> {serieslinks}<br />
<span class="label">Categories:</span> {category} <span class="label">Characters:</span> {characters} <span class="label">Genre: </span> {genres} <span class="label">Warnings:</span> {warnings}<br />
<span class="label">Completed:</span> {completed} <span class="label">Word count:</span> {wordcount} <span class="label">Read Count:</span> {count}
</div>
<div class="tail"><span class="label">{addtofaves} {reportthis}</span> {adminlinks}</div>
</div>
{comment}
<!-- END BLOCK : storyblock -->

What you would use for your individual custom classifications would depend on what you named them. The name you gave your classification would be the variable {name}.


 
Posted : 28/02/2007 6:50 pm
(@tammy)
Posts: 2577
Member Moderator
 

Just FYI to Carissa and anyone else who may follow and have the line break issue.  You can do the following to suppress the line breaks if you want to use {classifications} instead of the individual variables (i.e. you're creating a skin for distribution).

1.  Surround {classifications} with a div or a span.


<div class='classifications'>{classfiications}</div>

2.  In your style.css file set the <br> tag to display none inside the .classifications class.


.classifications BR { display: none;}


 
Posted : 28/02/2007 7:00 pm
 Elle
(@jenny)
Posts: 594
Honorable Member
Topic starter
 

Ah, sorry Tammy - as a new user I have not fully explored classifications - but I did, indeed mean stories.

Thank you Carissa, I will try that out and let you know what happens. (:

{info_content} (as with other _content) -> could that be used in the same way? I think I would prefer not to dabble in the main core files..


archive: dramione.org
site: accio.nu

Available for skin/mod commission! πŸ™‚

 
Posted : 01/03/2007 6:39 pm
(@tammy)
Posts: 2577
Member Moderator
 

You need to set the info block to use the "variables" setting.  I encourage you to explore the admin settings and read the admin manual.


 
Posted : 02/03/2007 12:46 am
(@tammy)
Posts: 2577
Member Moderator
 

Bump.  Is this resolved?  The topic will be closed if there's no response in the next week.


 
Posted : 17/05/2007 4:28 pm
Share: