A question is in my head for a while. I have different fandoms (Star Trek, X-Files, Queer as Folk, ...) and my question would be...
- is it possible to make it work that the banner changes when I change the fandoms? so when I read Star trek stories I see a Star Trek banner and then when I change to QaF stories I see a QaF banner, etc?
is something possible with eFiction? and if yes, is it hard to include it?
Thanks for your answers.
Get your Arsch out of the couch." Gayle Tufts
Here:
https://efiction.org/forums/index.php?topic=4436.0
you can find instruction on how to create a rotating banner, but I don't know about having a specific banner come up with a specific fandom though. Maybe someone else could tell you or you might have to request it in the mod section rather than general.
******************************************
Mucking around in eFiction since circa 2001 (ver. 1.0)
Now running v.3
I'm thinking that this may very well involve database modifications where when you create a category, you'll have to assign it a skin.... or a specific header and you'd need to modify the header file as well to include a variable for that header image instead of a fixed one.
That being said... I don't know how that would be coded or if even possible at all to do what I just said. Best of luck with that!
Jacynthe
Archives: http://fanfics.e-authors.net
Version: 3.5.3
Modified? Somewhat...
PHP: 5.3.3
MySQL: 5.0.91-community
The problem would be that stories can have multiple categories and only certain pages could be defined as being part of a single category. What would you do on the author profile pages? Or search?
The problem would be that stories can have multiple categories and only certain pages could be defined as being part of a single category. What would you do on the author profile pages? Or search?
You are right. I could say that all my stories can be defined to be only in one category, but you are completely right ... what about the profile page or the search or maybe the contact page etc.
I think the banner rotation has to be enough of toys. Sometimes one can not have anything, either one is in respectable society or one amuses oneself... π
Get your Arsch out of the couch." Gayle Tufts
Been brainstorming on this idea.
What if you drop some code on the hook in browse.php and viewstory.php. It reads the category number and reassigns the header variable with different code depending on what category it sees.
Of course this would still have the issue of what would happen with multiple categories. Assuming this uses an array search the last listed category would be the one to decide the header.
That is, if you can reassign the header....I think the hooks are well past where it is assigned to begin with.
Thank you for your help. I decided to have just a "normal" banner-rotation, without a specific banner to a specific fandom.
It looks great and was soooo easy. But sometimes I have tomatoes on my eyes...
Get your Arsch out of the couch." Gayle Tufts
