What's the best approach to get content in with images wrapped with text and also, two columns for text?
I suspect you may say htmlarea, but I've had problems getting that to work with 4.6 (not ready?), and in 4.5 on OS X panther.
P'raps I should design custom stylesheets for content types, say a newsheet? If so, I am using phtemplate at the moment. How would I go about it? I am fairly new to drupal, have read extensively, but would sure appreciate a tip as to best way, and a stepwise guide, so I can proceed with mre confidence, even tough I appreciate I must work hard at my xhtml and php scripting knowledge, as well as my familarity with th etemplate system and drupal in general. This little project and a little guidiance would give me the impetus to do just that.
Hope you can guess where I'm at!
Oh I've looked hard at Terminus's site, and see they are with xtemplate. They seem to get results in the way they wish. Maybe I should switch.
Comments
you may use [float] label in
you may use
[float]label in bbcode.module to achieve this.Here is an example from my site.
--------------------------
http://www.kzeng.info
excellent, floating is nice.
I see, thank you. I like that page , an intriguing picture. I shall check out this module right now. Can I get back to you if I need a little more info?
-----------------------------------------------------
"It's never too late to have a happy childhood."
A little help please
Hi, I have the module installed, and tried it out, but am making some kind of user error. How exactly do I enable bbcode in an input format?
-----------------------------------------------------
"It's never too late to have a happy childhood
what user error did you
what user error did you have? Could you paste your error message here?
Normally, you only need to enable the module in your admin module page. Then you may configure it as a new inputting filter.
--------------------------
http://www.kzeng.info
error i had
NO error, just not configured yet in the input format (4.6 RC). I am unsure as to what the specific name is.
Ok, something in your message clicked with me. I 've broken from this message to take another look, and I see more clearly. Enabling input, I can choose the form of the name BBcode ( I thought it must be a specific form), and then select configure which presents tick boxes, with module ready loaded. Thanks for your interest, I am sure I have it now, although yet to test.
I suppose I can use a relative url?
eg.
/images/etc.-----------------------------------------------------
"It's never too late to have a happy childhood."
Columns work. How do yuo get a margin on wrapped image?
Hi Kzeng,
It's working! I really like this.
I wondered how you got a margin on your image when wrapped, and do you use imageassist or not?
-----------------------------------------------------
"It's never too late to have a happy childhood."
CSS classes
You can do this with some CSS. If you define the styles in your stylesheet, you can use them in any content that you post.
e.g.
Then you post some content with:
You will need to allow the <div> tag for this.
--
If you have a problem, please search before posting a question.
css classes good
That's very nice, thanks. Am I able to define those tags in 'filtered html' option when creating content? And, do I have to make a php call for those tags or not (I guess not).
-----------------------------------------------------
"It's never too late to have a happy childhood."
I'm trying to find out how
I'm trying to find out how to allow the div tag (newbie question). Where do I go to do that: is it in the page.tpl.php or not?
-----------------------------------------------------
"It's never too late to have a happy childhood."
If using 4.5+ this will allow divs
Go to administer >> input formats
For "Filtered HTML" click on config
Then click "configure filters" (on tab)
Then add <div> to list of allowed HTML tags.
allow divs.
OK thanks guys, I see now. Thanks for a very clear and easy to follow guide nevets.
Though I had come accross the 'configure filters' earlier, it hadn't mean so much to me at the time, as I was unable to do much while I was simultaneously fault finding clean urls and htmlarea, attacking .css pages, reading the engine scripts, extending my php ability, upgrading drupal, fixing breaks with old modules, wondering why my virtual host here suddenly failed, applying patches and reading backwards on the forums, plus checking out every reference to every fancy site's source code!
All that and I'm only a camel driver with one pair of sandals and this computer a tourist left behind. My brain got scrambled. I'll take a break for a watermelon. I'm confident and happy now. Cheers!
I guess I am lucky. You folk must have a hard time powering your pc's without so much sun.
-----------------------------------------------------
"It's never too late to have a happy childhood."
Columns: A little more to do..
I got columns work in a drupal phptemplate, with this caveat: they overspill the 'contents' division, and run into the footer: The contents division is not adjusting with the columns.
Featured in the front page it works ok ( I have front.module activated). In the main view (eg. ?q=node/22) there is an overspill. I suppose this is a phptemplate matter, and that I must permit the columns division in a php file.
Switching from a Manji -based template to a Kubrick-based template I still experienced overflow problems, though of a different nature. In Kubrick it also 'stole' the page colour' to inherited the body colour. I could not fix that in css, plus the sidebars overflowed the column text.
I got round the problem by defining my columns as a class atttribute 'p.column' rather than division class.
Then I allowed for the
tag in the administer/input formats. This gives the example when creating content:
However, although this produces lovely columns in the page, it conflicts with the taxonomy modules somehow, and so when entering the relevant node for 'taxonomy=" , a preview list of pubications, there is an overflow with the next preview text in the list, which was not styled with columns. This also happens on the front page.
Further investigation is needed. See here:
http://www.mightyzero.com/columns&taxon.pdf
-----------------------------------------------------
"It's never too late to have a happy childhood."
nice...i wish i'd read this
ho wcan you do this in
ho wcan you do this in drupal 6.6?
[SITE INTRO][2] Why Re-Create an Open Learning Resource @ TheCenterOfTheNet (Mission Statement) Part 2