[Gambas-user] Re; Website ..
Gareth Bult
gareth at ...1689...
Sat Aug 25 16:23:15 CEST 2007
>At the moment, you statically inserted into gambasrad.org some pages from
>gambasdoc.org that are dynamically generated (README and FAQ). As I want to
>keep my wiki, it is not a good idea to have the same data at two different places.
AhHa! I think I see the problem.
I did not realise that the Readme and FAQ were dynamically generated.
<fx: goes to tweak>
Ok, here goes;
To include external (dynamic) content in the site, you need to link to use the following URL style;
http://gambasrad.org/documentation/wiki[/whatever]/show_window?url=<full external url>
If you use a link of this form;
a. My default background will be turned off
b. Full page width will be available
(same applied to a URL with "/zforum" in the URL)
So for gambasDOC I'm using;
http://gambasrad.org/documentation/wiki/show_window?url=http://gambasdoc.org
To embed the Readme use;
http://gambasrad.org/documentation/wiki/show_window?url=http://gambasdoc.org/help/readme
(if you still see the glitching background, use shift-refresh to clear)
How's that ?
Gareth.
--
Managing Director, Encryptec Limited
Tel: 0845 25 77033, Mob: 07891 389657
Email: gareth at ...1689...
Statements made are at all times subject to Encryptec's Terms and Conditions of Business, which are available upon request.
----- Original Message -----
From: "Benoit Minisini" <gambas at ...1...>
To: "mailing list for gambas users" <gambas-user at lists.sourceforge.net>
Sent: Saturday, August 25, 2007 12:17:06 PM (GMT) Europe/London
Subject: Re: [Gambas-user] Re; Website ..
On samedi 25 août 2007, Gareth Bult wrote:
> >Is it possible with Zope to have a mirror of the site that change the skin
> >according to the URL path? For example, http://gambasrad.org/bugtrak for
> > the default one, and http//gambasrad.org/gambas-skin/bugtrak for the same
> > page with the skin 'gambas-skin'.
>
> it is, the question really is, how easy is that to manage ... I can look at
> setting it up if we need it ?? (I've not done it before, but I've come
> across it in howto's)
>
> what do you want to accomplish by doing this?
I want to embed some pages of gambasrad.org in gambas.sf.net the same way I
did with gambasdoc.org.
I will add options to the wiki CGI script so that pages of gambasdoc.org can
embed into gambasrad.org flawlessly too. At the moment, you see the glitch
between the backgrounds.
At the moment, you statically inserted into gambasrad.org some pages from
gambasdoc.org that are dynamically generated (README and FAQ). As I want to
keep my wiki, it is not a good idea to have the same data at two different
places.
This way, people will be able to use indifferently gambas.sf.net or
gambasrad.org as startup page, and actually see exactly the same pages, but
with the look of the startup page.
The only easy way I know for integrating a page from a web site into another
one is telling that inside the URL.
>
> if you look at my "main_template" in "Gareth", I'm looking at the site URL,
> and if I see "/zforum" or "/wiki" in the path, I'm using a width
> un-restricted version of the CSS, rather than a width restricted.
So it is possible? I have read some things like that about Zope, that you can
add some path elements to the URL, and seeing the same page.
Regards,
--
Benoit Minisini
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Gambas-user mailing list
Gambas-user at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user
More information about the User
mailing list