Members: 16,996
Threads: 38,845
Posts: 159,389
Online: 13

Newest Member: Kl_broka@rediffmail.com


Odoo.tv - Outdoor Television


Sedo - Domains kaufen und verkaufen das Projekt mambers.com steht zum Verkauf Besucherstatistiken von mambers.com etracker® Web-Controlling statt Logfile-Analyse

Go Back   Mambers.com > Templates > Template Discussions

Reply
 
LinkBack Thread Tools Display Modes
Old 13.12.2004, 22:53   #1 (permalink)
Baby Mamber
 
Join Date: Dec 2004
Location: Manila, Philippines
Posts: 5
chiaroscuro is on a distinguished road
MOS 4.5 Component/Module behaviors in Templates

Hi! Have found a lot of helpful answers by combing through these forums over the last two months, but it seems this time I couldn't find a thread for this issue:

Am using Mambo 4.5 (1.0.9). Have made a few templates using the tutorial (and the MOS 4.5 code) found on mambosolutions.com (using Photoshop, Dreamweaver MX and MOS Extensions) and they work just fine, but it seems that certain components don't behave as they do in free templates like 'teamwork' which came with the MOS package:

For example, the editing area for Mamblog or the MOS Frontend doesn't appear in the content area.

I've tried comparing the code of several 'index.php' files of different templates, then cutting and pasting, but the error is still there. Should I look in the php files of the components instead? Thank you for being patient
chiaroscuro is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Old 14.12.2004, 00:32   #2 (permalink)
Junior Mamber
 
Join Date: Sep 2004
Location: San Luis Obispo, CA
Posts: 26
rymnd02 is on a distinguished road
Default Re: Component/Module behaviors in Templates

kumusta? if you are using the latest component version for the mambo 45, i dont think component's php files have anything to do with the problem. i bet the problem is in the php includes. for mos4.5 make sure you have this 'mainbody' php include:
<?php include_once( 'mainbody.php' ); ?>

here's a comparison chart between mambo45 and 451a includes. Make sure you are not using the includes for the mambo451.
http://www.mamboportal.com/content/view/1670/29/
rymnd02 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 14.12.2004, 12:00   #3 (permalink)
Baby Mamber
 
Join Date: Dec 2004
Location: Manila, Philippines
Posts: 5
chiaroscuro is on a distinguished road
MOS 4.5 Re: Component/Module behaviors in Templates

Thanks for replying. Yes, I'm still using the old 4.5 'php includes' (which I reverted to after seeing that the new Dreamweaver MOS extensions didn't work for me yet).

My templates work well with all the text/ graphics/ modules/ components. But trouble begins when users click on interactive functions like Frontend editing (toolbars, but no htmlarea) or Mamblog (no editing/uploading area)

However, when I use a free template like 'teamwork', the abovementioned functions/components work just fine.

I compared the php tags of both my templates and the free templates and everything looks the same, down to the semicolon. Obviously, there's somewhere I haven't looked, though I haven't the foggiest notion where.

I hope I find a solution out there, because I don't want be told to upgrade to MOS 4.5.1 yet!
___

Aha! Found the bugger... it was this tag:

Quote:
if (0) {
include ("editor/editor.php");
initEditor();
}
?>
which should be:

Quote:
if ($my->id) {
include ("editor/editor.php");
initEditor();
}
?>
Such a basic oversight would not have been a problem for regular php-speakers, which I'm not!

Last edited by chiaroscuro; 14.12.2004 at 22:14. Reason: Found the solution
chiaroscuro is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 16.12.2004, 08:34   #4 (permalink)
Junior Mamber
 
Join Date: Sep 2004
Location: San Luis Obispo, CA
Posts: 26
rymnd02 is on a distinguished road
Default Re: Component/Module behaviors in Templates

i see! it is all in the <HEAD>
rymnd02 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Erstellen von CSS basierten Templates für Mambo musicones Templates 15 28.11.2005 23:34
Free Templates (honnest!) barryk Template Discussions 3 09.12.2004 14:51
GPL/GNU licenced templates Simbad Template Discussions 4 01.08.2004 22:20
installing many templates at once? playofwords Template Discussions 3 17.05.2004 04:10
Mambo 4.5 Templates project on mosforge.net mibi Template Discussions 0 10.04.2004 00:26


All times are GMT +2. The time now is 09:43.

Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
A vBSkinworks Design
© Copyright 2004-2008 by Arthur Konze Webdesign.