1
Joomla! 3 / Re:formattare testo fumetto
« il: 24 Feb 2014, 18:38:47 »
Ciao Vai sotto libraries -> contentmap -> json apri il file articlesmarkes.php esite il metodo "PrepareInfoWindows" dove viene costruito il fumetto, esempio:
// Prepare the title
if ($this->Params->get('show_title', 0))
{
$content["html"] .= "<h3>";
$content["html"] .= $content["title"];
if ($this->Params->get('link_titles', 0))
{
$target = ' target="' . $this->Params->get("link_target", "_self") . '"';
$content["html"] =
'<a href="' . $sef_link . '"' . $target . '>' .
$content["html"] .
"[/url]";
}
$content["html"] .= "</h3>";
}
questo è il codice che costruisce il titolo con il link. Come vedi alterna codice html a php quindi modifica le parti che ti servono, non scordare di fare un bck del file prima :-)
Ciao Francesco
// Prepare the title
if ($this->Params->get('show_title', 0))
{
$content["html"] .= "<h3>";
$content["html"] .= $content["title"];
if ($this->Params->get('link_titles', 0))
{
$target = ' target="' . $this->Params->get("link_target", "_self") . '"';
$content["html"] =
'<a href="' . $sef_link . '"' . $target . '>' .
$content["html"] .
"[/url]";
}
$content["html"] .= "</h3>";
}
questo è il codice che costruisce il titolo con il link. Come vedi alterna codice html a php quindi modifica le parti che ti servono, non scordare di fare un bck del file prima :-)
Ciao Francesco