|
From: Mark W. <ma...@rw...> - 2011-04-12 11:18:10
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
There is another method that can be used that has a similar effect.<br>
<br>
PageElements::setTemplate('popup_template.php');<br>
<br>
This changes the template that will be used within the current
theme.<br>
I have added a popup template to the tsheetx theme and applied it to
stopwatch.<br>
<br>
Well done to the person who has started to tackle the stopwatch OO
update. I've been leaving that one for a while!<br>
<br>
This setTemplate needs to be applied to all the popup windows that
we use.<br>
<br>
Kind Regards<br>
<br>
Mark<br>
<pre class="moz-signature" cols="72">_____________________________________________
Mob: 07725 695178
Email: <a class="moz-txt-link-abbreviated" href="mailto:ma...@rw...">ma...@rw...</a></pre>
<br>
On 12/04/2011 11:11, Peter Lazarus wrote:
<blockquote cite="mid:4DA...@gm..." type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
Too brilliant!!<br>
<br>
On 04/12/2011 05:57 PM, Mark Wrightson wrote:
<blockquote cite="mid:4DA...@rw..."
type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
Peter & Everyone else actually, <br>
<br>
If you need to specify a different theme for a particular page,
this is very easy to achieve. Just create a new theme in the
themes folder (copy the tsx theme and modify is the best
recommendation).<br>
<br>
Once you've created your theme and you want to apply to it a
specific page just add the following line of code to the top of
the file in question i.e. monthly.php:<br>
<br>
PageElements::setTheme('diffTheme');<br>
<br>
where diffTheme is the folder name of the different theme.<br>
<br>
Hope this helps!<br>
<br>
Regards<br>
Mark Wrightson<br>
<pre class="moz-signature" cols="72">_____________________________________________
Mob: 07725 695178
Email: <a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:ma...@rw...">ma...@rw...</a></pre>
<br>
On 12/04/2011 05:57, Peter Lazarus wrote:
<blockquote cite="mid:4DA...@gm..." type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
Hi all,<br>
this is to bring you up to date with what I have accomplished
so far in cleaning up the html and moving formattiing into css
style sheets. To sum it up, not much has been achieved so far.<br>
<br>
What I have done is to work on the submit.php form. In order
to clean up the html I built an entirely new web page in a web
page editor to get the formatting right. Now that that's been
mostly achieved, I then applied the changes back into
submit.new.php which is a copy of the existing submit.php. I
chose submit.php because its a relatively uncomplicated
layout, and because it's layout is in common with or similar
to many of the reports.<br>
<br>
The problem I now face is applying the css styling across the
rest of the forms. That will require some effort and tweaking.
Hence it will take some time. Also I don't think I can submit
any of my changes until all forms have been changed. This is
because the link to the style sheet ( <<span
class="start-tag">link</span><span class="attribute-name">
rel</span>=<span class="attribute-value">"stylesheet" </span><span
class="attribute-name">href</span><span>="</span><a
moz-do-not-send="true"
href="view-source:http://localhost/tsheetxdemo/themes/txsheet/styles/timesheet.css">/tsheetxdemo/themes/txsheet/styles/timesheet.css</a><span>"
</span><span class="attribute-name">type</span>=<span
class="attribute-value">"text/css" </span><span
class="error"><span class="attribute-name">/</span></span>>)
is found in the header and that's part of Mark's common
routines. I don't think I can even link to a new css sheet
ahead of the existing links because there will be bits of the
existing style sheets that will interfere with the new one.
So, any suggestions or ideas on how I can get round that
problem?<br>
<br>
regards<br>
Peter<br>
<br>
<pre wrap=""><fieldset class="mimeAttachmentHeader"></fieldset>
------------------------------------------------------------------------------
Forrester Wave Report - Recovery time is now measured in hours and minutes
not days. Key insights are discussed in the 2010 Forrester Wave Report as
part of an in-depth evaluation of disaster recovery service providers.
Forrester found the best-in-class provider in terms of services and vision.
Read this report now! <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://p.sf.net/sfu/ibm-webcastpromo">http://p.sf.net/sfu/ibm-webcastpromo</a></pre>
<pre wrap=""><fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Tsheetx-developers mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Tsh...@li...">Tsh...@li...</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/tsheetx-developers">https://lists.sourceforge.net/lists/listinfo/tsheetx-developers</a>
</pre>
</blockquote>
<pre wrap=""><fieldset class="mimeAttachmentHeader"></fieldset>
------------------------------------------------------------------------------
Forrester Wave Report - Recovery time is now measured in hours and minutes
not days. Key insights are discussed in the 2010 Forrester Wave Report as
part of an in-depth evaluation of disaster recovery service providers.
Forrester found the best-in-class provider in terms of services and vision.
Read this report now! <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://p.sf.net/sfu/ibm-webcastpromo">http://p.sf.net/sfu/ibm-webcastpromo</a></pre>
<pre wrap=""><fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Tsheetx-developers mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Tsh...@li...">Tsh...@li...</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/tsheetx-developers">https://lists.sourceforge.net/lists/listinfo/tsheetx-developers</a>
</pre>
</blockquote>
</blockquote>
</body>
</html>
|