Ver Mensaje Individual
  #1 (permalink)  
Antiguo 28/10/2011, 01:26
jonvel00
 
Fecha de Ingreso: diciembre-2010
Mensajes: 40
Antigüedad: 13 años, 4 meses
Puntos: 0
Pregunta Problemas con href en sistema gallery3

Buenos Dias..

Les comentare que estoy haciendo una pagina web que tiene galeria para administrar fotos, la unica que he visto en internet qm funciona sin ningun problema es

http://gallery.menalto.com/


si saben de una buena me avisan..


La cuestion es que en el archivo principal trato de poner una imagen que diga regresar al sistema; pero no puedo no se como.. asi q como trae una imagen logo.png a esa le aplico href

Despues de tanto buscar encontre que hay un archivo dentro de esa carpeta
gallery3\themes\wind\views\page.html.php

Como les decia estoy aplicando el href pero no me coje....
asi esta
-----------------------------------------------------------------------

?>
<a id="g-logo" class="g-left" href="<?= item::root()->url() ?>" title="<?= t("go back to the Gallery home")->for_html_attr() ?>">
<img width="107" height="48" alt="<?= t("Gallery logo: Tus fotos en tu sitio web")->for_html_attr() ?>" src="<?= url::file("lib/images/logo.png") ?>" />
</a>
<? endif ?>

-------------------------------------------------------------------------

asi lo modifique


<? else: ?>
<a id="g-logo" class="g-left" href="../../../../inicio.php" title="<?= t("go back to the Gallery home")->for_html_attr() ?>">
<img width="107" height="48" alt="<?= t("Gallery logo: Tus fotos en tu sitio web")->for_html_attr() ?>" src="<?= url::file("lib/images/logo.png") ?>" />
</a>
<? endif ?>


--------------------------------------------------------------------------------


y me sale solo

http://localhost/inicio.php

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


quisiera saber que es esto

href="<?= item::root()->url()


y si se puede crear una variable ahi q guarde la ruta nueva

y la solucion al href





Agradecere x 100pre..