blog inside

Begonnen von titin, 19 Oktober 2017, 17:45:06

⏪ vorheriges - nächstes ⏩

0 Mitglieder und 1 Gast betrachten dieses Thema.

titin


hello all!
I would like my external blog to open in a page:
I have an external blog (midiblog)
I add a link to this feed, I add an item to the menu to open this page> it is ok ... but impossible to find how to insert it in the site and not on an external window
I mean, is that clear? pragmamx 2.4 thank you very much

Olaf

you can embed your blog as iframe into a module

Insert a Modul (see attachment Sample-Iframe-Modul )

the index.php file must include the following code
<?php

/**
 * This file is part of
 *
 * 
 *
 * for pragmamx (www.pragmamx.org)
 *
 * $Revision: 1.0 $
 * $Author: PragmaMx $
 * $Date: 2017-08-29 07:32:15 +0200 (Di, 29. Aug 2017) $
 */
// Admin
defined('mxMainFileLoaded') or die('access denied');

mxIncludeHeader();

pmxHeader::add_style_code(".iframe{width:100%;height:650px;");
?>



  <div class="content">

    <div class="mycontent"><iframe class="iframe" name="" src="http://www.pragmamx.org" ></iframe></div>
  </div>

<?php

mxIncludeFooter
();
?>



change the URL and the Style-Code for your Blog
g

Olaf

Kein Support über PN, Mail etc.!
Bitte die Fragen im Forum stellen, nur so helfen die Antworten auch den anderen Usern.
Bitte auch die Boardsuche nicht vergessen, oft ist genau dein Problem schon an anderer Stelle gelöst worden!

titin


Nantharat

Hallo, ich bin ein neues Mitglied, ich bin froh, jeden zu kennen.