This is my skin :Principal
It is an odd help request. I'm designing a new skin because it's just going to me posting to this archive. All day I'm messing with the index.tpl and the problem is that pesky two column thing where the sidebar (leftindex) has more info than the main(rightindex) and the mainpage div doesn't fill, cutting off to only what the main section has. I have it to what I want; I moved the skin portion into the main section so it has more than the sidebar and fill up the space.
Now the css I need help on, I based this design on this: Paalam and for me to fill the main I had the idea to duplicate the date to the categories on the front page.
Is there a way to separate the Category from the number adding a long line and the number itself looking like the date. (I already have the css from a previous design to do the date. therefore not needing useless info to fill in at the bottom of the main to get the mainpage to correctly show.
Any help, much appreciated.
I charge into the light and need only yours to find my way. Archive of One:
I don't think that you can do that with just a line. The way the categories are put out, they each have their own little box with all their own info. I don't think that you would be able to output all the category names by themselves, and then in another area output all the number counts of fics in each category.
You could try putting the the individual categories and the individual numbers in their own boxes each, or try and lay them out by having different css divs, but they would have to be a repeating one.
Look in the categories.tpl files - I think the skins use that for the index (or they just use index.tpl), but they also use variables.php and whatever you have listed in your admin categories block.
https://efiction.org/forums/index.php?topic=4364.0
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
Take into account: It's late and I'll probably understand you and what you said better in the morning... π
Well I don't want to mess with the categories per say, just manipulate the the ones in the front. I'm thinking of something simpler than separating the numbers from the category. Really it decorative. I'd looked at the options for categories block and this is where I put one column list and it seems to effect just the index.tpl category so maybe there is a solution in there somewhere or if not I need to know if I ask for a tpl and css it what will that mean for the category page which I like the way it is.
what it says: Note: Selecting 'Use .tpl' will output the categories blocks in the 1.1 table format.
I charge into the light and need only yours to find my way. Archive of One:
You'd actually need to do this in admin>blocks>categories or variables.php.
If this is your only skin, or if you want all the skins to handle categories the same way, use the category block. There should be some instructions on the page or in one of the readme files.
If it was my only skin than I would continue this way but I like messing with design too much and would get bored with this being my only skin. If you look at my sbkeys skin, you'll see a problem that develops if I stay with the categories the way the are now for the principal skin. If I ever thought of giving this theme away I couldn't.
Is it possible to create a new block or custom page for the category parts? that is separate so it can pull from there instead of the regular category. Did that make sense? π
I charge into the light and need only yours to find my way. Archive of One:
Is it possible to create a new block or custom page for the category parts? that is separate so it can pull from there instead of the regular category. Did that make sense? π
There are already two different places for categories: the index, and on the main categories browse page. They can both look different from each other.
To edit the main categories browse page, you edit categories.tpl (if a categories.tpl isn't in the skin's folder, copy the one from the default_tpls folder).
To edit the categories on the index, you can use variables.php or index.tpl or the admin - categories block.
- Admin - categories block will edit ALL index categories on all skins.
- index.tpl and variables.php are for their own skins only (in same skin folder). variables.php will override whatever you have listed in the index.tpl. (i think)
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
Yes, if you want the categories to look different in different places, include a variables.php file in each skin to define the categories for that skin only. Look in the docs folder for more information. I'm pretty sure there is some information on variables.php files.
Thanks, I read it over the weekend again since I have a test coming up and brain can't seem to work at this time of night with too many information bits. :mrgreen:.
I charge into the light and need only yours to find my way. Archive of One:
