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:
site:
Available for skin/mod commission! π
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.
{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:
site:
Available for skin/mod commission! π
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?
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}.
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;}
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:
site:
Available for skin/mod commission! π
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.
Bump. Is this resolved? The topic will be closed if there's no response in the next week.
