<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <br>
    <br>
    <div class="moz-cite-prefix">On 11/09/2020 08:00, Santiago Garcia
      Mantinan wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:WM!c3f411bc67adebe499dc5ddc1788f79817d60ef6020e73071e4f5cceca4e0cda3f850ed5be3582b78ddd4497b68303ab!@mx.jul.es">
      <pre class="moz-quote-pre" wrap="">Hi again!

</pre>
      <blockquote type="cite">
        <pre class="moz-quote-pre" wrap="">Try putting it in at the start of line 4 of header.tpl.
You need to leave the "<!DOCTYPE....>" tag in lines 1-3 at the very top of the file.
But you then want to set it before including the "functions.tpl" file, as that file uses the value.
</pre>
      </blockquote>
      <pre class="moz-quote-pre" wrap="">
Well... it seems to work... wrongly, now the Home button will point me
to wherever I already went, I mean...</pre>
    </blockquote>
    That button just takes you to $zendToURL with nothing appended.<br>
    This is set on line 231 of /opt/zendto/templates/header.tpl.<br>
    You could change it to "{$zendToURL}index" or
    "${zendToURL}index.php" instead.<br>
    <br>
    I didn't add anything, as I always think that have the "index..." on
    the end of a URL is just untidy and superfluous.<br>
    People tend to copy and paste that URL into other things, and it
    looks bad.<br>
    <br>
    How about I change it to an "if" statement, so it doesn't add
    "index..." unless $zendToURL is blank?<br>
    That way we both win.<br>
    <br>
    Change line 231 to say this instead of the current link<br>
    <tt>                        <li id="homeLink"
      class="selected"><a href="{if $zendToURL==''}{call
      name=hidePHPExt
t='index.php'}{else}{$zendToURL}{/if}">{t}Home{/t}</a></li></tt><br>
    <br>
    I've just tried it, and it appears to work for me. It will be
    included in the next release.<br>
    <br>
    Cheers,<br>
    Jules.<br>
    <br>
    <br>
    <blockquote type="cite"
cite="mid:WM!c3f411bc67adebe499dc5ddc1788f79817d60ef6020e73071e4f5cceca4e0cda3f850ed5be3582b78ddd4497b68303ab!@mx.jul.es">
      <pre class="moz-quote-pre" wrap="">

If I had chosen language, then home would take me to changelocale.php,
but if I have entered Inbox, then home will take me to pickup_list.php
and if I have entered Outbox then home will take me to
dropoff_list.php, so... it doesn't work as we are stuck without an
effective home button unless we change the language and then we hit
home again.

Regards...
--
Manty/BestiaTester -> <a class="moz-txt-link-freetext" href="http://manty.net">http://manty.net</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">Jules

-- 
Julian Field MEng CEng CITP MBCS MIEEE MACM

'It's in Apple's DNA that technology alone is not enough. It's
 technology married with liberal arts, married with the humanities,
 that yields us the result that makes our hearts sing.' - Steve Jobs

<a class="moz-txt-link-abbreviated" href="http://www.Zend.To">www.Zend.To</a>
Twitter: @JulesFM
</pre>
  </body>
</html>