Members: 16,996
Threads: 38,868
Posts: 159,480
Online: 54

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
Old 04.08.2004, 14:05   #1 (permalink)
Anastasia
Guest
 
Posts: n/a
Default Speed - Mambo

Speed for Mambo und .... wozu htmlarea laden, wenn man den gar nicht braucht? Geht ja nur auf die Geschwindigkeit.
In der index.php des Templates
PHP Code:
<?php 
if ($my->id) { 
        include (
"editor/editor.php"); 
        
initEditor(); 

?>
ändern in
PHP Code:
<?php 
if($my->id){ 
    if(
$_REQUEST["task"] == "edit" || $_REQUEST["task"] == "new") { 
        include (
"editor/editor.php"); 
        
initEditor(); 
    } 

?>
Jetzt wird der Editor nur noch aufgerufen, wenn man
1. Eingeloggt ist
2. New oder Edit - Button klickt.


Und fürs Backend...
Was vorne geht, muss auch hinten gehen.
Dann kam das nach einem Gespräch mit novocaine raus:

mambo/administrator/index2.php
Lösche Zeile: 31
PHP Code:
 include_once( "../editor/editor.php" ); 
Und dann: Zeile: 158 bis 160
PHP Code:
<?php
initEditor
();
?>
ändern in

PHP Code:
<?php
if($_REQUEST["task"] == "edit" || $_REQUEST["task"] == "new") {
        include_once( 
"../editor/editor.php" );
        
initEditor();
}
?>

Bis denne

PS: Die Antwort von tonyskyday auf http://forum.mamboserver.com/showthread.php?p=59992 ist mir allerdings ein Rätsel,
Quote:
If you look in the core mambo templates, you will see this, which was done for the same reason, though it calls the editor whenever someone is logged in, not just when they are editing or adding content
Darum gings doch grade. NUR LADEN WENN GEBRAUCHT!
 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Old 30.03.2005, 18:17   #2 (permalink)
Baby Mamber
 
Join Date: Apr 2004
Posts: 21
Bernard is on a distinguished road
Default Re: Speed - Mambo

Das Problem bei der zweiten Methode ist nur wenn man Komponenten im Einsatz hat, die den Editor durch die Übergabe von anderen Parametern als "new" und "edit" rufen ...
Bernard is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 25.10.2007, 09:25   #3 (permalink)
Baby Mamber
 
ecctao's Avatar
 
Join Date: Oct 2007
Posts: 21
ecctao is on a distinguished road
Send a message via MSN to ecctao
Default Re: Speed - Mambo

Tanks Vrlyb
__________________
Colorfull LED display LED screen LED panel
ecctao is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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
Speed up Mambo Site - Extremely useful Tip afru Mambo 4.5 'How Do I' Questions 8 12.01.2006 10:11
Mambo Open Source 5.0 Book Series mmx Community Announcements 13 19.09.2005 08:35
MOS no more - Mambo for sure ;) idigital Community Announcements 16 25.07.2004 05:14
Mambo OS Performance; Experienced Mambo Developers required Ritchie Development Discussions 7 14.06.2004 14:23
New mambo fork xMambo scheurer Community Announcements 24 16.05.2004 08:52


All times are GMT +2. The time now is 19:29.

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.