Differences between revisions 7 and 8
Revision 7 as of 2006-02-23 23:53:04
Size: 1033
Editor: t-indiv10-220
Comment:
Revision 8 as of 2006-03-03 17:02:30
Size: 1607
Editor: dyn176245
Comment:
Deletions are marked like this. Additions are marked like this.
Line 24: Line 24:
}}}
to {{{
}}} to {{{
Line 35: Line 34:

=== Print view alignment ===
 * Problem: when using a centered template, the print view also centralize the paragraphs.
 * /index2.php
 * around line 144, change{{{
 <body class="contentpane">
  <?php mosMainBody(); ?>
 </body>
}}} to {{{
 <body class="contentpane"><div id="maxwidthiehack">
  <?php mosMainBody(); ?>
 </div></body>
}}} where {{{
div#maxwidthiehack {
   text-align : left;
   width:expression(document.body.clientWidth > 960? "960px": "auto" );
}
}}} should be placed in the site template css file, or integrated into index2.php.

TableOfContents

Components

Joomla

Full menu too short in the backend

  • /administrator/modules/mod_fullmenu.php, to changge the number of the items in the top level menus at the backend. Change $topLevelLimit = 19; to $topLevelLimit = 30;

Live bookmarks problem (Firefox 1.5, Joomla 1.0.7)

  • Problem does not exist any more. strange.

  • Problem: firefox shows "live bookmarks feed failed to laod" when add the frontpage as live bookmark.
  • Reason: the links in the feed is not full url.
  • Solution: in /components/com_rss/rss.php, change line 222

    $item->link             = $item_link;

    to

    $item->link             = $mosConfig_live_site.$item_link;

Tooltip color

  • problem: red tooltip. want it to be blue.
  • file: /includes/js/overlib_mini.js
  • change ol_fgcolor to #fafafa
  • change ol_bgcolor to #0066cc

  • Problem: when using a centered template, the print view also centralize the paragraphs.
  • /index2.php
  • around line 144, change

            <body class="contentpane">
                    <?php mosMainBody(); ?>
            </body>

    to

            <body class="contentpane"><div id="maxwidthiehack">
                    <?php mosMainBody(); ?>
            </div></body>

    where

    div#maxwidthiehack {
       text-align       : left;
       width:expression(document.body.clientWidth > 960? "960px": "auto" );
    }
    should be placed in the site template css file, or integrated into index2.php.

JunHu: JunHu/Memo/JoomlaTipsAndTricks (last edited 2008-10-03 20:19:42 by localhost)