Recent Topics

1 Jun 09, 2010 20:25    

My b2evolution Version: Not Entered

I have a page that I would like to embed the blog(s) as part of the page. How do I do that
-OR-
Can I create a stub page and then write the HTML code around that.

The current page I would like to show the blog(s) has a navigation section, header and some other gadgets

2 Jun 09, 2010 23:46

my first guess would be using an iFrame

3 Jun 10, 2010 00:30

Alternatively, code a template to look like your web ;)

¥

4 Jun 10, 2010 15:26

When you embed the iframe, what page do you call? I don't want all the header stuff... just the articles.

5 Jun 10, 2010 15:47

chauvir wrote:

When you embed the iframe, what page do you call? I don't want all the header stuff... just the articles.

if you dont want the header at all, you can just edit your template.

But if you want to keep header on your blog, but do not want it on the embedded pages make use of power of the selectors;

wrap the part you want to embed:

/*index.main.php example*/
............
skin_include( '_body_header.inc.php' );
?>

<div id="myembedwrap">[b]/*start wrapping the parts you need*/[/b]

<div id="content" class="narrowcolumn">

.....
.....
//usual stuff
....

</div> [b]/*wrapping ends*/[/b]
<?php
// ------------------------- BODY FOOTER INCLUDED HERE --------------------------
skin_include( '_body_footer.inc.php' );

.................

and use http://url/extension#myembedwrap as the iframe source


Form is loading...