pragmaMx Support Forum

pragmaMx => Coder und Bastlerecke => Thema gestartet von: angecris in 17 März 2011, 18:10:45

Titel: Block-und Modul
Beitrag von: angecris in 17 März 2011, 18:10:45
Hallo, Ich mag zu einem Block nur Anzeige der URL:

Xxxxxxxxxxxxxx / modules.php? Name = Content & pid = 45

<?php 

defined
('mxMainFileLoaded') or die('access denied');// Emp&#234;che l'acc&#232;s direct

if (MX_MODULE != 'Content' && $_REQUEST['pid'] != '45') {
    
$mxblockcache false;
    return;
}

$mxblockcache true// Pour utiliser la fonction cache pour le bloc sinon mettez false au lieu de true

//Debut du contenu
$content '';//Initialisation de la variable 
$content .= '
<div style="text-align: center"><a title="kinetic09" href="http://www.kinetic09.com"><img class="border" src="http://www.ntfrance.org/media/images/news/pub_kinetic2.jpg" alt="kinetic09"</a></div>
'
;
?>


Sorry for bad languag, thanks all
Titel: Re:Block-und Modul
Beitrag von: PragmaThemes in 19 März 2011, 19:01:30
You only want to show a Url in a Block ?

You can make it with Blocks in your Admin CP.

Create a new Block and include the URL in the wysiwyg Explorer.

Klick on the (https://forum.pragmamx.org/proxy.php?request=http%3A%2F%2Fwww.pragmamx.org%2Fmodules%2FForum%2Fsmf%2FThemes%2FpragmaMxfresh%2Fimages%2Fbbc%2Furl.gif&hash=7ad78a925d133cd5e4a449c513efa3cbd8106a4f) Icon And fill the form with Informations.

Sorry for the bad Englisch :D
Titel: Re:Block-und Modul
Beitrag von: angecris in 21 März 2011, 17:44:41
It is impossible to do via admin