Ver Mensaje Individual
  #1 (permalink)  
Antiguo 12/11/2010, 20:56
Avatar de d1vxpr
d1vxpr
 
Fecha de Ingreso: agosto-2010
Mensajes: 13
Antigüedad: 13 años, 8 meses
Puntos: 0
Pregunta Ayuda con $this->plugin('ahref...

Estoy intentando agregar css a este pedazo de código que se supone que es un link el problema es que está de esta manera.

Código PHP:

$this
->plugin('ahref'"index.php?option=$this->option&task=listcats&cat_id=$cat->cat_id&Itemid=$this->Itemid",  htmlspecialchars($cat->cat_name) ); 
Cita:
y al intentar ponerlo en formato simple me da error pq dentro del href hay php.

Código PHP:

echo '<a href="index.php?option=$this->option&task=listcats&cat_id=$cat->cat_id&Itemid=$this->Itemid" title="title" id="productthumbbig0" class="productthumbbigtitle">'.htmlspecialchars($cat->cat_name).''

En fin mi problema es que no puedo agregar este class


class="productthumbbigtitle"

a este pedazo de código


Código PHP:

$this
->plugin('ahref'"index.php?option=$this->option&task=listcats&cat_id=$cat->cat_id&Itemid=$this->Itemid",  htmlspecialchars($cat->cat_name) ); 
agradezco por adelantado toda la ayuda que puedan brindarme,

Iván Rivera

Última edición por d1vxpr; 12/11/2010 a las 22:37 Razón: arreglar título