page inside mediaboxadvanced

pcwacht

[url="http://www.ictwacht.nl"]http://www.ictwacht.nl[/url] = Dutch ICT info
[url="http://www.pcwacht.nl"]http://www.pcwacht.nl[/url] = My first
both still work in progress, since years.....

PcPostar

Thank you for your answer.

The problem is as follows:

For example I have page with id 8 and page with id 2 which one I want to show on same page in two different divs.

And my code looks like this:

<div><?php $page_id 8page_content(); ?></div>

<div><?php $page_id 2page_content(); ?></div>


But it puts out page with ID 1 Two times. How can I manually display chosen content at chosen place at the page?
If you don't go, you don't have a story.

pcwacht

You can use the template - blank
this will only output the content, nothing else.
You can modify this template if needed

You can use hits for the html solution.



The function page_content allows you to output the page content
'' echo page_content();''  will do
Put it between div's for using the div or inline method


John
[url="http://www.ictwacht.nl"]http://www.ictwacht.nl[/url] = Dutch ICT info
[url="http://www.pcwacht.nl"]http://www.pcwacht.nl[/url] = My first
both still work in progress, since years.....

PcPostar

Hi, forum-members

I'm integrating mediaboxadvanced inside WebsiteBaker. (source: https://github.com/iaian7/mediaboxAdvanced)
The front page will be full-customized.
I would like to display specific page (page called via page_id) inside the mediabox window.
Is there any method to use function page_content() to display a specific page?
Or in what way can i obtain a specified page from database?

Is there any wb function or will I have to use MySQL queries?

If you don't go, you don't have a story.