Members: 10,140
Threads: 38,830
Posts: 159,367
Online: 32

Newest Member: Xoote


Old 08.09.2004, 15:38   #1
Svatopluk
Baby Mamber
 
Join Date: May 2004
Location: Prague, Czech republic
Posts: 4
Svatopluk is on a distinguished road
Default Placing wrapper on front page

Hello all,

We have company intranet site. On the first page there is a left box with "Global News" (news from intranet on HQ) and right box with "Local News". On original HTML page there is a code with 2 iframes. I plan to use the wrapper component which is included. I have 3 questions :

1) I can create wrapper but access it only via link on menu. Is there any possibility to "Auto Show" the wrapper on front page?

2) To complicate this solution. Is there any possibility to have 2 wrappers on front page as 2 windows - width 50% each? I need the scrollbars there (or to have there possibility to set up height eg. 400 px)

3) Is possible to show some content items from mambo server to the wrapper (without headers etc.) as it is possible with regular html pages? When I try to show eg. nameofserver.com/index.php?option=com_content&task=view&id=12&Itemi d=2
I get wrapper with everything like menu, header, footer etc.

Maybe in the future there will be 2 standalone mambo servers with content and I want to link them through wrapper component. Or is there any other posibility how to do that? Maybe we can have one specialized content item like Global news or Local news and link to them from another mambo server.

Hope, that somebody try to help.

Svatopluk
Prague, Czech republic
Svatopluk is offline   Reply With Quote
Sponsored Links
Old 09.09.2004, 09:28   #2
Svatopluk
Baby Mamber
 
Join Date: May 2004
Location: Prague, Czech republic
Posts: 4
Svatopluk is on a distinguished road
Default Re: Placing wrapper on front page

I have answer for first question :
When you want to have something as default page instead of frontpage component, go to the Menu - Main Menu. Try to reorder this menu that first item will be the one you want have as default page. It works nice.

Anyone else for question 2 and 3?

Svatopluk
Prague, Czech republic
Svatopluk is offline   Reply With Quote
Old 09.09.2004, 10:55   #3
Svatopluk
Baby Mamber
 
Join Date: May 2004
Location: Prague, Czech republic
Posts: 4
Svatopluk is on a distinguished road
Post Re: Placing wrapper on front page

OK, this is my solution to question number 2 :

It is not maintained by wrapper component! To force it to work you should add these lines of code to index.php of your template :

1) Create copy of your template

2) Create table with 2 columns with <td width="50%">

3) To the left one add this :

<div align="leftr">
<iframe name="iframe" src="http://yoursite.com/page.htm" width="97%" height="310" allowtransparency="true" frameborder="0" marginwidth="0" marginheight="0">
</iframe>
</div>

4) to right cell add this :

<DIV STYLE="width: 100%; height: 310px; overflow: auto">
<table border="0" width="100%" height="310">
<tr><td valign="top">
<?php include ("mainbody.php"); ?>
</table>
</div>

Now you have one window with scrollbar to the static page, and the right one is your web in window with scroll bar

5) Assign different template to your site (or the usual one before you changed this one). I have 2 copies of one template, first with the changes and the second one withou any change.

This works for me. But still there is a question. How to implement content item from another Mambo server to my pages? (When I try to link to that site, I get everything - with headers/footer, menu etc.)

Svatopluk
Prague, Czech republic
Svatopluk is offline   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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Wrapped Page on Front Page of Site divamissx Mambo 4.5 'How Do I' Questions 1 11.09.2004 04:48
Adding extra meta tags to individual content on front page wooly Mambo 4.5 General Talk 2 08.07.2004 12:18
difficulty putting content on front page..!! photo312 Mambo 4.5 'How Do I' Questions 4 06.07.2004 09:28
news module and front page millo105 Module 'How Do I' Questions 0 09.06.2004 18:40
Use front page component on other page. noobnuggets Component 'How Do I' Questions 0 03.05.2004 21:57


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

Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
A vBSkinworks Design
© Copyright 2004-2008 by Arthur Konze Webdesign.