Anna's Joomla tips |
Tuesday, 03 January 2006 | ||||
Page 6 of 10 When I say “adding text & images” I’m talking about the central part of the page, not any menu bars, not any of the boxes on the side (like polls, sign-up forms, or news items). Just the central content pane (the “mos_mainbody” you placed in your template). You already organized your site Joomla-style (tip #2), so now you want to create content in the Categories you already have (which are inside Sections you already have). TinyMCE. Joomla comes with a wysiwyg editor called TinyMCE. To activate it, got to Mambots -> Site Mambots. Unpublish the “No WYSIWYG Editor” and publish “TinyMCE WYSIWYG Editor.” If you know html, I highly recommend putting the TinyMCE editor in “advanced” mode. From Mambots -> Site Mambots, click on the TinyMCE WYSIWYG Editor. On the right, under parameters, you should see a Functionality option – basic means you see no code, while advanced gives you the option of editing the html code directly (and gives you a few more editing icons). I really *highly* recommend the advanced option because of bugs in TinyMCE (for example, hitting B will bold text, but not unbold it, so I once had to go into the html and delete about 57 <strong></strong> tags from a frustrated user). You can add text & images by adding content (Content -> All Content Items [or choose the category]). The page title will appear at the top of that page. Page alias will appear in the url (if you have sef404 or another search engine friendly component). Your text is split into two panes, the “intro text” and the “main text”. Here's RedSoxCoder's explanation of the two panes: Quote There are two panes for two reasons: First is the most common one, which is that you can use it to split the article in two parts: intro part for the front page and the real article that links to the 'read more' link, which is the intro + the main content merged together. BUT there is also an option that lets you split these to all together. That means that you could use the intro part for a seperate piece of text on your front page and the main part for the real article. Example: You have a site that reviews movies and you have various people writting reviews, but one person editing the front page content. You could write a frontpage(intro) text like "Our critic Mr. X went to see movie XYZ and wrote an exclusive review for our site....read more" Very exciting option that gives much more functionality to the two panes concept.
Images. I once spent two hours just trying to place an image in the content. I couldn’t find it anywhere in the Mambo help pages; no one would answer my question in the forum; everything I tried didn’t work. So I will save you that pain – read on! First you need to upload your images into the Media Manager. It’s under Site -> Media Manager, and it’s pretty obvious how to use it to upload files. Just remember that while the “browse” button is below the files icons, the “upload” button is above in the toolbar. Same with creating directories – create below, hit the “create” button above. Once you have your images uploaded, you can insert them from any content item. Things not to do: • Don’t use TinyMCE to insert pictures. To do that you have to go back to the Media Manager, get the address, copy/paste it into the box, and in my version there’s a bug, so once you do all that the html code is garbled and you have to go into the code and fix it.
Each time you click the MAGIC “I” button, will appear in the text editor. It will not show the image, or tell you which image is there. If you have more than one image, the images will display in the order they are listed under “Content Images.” What is ?As I understand it, mos_image is a mambot that places images in the content. For more on mambots, see tip #8. According to tudorilisoi, there is also another mambot called mosthumb for doing this that you might want to use -- for more info, visit his post at http://forum.mamboserver.com/showth...3412#post243412 A tip from Vizar: Quote After much testing and searching, i found a perfect solution: use MosCE instead. Using this u can include images directly to the text and see them as they will appear in the end result (unlike the {mos_img} place-code), and it has a lot of extra options. U can even adjust the look and feel of the editor via its config component. To make this work, u have to upload you pictures with the image manager (or rather use JoomlaExplorer) to the images/stories folder (and optional subfolders under that) to see and use the pictures in MosCE Thanks for the tip! So now you have content – great! Now on to linking up your pages.
This was a great guide, why couldn't it have been part of the official Joomla documentaion! I learned enough to finish off quite a few things that I missed since I didn't know the context and conventions of Joomla. Thanks again! When is your book coming out? I appreciate you taking the time to provide "traditional hand-crafted web pages" vs. Joomla perspective. I am beginning to get my head around Joomla thanks to your time and efforts. HI Anna ! I am a new cˇmer and I have a lot of confusions on PAGE/Front page. Write Comment Powered by AkoComment Tweaked Special Edition v.1.4.2 |
||||
Last Updated ( Saturday, 05 January 2008 ) |
Newsletter
Joomla books
Auto tags
joomla
joomla menu bars
add button tinymce joomla
joomla editor readon button
joomla how to add text to image
joomla pane tab activate
no wysiwyg insert image mambot joomla
TinyMCE not working on main text joomla
"intro text" code joomla