>                 if ($actionLink != '') $temp = 
> BOLTloadpage("$actionLink#$template");
>                 if ($temp == '') $temp = BOLTloadpage("$pageLink#$template");
>                 if ($temp == '') $temp = 
> BOLTloadpage("template.$template.$BOLTskin");
>                 if ($temp == '') $temp = BOLTloadpage("template.$template");
> print_r("==$temp==");die();
>                 $template = $temp;

I see (logged in or not):

==
the content of my template
==

It seems the problem happens somewhere later: when I am logged in as
admin, the template has no effect: no news are listed in the page.

> can't reproduce the problem.  What you found is VERY curious.  Could
> you show me the source code for your template?

Of course. It is used to display news (title, date and content). When
the user is logged as admin, it shows also an icon panel below the
content, to manipulate the individual page of the new:

<div class="novedad">
== {+:title}
<div class="fecha">[if* ! equal [(time {now} "%Y")] [(anho
{+:created} )] ]<span class="anho">[(anho {+:created} )]</span>[if*]
<span class="mes">[(nombredemes {+:created} )]</span>
<span class="dia">[(dia {+:created} )]</span>
</div>
<div class="contenido">
[(include {+p})]
</div>
[if admin]
<div class="paneldegestion">
<ul>
<li>[[action.create&type=novedades|{{ {iconito_crear} | Crear }} |
title="Crear una novedad nueva"]]</li>
<li>[[{+p}&action=copy|{{ {iconito_copiar} |Copiar}}|title="Copiar
esta novedad en otra nueva"]]</li>
<li>[[{+p}&action=edit|{{ {iconito_modificar}|Modificar }}|
title="Modificar esta novedad"]]</li>
<li>[[{+p}&action=data|{{ {iconito_datos} | Datos }}|title="Modificar
los datos de esta novedad"]]</li>
<li>[[{+p}&action=undo|{{ {iconito_restaurar} | Restaurar }}|
title="Restaurar esta novedad a una versión anterior"]]</li>
<li>[[{+p}&action=source| {{ {iconito_fuente} | Fuente }} |title="Ver
el código fuente de esta novedad"]]</li>
<li>[[?{+p}| {{ {iconito_ver} | Ver }} |title="Ver la página de esta
novedad"]]</li>
<li>[[{+p}&action=rename| {{ {iconito_nombre} | Nombre }} |
title="Cambiar el nombre de fichero de esta novedad"]]</li>
<li>[[{+p}&action=delete| {{ {iconito_eliminar} | Eliminar }} |
title="Eliminar esta novedad"]]</li>
</ul>
</div>[if]
</div>

Idea! The problem happens when I'm admin, so I deleted the whole [if
admin]...[if] of the template... and it works! It seems there's
something in that control panel that is causing problems with versions
newer than 2.37... maybe the customized images markup or maybe some
file permission issue in my system. I will investigate that.

Cheers,
Marcos

--
http://alinome.net
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"BoltWire" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/boltwire?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to