I've created a module to import html pages, and I need to be able to load a custom stylesheet that is different for each instance of the node-type. I have created the necessary form and database code to get the path into a field in the database, but I can't figure out how to retrieve that path so that the custom stylesheet is used when the node is viewed. I've tried several variations of the following:
Now that I have created a simple custom node, i would like to add a category selection in my form so that my custom node can be categorised. Is taxonomy_form the function to use for this? If not, can someone point me in the right direction?
I'm assuming that I can do this somehow with Views?
What I want is for the Category index page to only show top-level book pages, as well as pages, stories etc. So, I'd envision something like the following showing up on example.com/memory:
BOOKS ABOUT Memory:
>> FAQs
>> Techniques
NEWS ARTICLES ABOUT Memory:
- FBI discover Mice aremore intelligent than President
- Mice discover FBI lack any genuine intelligence
PAGES ABOUT Memory:
- Feedback we've received
- Why we started this site
Before I'll ask my question, I'll write a little bit about me:
I am not speaking English well, it's not my mother language, so don't laugh on my mistakes :). I am programming and web mastering for about 8 years, I am coding projects as a freelancer and working at respectable hi-tech firm as SysAdmin. In most of my web projects I used phpNuke as my CMS and tried phpBB, Invision Power Board and vBulletin as my forum gateways.
Well, there were times when phpNuke was "The thing", so I couldn't ignore it.