On Sun, Jul 17, 2016 at 2:08 AM, John L. Poole <jlpool...@gmail.com> wrote:

> On your suggestion, I inserted code on the setup_header page to this:
>      <th1>
>      if {[hascap r]} {
>       html "<base href=\"$baseurl/$current_page?name=$tkt_uuid\" />\n"
>      }
>      </th1>
>      <base href="$baseurl/$current_page" />
>
> And that worked: the baseURI variable in DOM was set to
> "http://themis:8080/tktview?name=149873cca9";
> <http://themis:8080/tktview?name=149873cca9>
>
> However, each page now complains
> "ERROR: no such variable: tkt_uuid"
> and is missing styling and the heading matter.
>

Test  $current_page for "tktview". If true:
     html "<base href=\"$baseurl/$current_page?name=$tkt_uuid\" />\n"
else:
     html "<base href=\"$baseurl/$current_page\" />\n"
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to