WebsiteBaker Community Forum

General Community => Off-Topic => Topic started by: matu on December 19, 2005, 11:12:26 AM

Title: including existing pages
Post by: matu on December 19, 2005, 11:12:26 AM
Hello

Is it possible to include an already existing page into another page?

For example: I have a separate page for news, but I would like to show the news also on my home page in adition to other information.
Title: Re: including existing pages
Post by: i2Paq on December 19, 2005, 04:37:01 PM
Do I understand this correct: You would like to display a WB-page outside of WB?
Title: Re: including existing pages
Post by: matu on December 19, 2005, 07:22:16 PM
Nonono.

I have made pages with WB:
Home
Info
Blabla
Coming events

Now I would like to include the "Coming events" page also into "Home" page.
I made a new code section into "Home", but I haven't figured out how to include "Coming events".
Is it possible at all?
Title: Re: including existing pages
Post by: Fratm on December 19, 2005, 08:09:44 PM
If I understand what you want, try using the 'wrapper' option when creating a new page.


-Steve
Title: Re: including existing pages
Post by: matu on December 19, 2005, 08:44:41 PM
No that's not it.

I want to include the page, that I have made with WB.

For example I can't include http://www.server.com/pages/coming-events.php
I just want to include the content of that page.
Title: Re: including existing pages
Post by: Fratm on December 20, 2005, 06:00:26 PM
No that's not it.

I want to include the page, that I have made with WB.

For example I can't include http://www.server.com/pages/coming-events.php
I just want to include the content of that page.
Ahh.. Well I don't know how you would do that.  Sorry.  :oops:

-Steve
Title: Re: including existing pages
Post by: matu on December 26, 2005, 02:03:55 PM
Is this siple thing (including content of one WB page into another WB page) really impossible?
In that case I have to start looking for another cms.  :-(
Title: Re: including existing pages
Post by: Ryan on December 26, 2005, 02:38:03 PM
In WB 2.x yes, in WB 3.x it will be built in :wink:
Title: Re: including existing pages
Post by: matu on December 26, 2005, 06:48:08 PM
Okey, that's good!  :lol:
Title: Re: including existing pages
Post by: Argos on December 27, 2005, 12:16:51 AM
Well, there is a snippet for including news items form the new module on aother pages. I'm no coder, but maybe you can modify it for use for other content as well. And of course you can also include any internal page in a wrapper.
Title: Re: including existing pages
Post by: enthused on February 03, 2006, 09:38:54 AM
Quote
Is it possible to include an already existing page into another page?

Hi matu

I just noticed this thread and realise this may be a little late for you. 

I think Reply #10 on: April 15, 2005, 07:44:00 pm

in http://forum.WebsiteBaker.org/index.php/topic,707.msg4356.html#msg4356 might be what you are looking for. It works fine for me for including content of one page in another.

Enthused  :lol: