Hi, I don't know can I create a new theme. I've copyed the default theme "minimal" with other name and it doesn't appear in the drop down list.
Kind regards and thanks in advance.
Hi, I don't know can I create a new theme. I've copyed the default theme "minimal" with other name and it doesn't appear in the drop down list.
Kind regards and thanks in advance.
Comments
Comment #1
eigentor commentedWill take care of this after Nov 15. Meanwhile, try to find out here: http://drupal.org/node/234042 and here http://drupal.org/node/512116
Key is you have to implement the hook, so a little (very little) coding knowledge is needed. If you catch Michelle on IRC, she might help you out with that.
You can look at the files in the "minimal" style, create your own directory, copy over the files and change all names and paths and should be good.
Basically it is easiest to create a substyle of "naked" which saves you from copying over lots of files, but only the needed ones.
Comment #2
NoRandom commentedThanks for your help, eigentor. I've edited the module to inclued my "postit" style...
...copied naked style and started to work in a new theme. I'll be very simplistic but I'd like to share when it is finished.
Comment #3
tomsherlock commented@Macarro,
any progress with your 'postit' style?
Comment #4
NoRandom commentedTomSherlock, no. I've updated recently from Drupal 5 to Drupal 6 and I'm still redoing the theme for the website (some pics of the wip here http://twitpic.com/photos/PixelGordo).
I think I'll start with the forum in one or two weeks. Anyway I have some doubts, I'll use "user-karma" module and some custom php code to show karma points and I don't know if it makes the forum style less portable from my site to others.
Regards.
PS.- I've looked for an old screenshot of the forum in Drupal 5 or a mockup but I haven't found it, sorry.
UPDATE:
Not a full mockup but is more than nothing http://img30.imageshack.us/i/mockupforo.png/ It have to be modified since I'd like to have more contrast.
Comment #5
claning commentedI'm having the same issue. I've downloaded the "Cloudless day" style, and I've tried putting it in a couple of different places, but it still isn't showing up in the dropdown menu even after I have flushed all caches.
The instructions at http://drupal.org/node/512116 are not clear about exactly where I'm supposed to put the Cloudless Day folder. They say "Copy your style directory to your module." But it's already _in_ the module folders. I'm confused.
Does it go in the Styles folder inside Advanced Forums, or in the Styles folder inside Advanced Forums More Styles, or somewhere else entirely?
Since the other styles in the already existing Styles folder do show up in the dropdown menu (Minimal, Naked, Blue Lagoon) I don't understand why this additional one doesn't.
Then, the instructions also suggest copying the style directory to the theme as an alternative to copying it into the module. But both methods of "Telling Advanced Forum about your style" involve messing with code, either in the theme files or in the module files. I'm still something of a beginner here, but I always thought changing code was to be avoided? I can see it as a temporary workaround, but the changes will be lost if the theme/module is updated. And I don't understand why putting the new style in the Styles folder doesn't work without having to do this.
I'm using advanced_forum-6.x-1.1 and advanced_forum_more_styles-6.x-1.0-alpha2, which I thought should be compatible with each other?
Comment #6
eigentor commentedEr, Cloudless Day. I am a bit lost. Where did you get that style from? Is it included in advanced forum itself, or somewhere else?
Generally adding a new style is not hard, but not hard for someone who knows a bit of Drupal API ;). So let's sort out what you have there and I will try to get you through.
Comment #7
claning commentedCloudless Day is a Advanced Forums style by merlinofchaos: http://drupal.org/node/523958
It does appear (looking at the module file) that every Advanced Forums style must be specified _in_ the code of the advanced_forum module on the site it's being used on. It seems to be a simple cut-and-paste.
My problem is: I was always told that you shouldn't change any of the code in a module, because when you update the module you will lose all your changes.
Is this an exception?
Comment #8
michelleCloudless Day is one of the core styles in AF 2.x. It has nothing to do with AFMS. You don't need to change any AF/AFMS code to add a style. In AF 1.x, you add it in your own site module. In 2.x you can either do that or add the line in your theme. You can't use 2.x styles on 1.x, which I'm guessing is what you're trying to do.
Michelle
Comment #9
eigentor commentedthx Michelle. Yes, using a 2.x style with 1.x involves some (even if simple) coding, but you cannot just try to drop it in.
Why not just using Advanced Forum 2.x?
Comment #10
michelleThere are so many changes from 1.x to 2.x that 2.x styles really aren't usable at all on 1.x. You'd be putting so much work into converting it you might as well start with a 1.x style and customize it.
Michelle
Comment #11
eigentor commentedThis thread is quite old now.
For reference download the respective version of Advanced Forum more styles, copy and rename the .module and .info files and go ahead.