Custom Search

Mambo Tips

New Mambo Tips

Mambo makes the difficult parts of building and running a high-powered web site easy. That’s why so many people use it! But if you have never used a content management system before, it also seems to make a lot of easy things difficult. These tips are designed for someone who doesn’t know anything about content management systems. I’d never heard of one before installing Mambo.

If you’re like me, you’ll find these instructions VERY helpful. I don’t explain anything to you that you could see by poking around the administration page – go to the official help site for that. What I will tell you is how to think about your site before designing it with Mambo, and how to get from point A (“I want to …”) to point B (“here’s how”).

This tutorial changes occasionally, but here is a list of the chapters so far:

1. How to think about content management
2. How to organize your site
3. Designing the look of your site
4. Modules and pages
5. Adding text and images
6. Linking
7. Blogs; Your front page
8. Modules, Components, and Mambots
9. Where is it?

Note: If you want newsfeeds, polls, or blogs on your site, Mambo is great! But you must expect to spend time learning it. Just remember that the most difficult part is the beginning, and you won't have any part of your site up quickly, even with the best tutorials. But speaking of the best tutorials, you should also go to this thread to see a list of other tutorials that have been written for Mambo:
http://forum.mamboserver.com/showthread.php?t=42100

Next tip: How to think about content management.
jazztpt  
jazztpt
 
Send a private message to jazztpt
  jazztpt
Old May 9th, 2005, 09:23 #2
jazztpt

jazztpt's Avatar

 Mambo Tips  May 2005
 Mambo how too  62
jazztpt is on a distinguished road

Talking Anna's Tip #1: How to think about content management
Most people who use the web are used to thinking about web sites in terms of pages and how they are linked to each other. Each page contains static content – once you create the page, it doesn’t change (until the web designer changes it). You might think of your site as having a tree structure: the home page links by menu to six sub pages, the “articles” sub page contains links to ten article pages, etc.

Mambo is organized differently because much of what will appear on your site is dynamic – it changes based on visitor input, newsfeeds, or other members adding content to the site. Dynamic content is updated whenever the visitor opens or refreshes the page. There is NO WAY in Mambo to look at what’s on a particular page (until you publish it on your site), so you need to think about it differently. (For more about pages, see tip #4.)

Each page of your site will contain various blocks of content (these blocks are called Positions). You set the layout for pages with a Template (more about Templates in tip #3), including the placement of blocks on the page as well as fonts, colors, & backgrounds. Then you place modules in the blocks (more about Modules in tip #4). Finally, you add content and assign it to the main body of your pages (actually you will assign it to menu items, but just think about them as pages).

Okay, enough about content management. Let’s get to your site!
Next tip: How to organize your site.
jazztpt  
jazztpt
 
Send a private message to jazztpt
  jazztpt
Old May 9th, 2005, 09:24 #3
jazztpt

jazztpt's Avatar

 Mambo Tips  May 2005
 Mambo how too  62
jazztpt is on a distinguished road

Talking Anna's Tip #2: How to organize your site
Okay - bear with me. I know you want to get something up and running right away, but that's not what Mambo is about. There are things you must know before you can get even one page up. But don't despair - once you set all the parameters for your site, putting really cool things on it is a piece of cake!

The current version of Mambo has a static hierarchy: you have to divide your content into three levels, no more, no less. Version 5.0 should have dynamic folder hierarchy – if you want just one level, you can have it. If you want ten, you can have that too. But for now, you will have to use the three level system: Sections, Categories, and Content.

Sections are big containers. They hold Categories. Categories are little containers; they hold Content. All the text & images you want to appear on a page are Content. The only catch is that you can’t create content without having a Section and Category for it to live in.

Imagine a filing system: sections are drawers, categories are folders, and content is pieces of paper. If you had all your pieces of paper lying around in your room, that would be a mess. If you had them in folders but the folders were lying all over the floor, that wouldn’t be much better. If you had them thrown in a drawer with no folders to organize them, that wouldn’t be so great either. So to keep things organized, you need to put all your papers (content) inside folders (categories) inside drawers (sections).

The other nice thing about having sections and categories is that you can assign different templates to them. So anything appearing in the “News” section could have two columns instead of three, leaving out the position that houses login and polls (for example). Then when some other member of your organization adds a news item, it will look like all the other news items and not like the product features pages.

Note: After all that about having to have sections and categories, there is a way to create content that is not in a section or category – it’s called “static content.” This doesn’t mean static as in static vs dynamic, it just means that it is not assigned to a section or category. But remember that if you do that you won’t be able to create more content that looks like it (shares its template). And I read somewhere that you can’t place static content on the front page.

So think about how your site will be organized, and whether you want different parts of the site to have different looks. Then force it (shove! push!) into the Mambo 4.5 system of Sections and Categories (and wait for Mambo 5.0 – oh happy day!).

Now on to Templates.
Next tip: Designing the look of your site.
jazztpt  
jazztpt
 
Send a private message to jazztpt
  jazztpt
Old May 9th, 2005, 09:31 #4
jazztpt

jazztpt's Avatar

 Mambo Tips  May 2005
 Mambo how too  62
jazztpt is on a distinguished road

Talking Anna's Tip #3: Designing the look of your site
Templates determine the look of your site, or of different sections of your site. If you go to the Template page of your admin (Site -> Template Manager -> Site Templates), you will see a few templates listed. Try clicking on one (the buttons to the far left, not the template name) and then clicking the “default” icon in the toolbar. Then browse to your site to see how the template changed the look of your site.

What is a Template? Templates are sets of files that determine the look of your site. The main file is “index.php,” which includes html code for layout elements like tables, your logo, etc, and inserts php code for dynamic elements. The next most important file is the style sheet or css file, which determines fonts, colors, and borders for each element in the site.

Check out this visual of your “index.php” file:
http://www.annacallahan.com/images/template_layout.gif

“header.jpg” is your logo. “body” is a block that will contain content. The orange blocks in the figure are Positions, which you can place in table cells. Remember that these Positions can contain any number of modules, and those modules can be turned on and off . (Imagine that in the “top” position you have a search module and a date module, for example, and in the “left” position you have a menu and a login.) When you make a template, you’re just setting aside the space on the page by inserting a position. The positions are placed in the table cells of your website with php code that looks like this: <?php mosLoadModules ( 'left' ); ?>

The style sheet. Your template also has a style sheet that controls the fonts, colors, borders, etc. of each element of the page. Here are some explanations of the naming convention:
for download - http://www.mambohut.com/index.php?op &filecatid=107.
on the web - http://www.mambonotes.com/content/view/30/101/
with visuals - http://www.mamboos.de/Mambo_CSS_Guide/

Well, that’s the basic explanation of templates. The following are specific instructions on downloading or designing templates:

Downloading templates. I haven’t used other people’s templates, but I’m sure there are lots of places you can get them. Start at http://mambohut.com/.

Designing templates. Mambo Templates & Tutorials.
If you want to design your own and use Dreamweaver, I recommend this tutorial: www.mambosolutions.com/dw_tutorial/. It will guide you through downloading a Dreamweaver extension that allows you to design templates there. It also recommends you download MSAS, the Mambo Stand Alone Server, which essentially puts a mini-server with MySQL & Apache right on your computer so that you can see your template before uploading it to the web. If you come across a more current or better or shorter tutorial, please let me know!)[/i]

Now that you’ve got a template, we’re going to put some modules in the positions you just created.
Next tip: Modules and pages.
Last edited by hazman : August 22nd, 2006 at 03:29. Reason: Outdated Links
jazztpt  
jazztpt
 
Send a private message to jazztpt
  jazztpt
Old May 9th, 2005, 10:11 #5
jazztpt

jazztpt's Avatar

 Mambo Tips  May 2005
 Mambo how too  62
jazztpt is on a distinguished road

Talking Anna's Tip #4: Modules and pages
If you want an explanation of what Modules are, see tip #8. This tip is to introduce them to you, since you have your positions lined up in your template. Modules are little magic boxes that contain dynamic content. Go to Modules -> Site Modules in your Mambo admin. Here you will see a list of the modules that come with your Mambo installation.

You will notice that all of your menus are modules. Your login form is a module – it lets users sign in so that they can update or add content right from the website. Latest News is a module that gives links to the most recently added news items (content in the News category). Pretty much anything that involves linking or user input is a module. And there are tons of modules you can download and install, so you’re not limited to the ones that you have now (see tip #8 for more info).

Look across the table till you get to the Position column – this tells you what position (what block) that module is in (Positions are covered in tip #3). If you click on one of the module names to edit it, you will see an option to change the position it is in (under Module Details). Go ahead and move these around into different positions and go see it live on your site. Pretty cool, no?

You can also turn modules on or off on specific pages. Remember, the position only saves space for the modules, it doesn’t control whether modules show or not.

Pages. Are you sitting down? Because I’m about to lay one on ya. Ready? Web pages don’t exist. At least not in Mambo. When you think you’re looking at a web page, Mambo thinks you’re looking at a menu item. In fact, there’s no way in Mambo to see what is on a particular page, where the positions are, what modules are in what positions, what content shows, etc. Because Mambo doesn’t believe in pages! Frankly, I think it’s silly – the page is the fundamental unit of the web. But re-orient your brain, because Mambo is plugging its ears and singing “la la la la.”

To turn modules on or off in specific pages, you have to link them to menu items. Fortunately that is right in the Edit Site Module page (Modules -> Site Modules, then click on a module to edit it.) There is a tab on the right called Locations, and you can highlight as many Menu Item Links as you want. This does mean that you can’t control modules until you’ve linked your content, which we won’t do for another two tips! But there you have it, that’s Mambo.

The moment you’ve all been waiting for! Let’s add content.
Next tip: Adding text and images.
jazztpt  
jazztpt
 
Send a private message to jazztpt
  jazztpt
Old May 10th, 2005, 14:35 #6
jazztpt

jazztpt's Avatar

 Mambo Tips  May 2005
 Mambo how too  62
jazztpt is on a distinguished road

Talking Anna's Tip #5: Adding text and images
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 Mambo-style (tip #2), so now you want to create content in the Categories you already have (which are inside Sections you already have).

TinyMCE. Mambo 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:

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"
And when you click read more, you'll get the actual review.
Just select 'hide intro text' on the parameters.

Very exciting option that gives much more functionality to the two panes concept.

Thanks, RedSoxCoder! (Go Sox!)

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.
• Don’t try to drag and drop images from the “images” tab into your wysiwyg editor. Though this appears to work, what you see is not what you will get. It only inserts thumbnails into the content, so when you look at the actual page on your site, tiny little images will appear instead of the regular image.

There is a MAGIC BUTTON that you have to click for anything to work. That magic button is – not in the editor, where you might think, and not in the “images” tab either. Below the editor, there are two little flowers, one with an “I” and one with a “P”. When you mouse over them, there is no help text to tell you what they’re for. Click on the “I”. It will insert the following text into your content: {mosimage}. Once you do that, the “images” panel on the right is suddenly useful! Thank the gods. Now go to that panel and find your image. When you click on the “add” button, that image is listed below under “Content Images.”

Each time you click the MAGIC “I” button, {mosimage} 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 {mosimage}? 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/showthr 412#post243412

So now you have content – great! Now on to linking up your pages.
Next tip: Linking.
jazztpt  
jazztpt
 
Send a private message to jazztpt
  jazztpt
Old May 10th, 2005, 14:38 #7
jazztpt

jazztpt's Avatar

 Mambo Tips  May 2005
 Mambo how too  62
jazztpt is on a distinguished road

Talking Anna's Tip #6: Linking
There are two ways to link from page to page: menus & links. In most web design (whether you use a wysiwyg editor or not), it’s easier to link text or images to another web page than it is to set up a menu. As with everything else, Mambo is the opposite. Menus are pretty easy -- linking, not so much.

Menus. Menus are modules (for more about modules, see tips #4 or #8 ). A few menus come with your Mambo installation (main, top, other, and more). Since they are modules, you can place them in positions in your template. One thing to remember about menus is that you can’t create a link until you’ve created content.

You can add menu items (links) from the content, or from the menu manager. From a content item (Content -> Content Managers -> All Content Items [or choose your cagetory], then click on the content item to edit), there is a tab on the right called Link to Menu. It will let you choose any or all of the menus, and tell it what words you want to appear in the menu. I think this is the easiest way to link menus to content you have created.

You can add or remove links from a menu (Menu -> [choose menu]). Remove links by trashing them (don’t worry, it doesn’t delete your content, just the link). Add links with the “new” button on the toolbar. It will give you a number of choices that determine both what type of content you are linking to and how you want that content to appear.

New Menu Items: How - What
The list looks like this:
Blog - Content Category
Blog - Content Section
Link - Contact Item
etc.
The first word tells how it will appear on the page. A blog page contains multiple pieces of content, but only shows the "intro" text of each item (with a link to see the full item on another page). A link will go directly to whatever item you specify. A table contains multiple pieces of content in table format. A separator doesn't link to anything. And see this thread for info on wrappers (thanks DRD!):
http://forum.mamboserver.com/showthread.php?t=43536
The second word tells what will appear on the page. Content or Section, outside url or newsfeed, contact item or static content or newsfeed. (So many options!)

Before you make too many menus, remember that menus are modules, and that Mambo already has a lot of built-in modules. If you want to build a menu for news items, for example, then stop! It's already done. The "Latest News" module displays links to the most recent n content items in your News categoy. And you don't have to do anything but put that module in one of the positions in your template (tips #3 and #4).

What if I want cool rollover buttons in my menus instead of this boring text? Well, I haven't tried it yet, but I understand that this component will do just that:
http://mamboforge.net/projects/swmenu/

Linking. If you want to link text or images in content to another page in your site, the first thing to do is to get one of the "nice url" components. I recommend SEF404:
http://mamboforge.net/projects/sef404/. If you look at the web addresses of your pages, you'll notice that they have non-intuitive names ending in something like /view/25/64/. SEF404 will make all of your page addresses nice, based on the title of your content and category (or section).

Now that you have "nice" urls, you will have to copy and paste. Open your browser and go to the page on your site you would like to link to. Highlight and copy the url. Now go to your Mambo admin, and go to the content you want to link from (Content -> All Content Items [or choose category], and edit the content item). Highlight the text or image you want to link, and click the "link" button in the editor. Paste the url in the popup box, and voila, your text is linked. (Hey, let me know if there is an easier way to do this….)

You should be able to actually make a site now. Yay!! But wait – there’s more….
Next tip: Blogs; Your front page
jazztpt  
jazztpt
 
Send a private message to jazztpt
  jazztpt
Old May 11th, 2005, 13:32 #8
jazztpt

jazztpt's Avatar

 Mambo Tips  May 2005
 Mambo how too  62
jazztpt is on a distinguished road

Talking Anna's Tip #7: Blogs; Your front page
Someone recently asked me for more specifics about making blogs, so here is my description:

Blogs
Mambo can create a blog out of any category or section you choose. Blog simply means that the page displays the titles and intro text to items in a category (or section), and links to full text. And you can make any page a blog.

1. Create a category called "Thoughts" (or whatever name you want). See tip 2 for more info on categories.

2. To create the blog page, create a menu link. (Remember, in Mambo there are no pages - just menu items [tip 4].) Edit your main menu and click on New. It will give you a bunch of items (see tip 6, linking) - pick Blog - Content Category. Then name your page and choose the "Thoughts" category. Don't forget to look at the Parameters tab in your menu item to control things like how many columns to use for the intros & other useful stuff.

Your Front Page
[I just read this on the forums and thought it was very helpful. http://forum.mamboserver.com/showthread.php?t=42870 Here it is in mperkel’s words:]

Understanding Blogs

One mistake I made was to assume that the front page manager had something to do with the front page - it doesn't. Mambo has the object called a "blog" and the center of the front page is one of these blogs.

The "blog" is a very unusual and powerful object once you understand it. By default the first object in the blog is full width (one column) and the next 4 object are 1/2 width (two column). After that - there are links to the next blog articles and pages of clusters of more blog items.

This blog thing is totally customizable and if you want to actually use it as a blog what you do is change the settings. You do this by going into the menus and selecting the mainmenu. Then you configure it by changing the leading, intro, and colums settings. I just put in 999 into leading to get a one column vertical blog.

A blog also points to a collection of content items. There are both sections and categories that are collections. So a blog is associated with a list and you create the list of the content as a section and then have a blog object pointing to the list and put the blog object into the main menu and you have a new blog.

The Front Page

Whatever the first item in your main menu is - this item becomes your front page. Once you understand this it eliminates a lot of confusion. If you choose something for the first menu item other than the standard entry then the "front page manager" is totally useless because what is says is on the front page isn't - and what is on the front page isn't listed in the front page manager.

Thanks, mperkel!
Next tip: Modules, Components, and Mambots.
jazztpt  
jazztpt
 
Send a private message to jazztpt
  jazztpt
Old May 11th, 2005, 13:42 #9
jazztpt

jazztpt's Avatar

 Mambo Tips  May 2005
 Mambo how too  62
jazztpt is on a distinguished road

Talking Anna's Tip #8: Modules, Components, and Mambots
Mambo is designed to be expanded. Though it has a lot of built-in features, there are hundreds of others that you can download and incorporate into your Mambo admin.

What is the difference between Modules, Components, and Mambots?

Modules are simple plug-ins that present information on your site. Menus are modules. Polls are modules. The user sign-in is a module. Modules can be added to Positions, and will appear on your web site.

Components are applications. They add functionality to your Mambo admin. So when you want to add newsletter functionality to your Mambo site, you will probably install both a Component and a Module. When you add a component, you'll see it under the Components menu, and when you go there, you'll see a whole new set of admin pages designed to help you set the features of that component.

Mambots are small, task-oriented functions that intercept content before it is displayed and manipulate it in some way. Mambo provides a number of Mambots in the core distribution. For example, mosimage converts {mosimage} tags to html img tags; mospagebreak provides pagination and table of contents functionality. You're less likely to need a mambot than a component/module set.

Add-on is a non-technical term for cool stuff that doesn’t come with the Mambo installation. Add-ons usually consist of both a component and a module, but are sometimes just modules, or might include a mambot.

Where can I get add-ons? Mambo has a whole site dedicated to them: http://mamboforge.net/. Unfortunately, the descriptions of them are generally poor, and it's hard to find the right one or compare different add-ons. If only they would require all add-ons to include a good description and a features list and how about a rating system? (Hint, hint.)

I was reading one of the forums and came across a great list of of “must have” add-ons. This list is taken from this thread written by beat, with a few additions of my own: http://forum.mamboserver.com/showthr 0&page=4&pp=10

• Clean URLs: 404sef
• Nice user registration and management: Community Builder (written by mambojoe)
• Downloads management: DOCMan (Remository seems also good)
• Newsletters: YaNC (although simpler ones exist also)
• Automatic site-mapping: SiteMap
• Nice forms: easy forms: Art*Forms, complex forms: FacileForms
• bulletin board: easy and best integrated: SimpleBoard (for more heavy duty traffic: Simple Machines Forum and phpBB are becoming better integrated with Mambo currently. vBulletin seems not easy to configure and integrate but powerful, it runs also this site).
• E-commerce: phpShop or mosCommerce : integration of later moves fast now, making it soon a good choice
• Events management and sheduling on calendars: Events Calendar.
• Drop-down menus with images & more: SWMenu. http://www.swonline.biz/
• Insert multimedia objects like video, audio & more: MosMedia. http://www.ag-solutions.net/content/view/23/45/
• Private messaging:MyPMS open-source
• MultiLingual support: MambelFish and future Mambo 4.5.3.
• Photos galleries: good question  candidates are: RSgallery, Menalto Gallery 2 (seems best, mambo integration on its way), zOOm (nice integration, but no news on dev.&debugging?).

Thanks beat!

Now, if you have gotten this far and are still frustrated with Mambo’s peculiarities, I’m hoping the next chapter will answer some of your questions.
Next tip: Where is it??
jazztpt  
jazztpt
 
Send a private message to jazztpt
  jazztpt
Old May 26th, 2005, 11:52 #10
jazztpt

jazztpt's Avatar

 Mambo Tips  May 2005
 Mambo how too  62
jazztpt is on a distinguished road

Talking Anna's Tip #9: Where is it??
This tip is designed to help you find things that are on your page, you’re looking right at them, but can’t find where they exist in Mambo. If you’ve read the other chapters and are still looking for the contact page or how to change the look of a category page, this is the chapter for you.

Contact Us. When you install Mambo, the main menu comes with a link called Contact Us. What displays on the Contact Us page is the information in your Contacts (go to Components -> Contacts -> Manage Contacts to create or edit contacts). If you want to show only one contact instead of the list of all contacts, you can create a link to only one contact.

To create a contact link, open your main menu (or whatever menu you’d like the link to be in) and click “new” in the toolbar. On the next screen, choose Link – Contact Item. It will then let you choose which contact to link to. The information for this contact will appear on the Contact Us page as well as this link.

If you want to change the form part of your contact page, you'll have to install a form component (such as Art*Forms). It will allow you to add various form items (text input, radio buttons, dropdown lists) & process them in various ways.

Category & Section pages. If you create menu links to categories or sections, how can you alter those pages? You must remember that in Mambo, there are no pages – only menu items. So go to the menu item and change the parameters there. For example, if you have a link to a category page or section page, Mambo automatically displays certain search options (the “Filter” “Order” and “Display #” you see above the item list). You can show or hide those by going to the menu the link is in, editing that link, and going to the Parameters tab.

Please let me know what things you have wasted time looking for because they’re in some non-intuitive place – I’ll post it here!
__________________
Yours,
Anna
www.myideal.net
Come see my Mambo Tips under "Tips & Tricks"
jazztpt  
jazztpt
 
Send a private message to jazztpt
  jazztpt
Old June 10th, 2005, 05:19 #11
stingrey

 Mambo Tips  Oct 2003
Location: Marikina, Manila, Philippines
 Mambo how too  5,153
stingrey is on a distinguished road

Default
To keep this excellent tutorial guide as succinct as possible, can you post all feedback, praise, suggestion here:
http://forum.mamboserver.com/showthread.php?t=48065

Keep up the great work Anna
__________________
All my posts are copyright © Rey Gigataras [aka stingrey] and cannot be be reproduced without permission

Former Mambo Core Team Member July 2004 - August 2005
Last edited by stingrey : June 13th, 2005 at 07:55.
stingrey  
stingrey
 
Visit stingrey's homepage!
  stingrey
Old June 16th, 2005, 09:29 #12
jazztpt

jazztpt's Avatar

 Mambo Tips  May 2005
 Mambo how too  62
jazztpt is on a distinguished road

Talking Anna's Tip #10: Participating in the Forums
Hello All!

I hope this has been helpful to you. I'm sure there are many unanswered questions and other ways in which this tutorial could be improved. So this tip is a thinly-veiled (or is it even veiled at all?) attempt to get your help in improving them.

If you have any suggestions for changes or tips of your own, please post them in this thread:
http://forum.mamboserver.com/showthread.php?t=48065
I will of course thank you in the tips for any contributions!

In general, the forums are a great way to get help with Mambo. It is always best to search first before posting -- someone else may have answered it already. If you can't find the answer, post a thread. I must admit that I don't find the division of forums to be very intuitive. Almost all of my questions fall into either General Questions or Operating Mambo: Administration Questions. But often you can find the right forum through your search (just look at where similar posts have been placed).

Most importantly, if you come across any thread that you can help with, help! Even if it is old, other people may still be searching for that information.

So let me know what other general questions you have, and contribute to the Mambo forums. The easier you make Mambo for others, the more others will want to help you too!
__________________
Yours,
Anna
www.myideal.net
Come see my Mambo Tips under "Tips & Tricks"
jazztpt  
jazztpt
 
Send a private message to jazztpt
  jazztpt
Old August 16th, 2005, 11:26 #13
rkhare

 Mambo Tips  Aug 2005
 Mambo how too  12
rkhare is on a distinguished road

Default
when is version 5 expected????
rkhare  
rkhare
 
Send a private message to rkhare
  rkhare
Old August 16th, 2005, 11:30 #14
jazztpt

jazztpt's Avatar

 Mambo Tips  May 2005
 Mambo how too  62
jazztpt is on a distinguished road

Default
[quote=rkhare]
Quote:
Originally Posted by jazztpt
The current version of Mambo has a static hierarchy: you have to divide your content into three levels, no more, no less. Version 5.0 should have dynamic folder hierarchy – if you want just one level, you can have it. If you want ten, you can have that too. But for now, you will have to use the three level system: Sections, Categories, and Content.



do we have multilevel in current version now ????
Version 5.0 should have dynamic folder heirarchy. The current version is 4.5.2. So no, multilevel is not in the current version, it will be in 5.0.
__________________
Yours,
Anna
www.myideal.net
Come see my Mambo Tips under "Tips & Tricks"
jazztpt  
jazztpt
 
Send a private message to jazztpt
  jazztpt
Old August 22nd, 2005, 10:33 #15
pixelsoup

 Mambo Tips  Aug 2005
 Mambo how too  1
pixelsoup is on a distinguished road

Unhappy
Hey Anna,

Great tutorials but I have a question being new to Mambo  ..how does one put content items somewhere other than the mainbody i.e. in the other positions  left or right or user1 etc..??
pixelsoup  
pixelsoup
 
Send a private message to pixelsoup
  pixelsoup
Old August 23rd, 2005, 06:47 #16
jazztpt

jazztpt's Avatar

 Mambo Tips  May 2005
 Mambo how too  62
jazztpt is on a distinguished road

Default New Home
Hi Guilliam,

I just checked out OSM, and it looks great. I'm happy to post my stuff there if people want it, but there doesn't seem to be a particular place for it. I don't really know what's going on feel free to let me know what's best.
Thanks!

Quote:
Originally Posted by guilliam
hi pixel.. pls move into OSM. please check the URL in my signature.. welcome aboard *ambo btw!

@jazztpt,.. haven tseen you in he new home yet.. we are eagerly waiting for you there!


guilliam
__________________
Yours,
Anna
www.myideal.net
Come see my Mambo Tips under "Tips & Tricks"
jazztpt  
jazztpt
 
Send a private message to jazztpt
  jazztpt
Old August 24th, 2005, 01:30 #17
pejacobsen

 Mambo Tips  Aug 2005
 Mambo how too  4
pejacobsen is on a distinguished road

Default
Hi,
Your "Tips & Tricks" really gives newcommers to Mambo a jumpstart.
However I would appriciate if you could help me out in creating a sub-menu to the menu items in the main menu module.

Thanks and regards,
Peter
pejacobsen  
pejacobsen
 
Send a private message to pejacobsen
  pejacobsen
Old August 25th, 2005, 07:54 #18
fishy_pkat151

 Mambo Tips  Aug 2005
Location: Germany
 Mambo how too  2
fishy_pkat151 is on a distinguished road

Default linking without link-component
 
http://mamboforge.net/projects/sef404/. If you look at the web addresses of your pages, you'll notice that they have non-intuitive names ending in something like /view/25/64/. SEF404 will make all of your page addresses nice, based on the title of your content and category (or section).

Now that you have "nice" urls, you will have to copy and paste. Open your browser and go to the page on your site you would like to link to. Highlight and copy the url. Now go to your Mambo admin, and go to the content you want to link from (Content -> All Content Items [or choose category], and edit the content item). Highlight the text or image you want to link, and click the "link" button in the editor. Paste the url in the popup box, and voila, your text is linked. (Hey, let me know if there is an easier way to do this….)

 

sure  open as admin the HTML-Code with TinyMCE and insert the link
as html  <a href . .etc  like you know it from html

sure its not userfriendly, but a fast way to insert a link.

btw  mambo developers should fix this behaviour, cuz I think this is not the way the framework wants to run LOL

__________________
Greetinx,

Fishy_pkat151
><////">-~
fishy_pkat151  
fishy_pkat151
 
Send a private message to fishy_pkat151
  fishy_pkat151
Old August 25th, 2005, 11:22 #19
pejacobsen

 Mambo Tips  Aug 2005
 Mambo how too  4
pejacobsen is on a distinguished road

Thumbs up An easier way to create sub menues
Hi I found an easier way than the one you describe.

Create your new Content e.g. Static Content via 'Content - Static Content Manager' and then 'New'.

At your right hand side you find the Tab 'Link to Menu'. Select 'Main Menu' and then type the name of the Sub Menu of your choice. Press the 'Lin to Menu' button and you will hopefully get a message that your sub has been created (will create an new Menu item at top level at the Main Menu despite you type a name that already exists  )

Go to the 'Menu - Main Menu' and select to edit the new menu item. Under 'Details' you find 'Parent Item'. Change 'Parent Item' to the top level menu item you would like your sub to appear under.

And voila !
pejacobsen  
pejacobsen
 
Send a private message to pejacobsen
  pejacobsen
Old September 2nd, 2005, 09:40 #20
jvismara

 Mambo Tips  Aug 2005
 Mambo how too  2
jvismara is on a distinguished road

Default thanks God there is simple HTML !
Hi,
Kind of giving up on Mambo  here SOME reasons

 Note: If you want newsfeeds, polls, or blogs on your site, Mambo is great! But you must expect to spend time learning it.

I don't need newsfeeds nor blogs  time learning it? not good !

 Each page of your site will contain various blocks of content (these blocks are called Positions). You set the layout for pages with a Template (more about Templates in tip #3), including the placement of blocks on the page as well as fonts, colors, & backgrounds. Then you place modules in the blocks (more about Modules in tip #4). Finally, you add content and assign it to the main body of your pages

WHAT are we talking about ? no existing word in English is used AS IS, but they change the meaning? Keep reading

 Sections are big containers. They hold Categories. Categories are little containers; they hold Content. All the text & images you want to appear on a page are Content.
and
 there is a way to create content that is not in a section or category – it’s called “static content.” This doesn’t mean static as in static vs dynamic, it just means that it is not assigned to a section or category.

WHAT are we talking about ?

 Modules are little magic boxes that contain dynamic content.

WHAT are we talking about ?

 I once spent two hours just trying to place an image in the content.
 First you need to upload your images into the Media Manager.
 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.
 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.
• Don’t try to drag and drop images from the “images” tab into your wysiwyg editor. Though this appears to work, what you see is not what you will get. It only inserts thumbnails into the content, so when you look at the actual page on your site, tiny little images will appear instead of the regular image.
 There is a MAGIC BUTTON that you have to click for anything to work. That magic button is – not in the editor, where you might think, and not in the “images” tab either. Below the editor, there are two little flowers, one with an “I” and one with a “P”. When you mouse over them, there is no help text to tell you what they’re for. Click on the “I”.

WHAT are we talking about ?

This introduction has been GREAT and save me many many many days of horror  Thanks Anna!

thanks God there is simple HTML !

was very intrigued with your reply.. and hope youre still smiling,.. for personally i cant stop laughing my ar$e out on the floor when i browsed your sig.

° http://JorgeVismara.net - digitally captured emotions
° http://Pelourinho.com - about the Brazilian culture

are you open for improvements and/or opinion from community members for those websites in your signature?

and thanks God indeed YOU FOUND simple HTML...!
no wonder.


.
guilliam is offline
guilliam
View Public Profile
  guilliam
Old September 2nd, 2005, 19:01 #22
jvismara

  Aug 2005
  2
jvismara is on a distinguished road

Default
Hi Guilliam,
feel free to comment/critize/apologize/energize/oranyotherize you want...

Pelourinho.com is about 10 years old... accumulated more than 80,000 files in it, so it's nearly impossible to make reasonable changes without a huge time investment that I don't have.

JorgeVismara.net is only 2 years old and is very simple, both the purpose and the content... so I wonder if what I want to add is worth the time to learn and to implement it.

so... you were saying?

Quote:
Originally Posted by guilliam
hello jorge! indeed keep smiling..

was very intrigued with your reply.. and hope youre still smiling,.. for personally i cant stop laughing my ar$e out on the floor when i browsed your sig.

° http://JorgeVismara.net - digitally captured emotions
° http://Pelourinho.com - about the Brazilian culture

are you open for improvements and/or opinion from community members for those websites in your signature?

.
jvismara is offline
jvismara
  jvismara
  jvismara
Old September 2nd, 2005, 19:32 #23
guilliam

guilliam's Avatar

  Apr 2005
Location: sunny city, CEBU!, Philippines.
  408
guilliam is on a distinguished road

Default
OT:

(with your indulgence ms anna for this off topic post)

Quote:
Originally Posted by jvismara
Hi Guilliam,
feel free to comment/critize/apologize/energize/oranyotherize you want...

Pelourinho.com is about 10 years old... accumulated more than 80,000 files in it, so it's nearly impossible to make reasonable changes without a huge time investment that I don't have.

JorgeVismara.net is only 2 years old and is very simple, both the purpose and the content... so I wonder if what I want to add is worth the time to learn and to implement it.

so... you were saying?
oh well hello jeorge, as i were saying,.. there's no point to discuss on your stand,.. youre not open anyway.

you talk so much about "time investment" while you overlook the ease of use with CMS and oversaw the potential "investment" per se.

no point to argue. period.

by the way, please avoid OFF TOPIC posts.
guilliam is offline
guilliam
View Public Profile
  guilliam
Old October 4th, 2005, 08:58 #24
Techno

  Oct 2005
Location: Netherlands
  4
Techno is on a distinguished road

Default Is this possible?
Maybe a dumb question. But before I'm going to put some time in something that isn't possible I want to ask you if it's possible to put this site: www.taksonline.nl in the mambo cms. (especially the menu)

Thnx! Vincent
Techno is offline
Techno
  Techno
  Techno
Old October 9th, 2005, 22:26 #25
Theprincy
Super Mod

Theprincy's Avatar

  May 2005
Location: Paestum (SA) ITALY
  2,615
Theprincy is on a distinguished road

Default
Quote:
Originally Posted by Techno
Maybe a dumb question. But before I'm going to put some time in something that isn't possible I want to ask you if it's possible to put this site: www.taksonline.nl in the mambo cms. (especially the menu)

Thnx! Vincent
yes is possible and facile
__________________
PowerPcweb
Vendita - Assistenza - Sviluppo Software - Hosting - Siti Web
www.powerpcweb.it -- Mambodemo.it -- www.revhost.eu




Theprincy is offline
Theprincy
  Theprincy
Visit Theprincy's homepage!
  Theprincy
Old October 11th, 2005, 08:12 #26
Jerubaal

  Sep 2005
  15
Jerubaal is on a distinguished road

Red face Appreciate Your Guide Anna! Short ? On Modifying Templates
Hi Anna,

I appreciate the time you put in helping us newbies get informed about Mambo. I read through your tips, searched the forums and bought a new book, "Building Websites with Mambo" but have not been able to get an answer to a basic question: If I download a Mambo template and want to modify the Logo (because my client is not Mambo) and replace it with something more specific to his site, how do I go about doing that?

Am I limited to writing code? I saw your reference to the Dreamweaver MX Tutorial for new templates. Is that what I need if I want to design something specific for my client? i must be missing something huge somewhere.. Thanks for taking time to help. I am really stuck!
Jerubaal is offline
Jerubaal
  Jerubaal
  Jerubaal
Old October 11th, 2005, 09:24 #27
jazztpt

jazztpt's Avatar

  May 2005
  62
jazztpt is on a distinguished road

Default
Quote:
Originally Posted by Jerubaal
basic question: If I download a Mambo template and want to modify the Logo (because my client is not Mambo) and replace it with something more specific to his site, how do I go about doing that?
I haven't had to do this in a while, but my recollection of it is this. You will need to go into the index.php file and change the name of the image file to the new one you want to use. Then open the templateDetails.xml and change the name there as well. You can then ftp those two files back to their original locations.

Hope this helps,
Anna
__________________
Yours,
Anna
www.myideal.net
Come see my Mambo Tips under "Tips & Tricks"
jazztpt is offline
jazztpt
  jazztpt
  jazztpt
Old October 11th, 2005, 10:34 #28
Jerubaal

  Sep 2005
  15
Jerubaal is on a distinguished road

Default Thanks Anna for Responding! But just one embarrassing Question?
You Wrote:

You will need to go into the index.php file and change the name of the image file to the new one you want to use. Then open the templateDetails.xml and change the name there as well. You can then ftp those two files back to their original locations.

I am currently working directly on a remote server not on my local machine.

Can you tell me how to navigate to these files? (index.php and templatedetails.xml)

Thanks

David
Jerubaal is offline
Jerubaal
  Jerubaal
  Jerubaal
Old October 11th, 2005, 16:39 #29
gang_green

  Aug 2005
  11
gang_green is on a distinguished road

Default God Send
Your tips came at the right time. I was finding myself deeper and deeper in a clutter. I was attempting to figure Mambo out myself, but all I was doing was creating alot of clutter. Thanks for the help. The clouds have parted and there is sanity back at my desk.
gang_green is offline
gang_green
  gang_green
  gang_green
Old October 13th, 2005, 06:11 #30
jazztpt

jazztpt's Avatar

  May 2005
  62
jazztpt is on a distinguished road

Default
Quote:
Originally Posted by Jerubaal
I am currently working directly on a remote server not on my local machine.

Can you tell me how to navigate to these files? (index.php and templatedetails.xml)
This is always done remotely. You should be able to ftp your site. The templates are kept in a folder called templates; each named template has its own folder. So in my site I go to the www/templates/our_main_template/, the files are in that folder.

If you have trouble getting into those folders your permissions might be set wrong, at which point I suggest you read through some of the tutorials I mention in the templates tutorial.
Anna
__________________
Yours,
Anna
www.myideal.net
Come see my Mambo Tips under "Tips & Tricks"
jazztpt is offline
jazztpt
  jazztpt
  jazztpt
Old October 17th, 2005, 07:17 #31
Atombi

  Oct 2005
  21
Atombi is on a distinguished road

Default
Hi Jazztpt

First, thank-you for posting this info. I have search for info on inserting images and your post is the closest thing to an answer. I tried the steps you said but all I get on my webpage is the text {mosimage} and no pic. Any suggestions? I am using ver. 4.5.2.
Atombi is offline
Atombi
  Atombi
  Atombi
Old October 18th, 2005, 07:01 #32
aboich

  Oct 2005
  1
aboich is on a distinguished road

Default
In uploading pictures on my website, I received a 500 Server Error message. I have no idea how to correct this problem.
aboich is offline
aboich
  aboich
  aboich
Old October 18th, 2005, 08:27 #33
Atombi

  Oct 2005
  21
Atombi is on a distinguished road

Default Inserting Images Problems, in Mambo
Hi Jazztpt

I finally figured out a partial solutions to inserting pictures into my website. It was the clue you gave about the flowers. I tried it and it worked but it only works when a registered user logs into the site. If a visitor comes to the site they will only see the text and not the pictures. Any suggestions
Atombi is offline
Atombi
  Atombi
  Atombi
Old October 20th, 2005, 16:34 #34
melgoza

  Oct 2005
  1
melgoza is on a distinguished road

Default
How do you add flash files?
melgoza is offline
melgoza
  melgoza
  melgoza
Old October 22nd, 2005, 15:36 #35
dhom

dhom's Avatar

  Mar 2005
  193
dhom is on a distinguished road

Default
Great tips! Thank you!
dhom is offline
dhom
  dhom
  dhom
Old October 24th, 2005, 07:30 #36
Busface

  Oct 2005
  1
Busface is on a distinguished road

Default
I registered just so I could say, "I love you."

fantastic resource!! I'm no dummy when it comes to site design, HTML, CSS and even PHP. But the initial steps in setting up--just setting up, mind you--were baffling.

In other threads it's been opined that stuff has been left out of the documentation because the authors just took it for granted that what was clear to them was clear to everyone, when in reality it was clear to them, God and nobody else.

I never had a problem butchering or home-rolling templates, but there was absolutely NOTHING that described the basic steps in just getting Mambo up and running.

Sections? Categories? Which is the cart and which is the horse?

Menu positions? Wha? Where? Again, NOTHING to indicate where one could go. After clicking on so many menu items, it was very difficult keeping track of where one has been short of writing it down--and this is the intarweb! Who writes stuff down? paper? what is this "paper" of which you speak?

I think one major problem with mambo, its obvious uses notwithstanding, is the user interface really, actually, sucks. It's not intuitive, and related operations are scattered hither and yon.

One small example: once a new menu is created, then there should be, right there where one has set up or is setting up the new menu the options for positioning it.

That's one beef I have. I don't have time right now to make a list, but it would be fairly extensive.

So I'll shaddap now and say again, bless you!
Busface is offline
Busface
  Busface
  Busface
Old November 7th, 2005, 10:29 #37
habuchas

  Mar 2005
Location: N. California
  23
habuchas is on a distinguished road

Default
what is the the code that cause a cell not to appear if it is empty?
habuchas is offline
habuchas
  habuchas
  habuchas
Old November 9th, 2005, 05:14 #38
tudorilisoi

tudorilisoi's Avatar

  Aug 2004
Location: Romania
  6
tudorilisoi is on a distinguished road

Default
Hi Anna!
I would very much like to compile your tips on my new teachmeJoomla.com website (not yet online, will be up Dec 2005).
I would like to have your approval, and I don't know who is the legal owner of this forum's content. I hope both issues will get positively resolved.
The site will be yet another Joomla-oriented (and joomla-powered) website.
Please reply. Thank you.
Last edited by tudorilisoi : December 16th, 2005 at 04:08.
tudorilisoi is offline
tudorilisoi
  tudorilisoi
Visit tudorilisoi's homepage!
  tudorilisoi
Old December 15th, 2005, 12:14 #39
red3

  Dec 2005
  7
red3 is on a distinguished road

Smile Quotes
Hey Anna,
Thanks a whole lot for all the tips, they were very helpful. I have a question though.
How would you go about setting up a quotation of the day to appear on your home page? I need a "question and answer" and then just a quote.
Thanks a lot,
red3
red3 is offline
red3
  red3
  red3
Old December 15th, 2005, 17:00 #40
habuchas

  Mar 2005
Location: N. California
  23
habuchas is on a distinguished road

Default
Anna:
I would like to build a 'bare bones' site for a friend such that the only things available to him on the 'admin' panel wouild be only those things that are specific to his site. Once you hand over a site to someone they will invariably 'screw' it up playing with the 'admin' options. Is there a systematic approach to paring down the options available so all the 'bells and whistles' of mambo/joomla are not shown, only the ones for the site.
habuchas

 

Hey Anna,
Thank you so much for the tutorials, tips and tricks, they really helped a lot. But I have a question.
I am trying to delete sections, but I can't be cause they have categories. I try to delete the categorioes, but I can't do that because they have "records." My question is, are records the same as content?
I've already deleted all of the content, but records.....

Thanks a so much,

red3
red3 is offline
red3
  red3
  red3
Old December 16th, 2005, 11:56 #42
FiReStOrM

  Jun 2005
  27
FiReStOrM is on a distinguished road

Default
great tips . thx
__________________
Mauritius
FiReStOrM is offline
FiReStOrM
  FiReStOrM
  FiReStOrM
Old December 16th, 2005, 12:46 #43
Asphyx

  Jan 2005
  2,291
Asphyx is on a distinguished road

Default
Quote:
Is there a systematic approach to paring down the options available so all the 'bells and whistles' of mambo/joomla are not shown, only the ones for the site.
You can give him editor level privs which will remove most of the nuts and bolts access but still give them ability to create edit and approve content items
Asphyx is offline
Asphyx
View Public Profile
  Asphyx
Old December 28th, 2005, 08:31 #44
red3

  Dec 2005
  7
red3 is on a distinguished road

Default Calendar
Hey Anna,
I downloaded the latest calendar module from the Mambo Forge, and then downloaded the latest events component.
I got the calendar to publish, but when I publish events, it doesn't show on the calendar. Would you know how to fix this problem?
Please email me at redavis3@adelphia.net
Thanks,
red3
red3 is offline
red3
  red3
  red3
Old January 16th, 2006, 15:42 #45
'L' plates

  Jan 2006
  4
'L' plates is on a distinguished road

Default
Excellent tips etc. Anna - Thanks!
'L' plates is offline
'L' plates
  'L' plates
  'L' plates
Old January 21st, 2006, 00:00 #46
k3software

  Jan 2006
  25
k3software is on a distinguished road

Default
Hey Anna,

This really help...thanks a lot...

How I just installed a fresh copy of 4.5.3 but none of my "new" buttons not working....new menus, new catagory, new sections etc...
Any tips here..I'm stucked....

Anyboby?

K3
k3software is offline
k3software
  k3software
  k3software
Old January 21st, 2006, 00:09 #47
Thanathos

  Oct 2005
Location: Buenos Aires, Argentina
  28
Thanathos is on a distinguished road

Smile Another way to change/modify the logo in a template
Quote:
Originally Posted by Jerubaal
If I download a Mambo template and want to modify the Logo (because my client is not Mambo) and replace it with something more specific to his site, how do I go about doing that?

Am I limited to writing code? I saw your reference to the Dreamweaver MX Tutorial for new templates. Is that what I need if I want to design something specific for my client? i must be missing something huge somewhere.. Thanks for taking time to help. I am really stuck!
As Anna said, you can change the files once installed the template, using ftp and remote access.
But there is another way.
You can modify the template before installing it into Mambo.
First, download the desired template to your machine, decompress the files maintaining the directory structure and search for the logo image on the "images" folder using some picture viewing software.
Once you found the file, open it on your favourite image retouching software and make the changes needed to put your customer's logo.
If you save the image without changing any of the parameters of the image (I'm referring to pixel size, name and format of the file) the template will use your modified file as if it were the original.
Then you can recompress the file in zip format and install your modified template as usual.
Thanathos is offline
Thanathos
  Thanathos
  Thanathos
Old January 21st, 2006, 00:16 #48
Thanathos

  Oct 2005
Location: Buenos Aires, Argentina
  28
Thanathos is on a distinguished road

Lightbulb Possible access level problem
Quote:
Originally Posted by Atombi
Hi Jazztpt

I finally figured out a partial solutions to inserting pictures into my website. It was the clue you gave about the flowers. I tried it and it worked but it only works when a registered user logs into the site. If a visitor comes to the site they will only see the text and not the pictures. Any suggestions
Mosimage, as any other mambot, must be published to be available to use.
I think that maybe you have published it with the "Registered" access level.
If this is the case, please change the access level to "Public", this should solve the problem.
Thanathos is offline
Thanathos
  Thanathos
  Thanathos
Old January 21st, 2006, 00:21 #49
Thanathos

  Oct 2005
Location: Buenos Aires, Argentina
  28
Thanathos is on a distinguished road

Smile Search The Forge
Quote:
Originally Posted by melgoza
How do you add flash files?
Go to http://mamboforge.net/search/ and do a search of FLASH. there are lots of projects to integrate flash and mambo, from mambots to components with menus, games, etc.
Thanathos is offline
Thanathos
  Thanathos
  Thanathos
Old January 26th, 2006, 01:49 #50
seldar

  Jan 2006
  1
seldar is on a distinguished road

Thumbs up Great Tips!
Hello Anna,
i'm just a programmer that must develop some modules for mambo, and that fast. Your tips&tricks helped me a lot to understand the Mambo "way to go".
Great explanation!

Thanks.

PS: lovely songs
seldar is offline
seldar
  seldar
  seldar
Old February 2nd, 2006, 11:27 #51
martindudziak

  Feb 2006
  1
martindudziak is on a distinguished road

Default Need help making dynamic changes in headers (co-branding)
I am new to Mambo. Have a site up with a lot of content, understand how to do all the basics with making changes to menus and content as such. Here is my big problem. I have tried to use some PHP code techniques that work fine on non-Mambo sites, for instance with cookies, with global variables, to control what I want, but with Mambo, some things appear to not be refreshed in the headers, for instance, and I am just not seeing what to do.

There is a group of clients that want "co-branding." They want to have the same basic site (menus, content, modules, all the basic services and options for the visitors) but tailored with their specific logo up in the header, and also variations with text, links, etc. for material that will be always up there about the left, right, and center parts of the main body. In other words, the same basic site but with different sponsor-specific data to be displayed in well-defined places, depending on the current "focus" . This "focus" is something that in our scheme will come from one of the following options:

(a) the home page is a subdomain; e.g., abc.oursite.com as opposed to def.mysite.com or the main one, mysite.com
Same basic template always, same styles, fonts, layout, just different logos and text here and there.

(b) a user logs in and has an assigned code, and this value, being a field in a row in a DB table, is used to govern the "co-branding" specifics.

So, for example, in the default header is image foo.jpg, then a user logs in.
Let user1 have code 1, user2 have code 2, and:
if code=1, the header should be redisplayed to have image abc.jpg, but if code-2, the header will now show image def.jpg.

And meanwhile, everything is the same within the content panes of the main body.

I know how to do dynamic stuff in that content, because there, when a content item comes up, it will run any embedded PHP that is in the content item. The problem seems to be that once the headers are put up through index.php of the Template, things never go back there again.
martindudziak is offline
martindudziak
  martindudziak
  martindudziak
Old February 2nd, 2006, 18:10 #52
GeetzRomo

GeetzRomo's Avatar

  Feb 2006
  5
GeetzRomo is on a distinguished road

Default
Anna,
is it possible to create further drill down from a Content Item?
Basically I'd like to have something like this:

Section

Category

Content 1

Content 2

Sub Content A

Sub Content B

Content 3

thoughts?

thanks,

Geetz
Last edited by GeetzRomo : February 2nd, 2006 at 18:19.
GeetzRomo is offline
GeetzRomo
  GeetzRomo
  GeetzRomo
Old February 18th, 2006, 16:30 #53
elvislivz2

  Jan 2006
Location: Vancouver, Miami
  2
elvislivz2 is on a distinguished road

Default Great Job
I have a client running Mambo - a retail store in hip woman's fashion and I nearly had a heart attack after looking at Mambo. The light is slowly coming on - but I still have the urge to fire up DreamWeaver and redo the entire site in straight html/php.

Thanks for the tips!
elvislivz2 is offline
elvislivz2
  elvislivz2
  elvislivz2
Old February 22nd, 2006, 16:41 #54
sjeeps

sjeeps's Avatar

  Feb 2006
  1
sjeeps is on a distinguished road

Default
Nice tutorials, thanks.












http://henawi.com
__________________
~Henawi~
Last edited by sjeeps : February 22nd, 2006 at 16:53.
sjeeps is offline
sjeeps
  sjeeps
Visit sjeeps's homepage!
  sjeeps
Old February 27th, 2006, 20:31 #55
btos

  Feb 2006
  13
btos is on a distinguished road

Default
Quote:
Originally Posted by jazztpt
Templates determine the look of your site, or of different sections of your site. If you go to the Template page of your admin (Site -> Template Manager -> Site Templates), you will see a few templates listed. Try clicking on one (the buttons to the far left, not the template name) and then clicking the “default” icon in the toolbar. Then browse to your site to see how the template changed the look of your site.

What is a Template? Templates are sets of files that determine the look of your site. The main file is “index.php,” which includes html code for layout elements like tables, your logo, etc, and inserts php code for dynamic elements. The next most important file is the style sheet or css file, which determines fonts, colors, and borders for each element in the site.

Check out this visual of your “index.php” file:
http://www.annacallahan.com/images/template_layout.gif

“header.jpg” is your logo. “body” is a block that will contain content. The orange blocks in the figure are Positions, which you can place in table cells. Remember that these Positions can contain any number of modules, and those modules can be turned on and off . (Imagine that in the “top” position you have a search module and a date module, for example, and in the “left” position you have a menu and a login.) When you make a template, you’re just setting aside the space on the page by inserting a position. The positions are placed in the table cells of your website with php code that looks like this: <?php mosLoadModules ( 'left' ); ?>

The style sheet. Your template also has a style sheet that controls the fonts, colors, borders, etc. of each element of the page. Here are some explanations of the naming convention:
for download - http://www.mambohut.com/index.php?op...&filecatid=107.
on the web - http://www.mambonotes.com/content/view/30/101/
with visuals - http://www.mamboos.de/Mambo_CSS_Guide/

Well, that’s the basic explanation of templates. The following are specific instructions on downloading or designing templates:

Downloading templates. I haven’t used other people’s templates, but I’m sure there are lots of places you can get them. Start at http://mambohut.com/.

Designing templates. Absalom Media has a good tutorial on designing templates here:
http://www.absalom.biz/tutorials/Mam..._Tutorial.html
If you want to design your own and use Dreamweaver, I recommend this tutorial: www.mambosolutions.com/dw_tutorial/. It will guide you through downloading a Dreamweaver extension that allows you to design templates there. It also recommends you download MSAS, the Mambo Stand Alone Server, which essentially puts a mini-server with MySQL & Apache right on your computer so that you can see your template before uploading it to the web. Another even more detailed step-by-step tutorial is at:
http://www.allmambo.com/index.php?o...&id=13&Itemid=2 (thanks jetzkr8!).
(Note: some of these tutorials are for 4.5.1. If you come across a more current or better or shorter tutorial, please let me know!)

Now that you’ve got a template, we’re going to put some modules in the positions you just created.
Next tip: Modules and pages.
I was moving along thinking I was making progress by following the links on this page. I downloaded the Mambo Server, MSAS 452. I spent awhile finding the right extension for my version of Dreamweaver to get this program working and streamline the template design process. I was unprepared for what happened next. I opened the executable file for the server and was told that Mambo would be extracted. When I went into Dreamweaver and started preparing the tutorial, I was informed AT THAT POINT, that this was for a 4.51 version of Mambo. I had already begun using the latest 4.53 version and uploaded it to a remote server and had wanted to manipulate the local files to upload to the remote. What a convoluted mess, what with so many versions of incompatible issues with the new version I am completey confused. Did I mention I wasted a LOT of time? I gave this learning curve two weeks but had to opt for an asp site for my intended project, due to the extreme confusion surrounding this program. I bought a domain and host to experiment on too. This is all a little too much as far as organization goes. I want to ask you what I should do about the MSAS server version that seems to have installed Mambo again...an earlier version? Should I remove this or the other standalone 4.53 version- if I want to edit the site locally with Dreamweaver MX?
btos is offline
btos
  btos
  btos
Old February 28th, 2006, 01:29 #56
samasyeo@gmail.c

  Feb 2006
  2
samasyeo@gmail.c is on a distinguished road

Default
Hi Anna,

I'll like to make a section page where nmy members can download/upload files like Mp3 and Mpeg where we can share on the site. But I can't find resources over here. Can you guide me about this? Thanks alot.

Samas
Last edited by samasyeo@gmail.c : February 28th, 2006 at 01:40.
samasyeo@gmail.c is offline
samasyeo@gmail.c
  samasyeo@gmail.c
  samasyeo@gmail.c
Old February 28th, 2006, 08:08 #57
btos

  Feb 2006
  13
btos is on a distinguished road

Default
I didn't get a reply from my post subject but was led here...by email to a resoponse to my inquiry. ...TIP 5... total confusion! My thread was about finding out if the MAMBO server was compatible with the new version of Mambo. AND Is this support only for an older version or the newer version? I cannot post a url to clarify, because there isn't one!
btos is offline
btos
  btos
  btos
Old February 28th, 2006, 08:42 #58
btos

  Feb 2006
  13
btos is on a distinguished road

Default
This simple explanation does not work. I try to enable the tinyMCE and get nothing upon saving. I have no idea what NO WYSIWYG is for but I CANNOT change it.
The interface has:
NAME: No WYSIWYG Editor
FOLDER: editors
MAMBOT FILE: none
MAMBOT ORDER: 0
ACCESS LEVEL: public
RADIO: Y/N

TNY MCE cannot be activated. What a mess this is! Do you have an older version of Mambo? I'm about ready to give up on this.
btos is offline
btos
  btos
  btos
Old March 1st, 2006, 05:30 #59
samasyeo@gmail.c

  Feb 2006
  2
samasyeo@gmail.c is on a distinguished road

Default
How abt if I don't to let members uploading files. But I want to let them listen to the mp3 I've uploaded. If their my members, I'll provide them to download also. Where can I get the resources? Please help. Thanks alot.
__________________
Samas Yeo
samasyeo@gmail.c is offline
samasyeo@gmail.c
  samasyeo@gmail.c
  samasyeo@gmail.c
Old March 2nd, 2006, 14:19 #60
arcticbear

  Dec 2005
  7
arcticbear is on a distinguished road

Default
Thank you, this is an excellent overview of Mambo's functionality. But I do have a question or two regarding sections/categories/content.

Basicly is there anyway to create a "sub-category"? I have a project that would greatly benefit from having the ability to add one more level container.

Secondly, regarding content in a specific section/category. Is there some way to create a template of core information that could serve as an outline for someone that might want to add say a standardized report in that section?

Ideally, I'd like to be able to set up a section, have it hold about a dozen major categories with each one have numerous sub cats. Then have a standard content page that registered users can fill out and submit be held until an editor authorizes it. It seems the Mambo has everything to do that, but I've not figured out the template part yet.

 

Subcategories - Not possible with mambo. It is one of the negatives that ppl usually mention in 3rd party reviews of the this CMS.

as for the 2nd point...not to clear on what you want Submitting news is possible via the frot end..just not sure what you mean by template.
shawn122 is offline
shawn122
View Public Profile
Visit shawn122's homepage!
  shawn122
Old March 2nd, 2006, 14:39 #62
arcticbear

  Dec 2005
  7
arcticbear is on a distinguished road

Default
Thanks,

What I mean is I want a standardized template/form that will come up for content when someone adds content in that section. Things like name, location etc in a standardized formate instead of just a blank html based page.
arcticbear is offline
arcticbear
  arcticbear
  arcticbear
Old March 2nd, 2006, 14:48 #63
shawn122

  Dec 2005
Location: Toronto, Canada
  1,608
shawn122 is on a distinguished road

Default
Ok..I understand now. However, I dont think I can help you out there. What you are asking for would require some hacks to the core code and my php skills are non existent.
shawn122 is offline
shawn122
View Public Profile
Visit shawn122's homepage!
  shawn122
Old March 2nd, 2006, 14:55 #64
Asphyx

  Jan 2005
  2,291
Asphyx is on a distinguished road

Default
Actually there is a way to TRICK the system into appearing to have a 3rd level of sub cats...

It is done via the menu....But doesn't allow table views to be used...

Create a section...then create a bunch of cats under it including 3rd level sub cats
In the top level menu you make a section blog and select all the categories and order them so that they reflect your tree structure desired...
Then make another menu item as a sub menu of that top level link with your main categories! Any category that has 3rd sub level cats should be included in that display!

Then you can make yet a 3rd level menu item with the 3rd level cats only being displayed!

the database and mambo won't know them as 3rd level cats but to the end user they will appear to be part of the main cat but a sub section!
Asphyx is offline
Asphyx
View Public Profile
  Asphyx
Old March 25th, 2006, 07:07 #65
kzoretic

  Mar 2006
  3
kzoretic is on a distinguished road

Default Help with creating pages outside of Mambo
I have just started doing a site with Mambo and have run into a problem. I have some pages that I want to have on my site that are not Mambo. The files that I have uploaded are not showing up when I try to view them. Instead, the homepage shows up. I am sure that I uploaded them but I didn't know what directory of mambo to put them in.

If anyone hase a suggestion, please let me know.

Many thanks,

bhaynes
kzoretic is offline
kzoretic
  kzoretic
  kzoretic
Old March 25th, 2006, 07:16 #66
maligned-geek

  Dec 2005
Location: Cornwall U.K.
  3,712
maligned-geek is on a distinguished road

Default
It's only going to be possible to help if you FTP into your server and have a look in your Mambo folders until you find your files that you uploaded.

Alternatively,you can navigate your directories with Joomlaxplorer from within the Mambo administrator console,until you find them.

http://virtuemart.net/index.php?opti...51&Item id=80

You can upload files to any folder on your server.I have lots of folders external to Mambo with images and files in.It's useful for when I upgrade,because I can simply delete the Mambo core files then replace with a fresh set without worrying about accidentallly deleting anything important and having to restore from backups later.
Last edited by maligned-geek : March 25th, 2006 at 07:22.
maligned-geek is offline
maligned-geek
View Public Profile
  maligned-geek
Old March 25th, 2006, 07:28 #67
kzoretic

  Mar 2006
  3
kzoretic is on a distinguished road

Default Thanks
I've tried uploading the files into several of the folders but have been unsuccessful. I was wondering if there was a certain directory that must be used. Do you have a separate directory that you have your non-Mambo pages in?

Thanks

Quote:
Originally Posted by maligned-geek
It's only going to be possible to help if you FTP into your server and have a look in your Mambo folders until you find your files that you uploaded.

Alternatively,you can navigate your directories with Joomlaxplorer from within the Mambo administrator console,until you find them.

http://virtuemart.net/index.php?opti...51&Item id=80

You can upload files to any folder on your server.I have lots of folders external to Mambo with images and files in.It's useful for when I upgrade,because I can simply delete the Mambo core files then replace with a fresh set without worrying about accidentallly deleting anything important and having to restore from backups later.
kzoretic is offline
kzoretic
  kzoretic
  kzoretic
Old March 25th, 2006, 07:30 #68
maligned-geek

  Dec 2005
Location: Cornwall U.K.
  3,712
maligned-geek is on a distinguished road

Default
Unsuccessful why? Because of incorrect ownership?

Joomlaxplorer can help if that is the case.

Yes - as stated,my non-Mambo files are outside of Mambo,in seperate directories
maligned-geek is offline
maligned-geek
View Public Profile
  maligned-geek
Old March 25th, 2006, 08:16 #69
kzoretic

  Mar 2006
  3
kzoretic is on a distinguished road

Default new directory
I will try that suggestion.
kzoretic is offline
kzoretic
  kzoretic
  kzoretic
Old April 12th, 2006, 19:23 #70
bbanneli

  Mar 2006
  50
bbanneli is on a distinguished road

Default
Is there any information on how many pages you can have in Mambo? Thanks.
bbanneli is offline
bbanneli
  bbanneli
  bbanneli
Old April 12th, 2006, 19:26 #71
shawn122

  Dec 2005
Location: Toronto, Canada
  1,608
shawn122 is on a distinguished road

Default
As Many as you want...there is no limit.
shawn122 is offline
shawn122
View Public Profile
Visit shawn122's homepage!
  shawn122
Old April 12th, 2006, 21:17 #72
bbanneli

  Mar 2006
  50
bbanneli is on a distinguished road

Default
Thanks. I am not finding this that Jazz talks about. "Mambo 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.”

All I get when I go to Mambots>Site Mambots> is search content, search weblink, search contacts, etc.
bbanneli is offline
bbanneli
  bbanneli
  bbanneli
Old April 13th, 2006, 04:14 #73
shawn122

  Dec 2005
Location: Toronto, Canada
  1,608
shawn122 is on a distinguished road

Default
Mambo -->site Mambots

In the drop down menu in the top right hand corner, select 'editors'.
There you should see the editor mambots.
shawn122 is offline
shawn122
View Public Profile
Visit shawn122's homepage!
  shawn122
Old April 15th, 2006, 04:00 #74
emmaH

  Apr 2006
Location: UK
  31
emmaH is on a distinguished road

Smile Thnak you Jazztpt
Thank goodness for Jazztpt. Thank you for all the information and advice.

EmmaH
www.townandabout.com
emmaH is offline
emmaH
  emmaH
Visit emmaH's homepage!
  emmaH
Old April 25th, 2006, 08:27 #75
nandoprieto

  Feb 2006
Location: Cali, Colombia
  4
nandoprieto is on a distinguished road

Question upload an image directly into the database of mambo
Quote:
Originally Posted by jazztpt
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.
Hello Anna
Congratulations for your very helpfull tutorial.

My problem is as follows:
I'm trying to upload images using the Media Manager but it's impossible in my case. The reason: the directory where the images are supposed to be uploaded is not a writeable directory.

I cannot configure none of the directories or files as writeable. I´m not the owner of the server and the administrator tells me that the model of administraton of web pages do where I have my mambo hosted don't permit that.

Any way (good or badly) I have my mambo web page working, but I have first to upload the images via ftp to let the users publish them in usigng the mambo interface.

I know that is technically possible to upload an image and put it in a database. But I cannot see how can I do it in mambo.

Do you know if there's any possibility to upload an image directly into the database of mambo?
__________________
Fernando Prieto
Cali, Colombia
nandoprieto@gmail.com
nandoprieto is offline
nandoprieto
  nandoprieto
  nandoprieto
Old April 27th, 2006, 07:08 #76
Todge

  Apr 2006
  7
Todge is on a distinguished road

Default
Quote:
Originally Posted by Asphyx
Actually there is a way to TRICK the system into appearing to have a 3rd level of sub cats...

It is done via the menu....But doesn't allow table views to be used...

Create a section...then create a bunch of cats under it including 3rd level sub cats
In the top level menu you make a section blog and select all the categories and order them so that they reflect your tree structure desired...
Then make another menu item as a sub menu of that top level link with your main categories! Any category that has 3rd sub level cats should be included in that display!

Then you can make yet a 3rd level menu item with the 3rd level cats only being displayed!

the database and mambo won't know them as 3rd level cats but to the end user they will appear to be part of the main cat but a sub section!
im jsut starting out with mambo but i do have this to add.

further to this quote, i have been in a similar situation. The site i am creating is for R/C information and we want to do reviews and such.

so i wanted the menu system to read Reviews, which then had 4 other options of kits, shops, services and equipment. The kits option would then have the different manufacturers as catagorys which would then contain the respective content.

since Mambo as yet doesnt do real sub catagory or sub sections i took the above post and modded it slightly. Instead of using Section -> catagory -> catagory. i used Section -> Section -> Catagory.

from my stand point, it looks the same on the screen to the user as the above, but from the back end it is easier to manage.

When you have it as 2 lots of catagories, the back end is just a mass of them and sorting them is difficult. if you run 2 sets of sections, you can sort your catagorys by section to make life easier.

still cant wait for proper sub sections and catagories but for now this will do.
Todge is offline
Todge
  Todge
  Todge
Old May 6th, 2006, 14:57 #77
Emae

  Apr 2006
Location: Ohio
  1
Emae is on a distinguished road

Default Printing Anna's Tips
Is there a way to print all these tips, without printing each post...maybe a compendium?

Thanks!
Emae is offline
Emae
  Emae
  Emae
Old May 19th, 2006, 20:23 #78
JeniL

JeniL's Avatar

  Mar 2005
Location: Osceola Mills, PA
  5
JeniL is on a distinguished road

Default
Quote:
Originally Posted by kzoretic
I have just started doing a site with Mambo and have run into a problem. I have some pages that I want to have on my site that are not Mambo. The files that I have uploaded are not showing up when I try to view them. Instead, the homepage shows up. I am sure that I uploaded them but I didn't know what directory of mambo to put them in.

If anyone hase a suggestion, please let me know.

Many thanks,

bhaynes
you could use the "wrapper" to get this done. I have several pages that I have used this for.
JeniL is offline
JeniL
  JeniL
Visit JeniL's homepage!
  JeniL
Old May 25th, 2006, 04:10 #79
etexs

  Apr 2006
  2
etexs is on a distinguished road

Default backup
Hello
How can I back up from Control Panel?
Thanks.
etexs is offline
etexs
  etexs
  etexs
Old June 4th, 2006, 12:09 #80
GEPhoto

  Jun 2006
  31
GEPhoto is on a distinguished road

Default Delete Installation Folders
Hey, Folks and Anna, Just started using Mambo and found your tutorial. Something came up for me just after the install of Mabo 4.5.4. When attempting to view my site template I kept getting the page with the rectangle on it. In the rectangle was the orange asterix and "Mambo" with "my site.com" under it and under that was the verbage," Delete the installation files and folders or this won't work". (paraphrasing) What I did not know, that I am relaying here, is that the installation folders are in "Wamp", if, like me, one is using the Apache "local host" server or, I would assume, ones ISP's server. So, go to your "Wamp" icon in the tray, click on the icon and scroll up to "WWW" folder in "Wamp". Open this folder and find the "installation" folder. All of the files and that folder need to be right clicked and deleted for Mambo 4.5.4 to work properly. Once done, all is the sun breaking through the clouds and everything works in a "just duckie" fashion.
Now, this could just be me as I am learning CSS, xhtml and "Plesk" all at the same time. But, I found that locating these folders took a long time and that time could have been better spent reading Anna's Tutorial.

Large Smile of Satisfaction and many kudos to Anna,
TCrowe (GEPhoto)

 

For those interested, mouseover "graphics menus" in Mambo using the standard mos_menu component.

This will work with any W3C compliant browser (everything popular).

The script has several advantages.

1. It uses the mousein/mouseout events of the IMG (image) events of DOM rather than the "traditional" Link events. This means it is search engine friendly.

2. It can be applied to any mos_menu, vertical, horizontal... you can even use it with "interfaces" (custom menu looks like many sites have, do a google search for "web graphics interfaces" for example).

3. It preloads your images for the active menu images

4. In principle the same concepts can be utilzed to make many DHTML type functions for your web.

5. Your menu system will still work if the user has scripting turned off, it wont "mouseover" but the menu graphics will still appear and the links will work.

Heres the code/instructions:

1. Paste the following into your index.php file between the <HEAD> </HEAD> HTML statements.

<script>
var W3CDOM = (document.createElement && document.getElementsByTagName);
var mouseOvers = new Array();
var mouseOuts = new Array();
window.onload = init;
function init()
{
if (!W3CDOM) return;
var nav = document.getElementById('mouseovers');
var imgs = nav.getElementsByTagName('img');
for (var i=0;i<imgs.length;i++)
{
imgs[i].onmouseover = mouseGoesOver;
imgs[i].onmouseout = mouseGoesOut;
var suffix = imgs[i].src.substring(imgs[i].src.lastIndexOf('.'));
mouseOuts[i] = new Image();
mouseOuts[i].src = imgs[i].src;
mouseOvers[i] = new Image();
mouseOvers[i].src = imgs[i].src.substring(0,imgs[i].src.lastIndexOf('.')) + "_omo" + suffix;
imgs[i].number = i;
}
}
function mouseGoesOver()
{
this.src = mouseOvers[this.number].src;
}
function mouseGoesOut()
{
this.src = mouseOuts[this.number].src;
}
</script>

----------

2. Upload your menu images to a directory on your server. The "mousein" (mouseover) graphic should be named the same as the mouseout graphics but with "_omo" added. ie, "1.jpg" is your mouseout graphic, then your mouseover graphic should be named "1_omo.jpg".

---------

3. Locate where in your index.php the menu injection happens such as:
<?php mosLoadModules('top',-1); ?>

Change this to:

<ul id="mouseovers">
<?php mosLoadModules('top',-1); ?>
</ul>

---------

4. Go into Mambo where the menu setup is. Change the text name to the actual IMAGE HTML, such as:

<IMG NAME width=70 height=30 border=0 SRC = "../../isagr/21.jpg">

You will see the "image appear" in Mambo vs the Text.

5. Upload your saved index.php to your template directory!

Thats it!

Mouseover menu graphics that are search engine friendly, browser friendly!

-----

Do note that the above uses the HTML <UL> tag, if your CSS sheet modifies the UL Tag attributes this will effect the look. To avoid this you can set up your CSS to use a specfic id for your own UL's.
Last edited by rgisa : June 13th, 2006 at 21:23.
rgisa is offline
rgisa
  rgisa
  rgisa
Old June 20th, 2006, 12:48 #82
alicejiang

  Apr 2006
  2
alicejiang is on a distinguished road

Default How to built a dynamic page?
It is easy to built static page in mambo. How to built a dynamic page?Could you show me a example?
alicejiang is offline
alicejiang
  alicejiang
  alicejiang
Old June 21st, 2006, 19:30 #83
rgisa

  Jun 2006
  3
rgisa is on a distinguished road

Default Dynamic HTML In Mambo
It really depends what you are trying to accomplish. Mambo uses a template file called index.php. All content is "injected" into that page. Just because the filename is ".PHP" does not mean you cannot used DHTML. The PHP extension simply means there is PHP code within. If you put PHP code in a normal HTML file the PHP interpreter will not transact the PHP code.

You can include Javascript, vbScript, CGI calls, Java App's or anything else you desire in the index.php file.
rgisa is offline
rgisa
  rgisa
  rgisa
Old June 22nd, 2006, 11:55 #84
alicejiang

  Apr 2006
  2
alicejiang is on a distinguished road

Default
Thank your reply. Index.php is one of the template file. I am going to do some function with php code. I mean can I make a php file in content? I don't want put many dynamic functions such a form in index.php.
alicejiang is offline
alicejiang
  alicejiang
  alicejiang
Old July 7th, 2006, 16:46 #85
Newbee22

  Jul 2006
  3
Newbee22 is on a distinguished road

Thumbs up Thank you Anna for your tips!!
Anna-
I just read all of your 10 tips. I am a new admin to Mambo and really appreciate the time you put into your posts. You did a great job breaking things down as well as using vocabulary and humor that the average "newbee" could receive. I was very impressed by your layout and delivery of information.
Thanks
Newbee22
Newbee22 is offline
Newbee22
  Newbee22
  Newbee22
Old August 19th, 2006, 23:48 #86
silicon1970

  Aug 2006
  7
silicon1970 is on a distinguished road

Default The right information for mambo beginners
This is an excellent article and should be really in the Mambo project document. I have been struggling for weeks and this alone gives me the comlete picture compared to all other docs which made be believe the whole thing were disconnected pieces that one has to figure how to join. I read this article and drew the little pieces of the puzzle and now has a good understanding about how to proceed. Thx for writing something like this.
silicon1970 is offline
silicon1970
  silicon1970
  silicon1970
Old August 22nd, 2006, 21:43 #87
thegent

thegent's Avatar

  Mar 2006
Location: Johannesburg
  2,174
thegent is on a distinguished road

Default
praisepalm

did you look at the beginning of this thread COS YOU ARE IN ANNAS TIPS
__________________
My Mambo www.f1za.co.za
Help us Help you. Please give all relevant information
For addons go to mamboxchange
thegent is offline
thegent
  thegent
  thegent
Old September 7th, 2006, 08:31 #88
hazman

hazman's Avatar

  Dec 2004
Location: Israel
  6,213
hazman is on a distinguished road

Default
Quote:
Originally Posted by rgisa View Post
For those interested, mouseover "graphics menus" in Mambo using the standard mos_menu component.

This will work with any W3C compliant browser (everything popular).

The script has several advantages.

1. It uses the mousein/mouseout events of the IMG (image) events of DOM rather than the "traditional" Link events. This means it is search engine friendly.

2. It can be applied to any mos_menu, vertical, horizontal... you can even use it with "interfaces" (custom menu looks like many sites have, do a google search for "web graphics interfaces" for example).

3. It preloads your images for the active menu images

4. In principle the same concepts can be utilzed to make many DHTML type functions for your web.

5. Your menu system will still work if the user has scripting turned off, it wont "mouseover" but the menu graphics will still appear and the links will work.

Heres the code/instructions:

1. Paste the following into your index.php file between the <HEAD> </HEAD> HTML statements.

<script>
var W3CDOM = (document.createElement && document.getElementsByTagName);
var mouseOvers = new Array();
var mouseOuts = new Array();
window.onload = init;
function init()
{
if (!W3CDOM) return;
var nav = document.getElementById('mouseovers');
var imgs = nav.getElementsByTagName('img');
for (var i=0;i<imgs.length;i++)
{
imgs[i].onmouseover = mouseGoesOver;
imgs[i].onmouseout = mouseGoesOut;
var suffix = imgs[i].src.substring(imgs[i].src.lastIndexOf('.'));
mouseOuts[i] = new Image();
mouseOuts[i].src = imgs[i].src;
mouseOvers[i] = new Image();
mouseOvers[i].src = imgs[i].src.substring(0,imgs[i].src.lastIndexOf('.')) + "_omo" + suffix;
imgs[i].number = i;
}
}
function mouseGoesOver()
{
this.src = mouseOvers[this.number].src;
}
function mouseGoesOut()
{
this.src = mouseOuts[this.number].src;
}
</script>

----------

2. Upload your menu images to a directory on your server. The "mousein" (mouseover) graphic should be named the same as the mouseout graphics but with "_omo" added. ie, "1.jpg" is your mouseout graphic, then your mouseover graphic should be named "1_omo.jpg".

---------

3. Locate where in your index.php the menu injection happens such as:
<?php mosLoadModules('top',-1); ?>

Change this to:

<ul id="mouseovers">
<?php mosLoadModules('top',-1); ?>
</ul>

---------

4. Go into Mambo where the menu setup is. Change the text name to the actual IMAGE HTML, such as:

<IMG NAME width=70 height=30 border=0 SRC = "../../isagr/21.jpg">

You will see the "image appear" in Mambo vs the Text.

5. Upload your saved index.php to your template directory!

Thats it!

Mouseover menu graphics that are search engine friendly, browser friendly!

-----

Do note that the above uses the HTML <UL> tag, if your CSS sheet modifies the UL Tag attributes this will effect the look. To avoid this you can set up your CSS to use a specfic id for your own UL's.

Hello folks,

Has anyone made this work?
__________________
All Open Source
http://www.xtremeopensource.org
hazman is offline
hazman
  hazman
  hazman
Old Dec