Hi Dave,
I have been tweaking templates a bit over the last couple of days
On of the things I found is that the styles get placed immediately
before the </body> tag and that this needs to be on a line on its own
and in lower case other wise sailwave cannot figure out where to put
the selected style block.
Hope this helps.
There may be more gotchas, guess I better start making a list !!
Let me know how you get on.
Hugh Davies
RCYC Burnham on Crouch.
--- In sailwave@y..., Dave Long <dwlong@w...> wrote:
Hi Colin,
I have tried to modify templates with out complete success. I can
get them to
show up just fine in the publish menu, but when I have done that
they don't seem
to pick up the styles selected from the styles drop down menu.
They use only
the styles defined in the template. What I'm I doing wrong.
Dave Long
Colin Jenkins wrote:
> Hi,
>
> >How do I get Sailwave to recognise an alternative results
template.<
>
> A word of warning. Sailwave *always* zaps the Templates and
Styles folders
> with the Sailwave supplied templates/styles on a new version
install. If
> you create your own templates and styles - make a copy of the
template/style
> you want to base yours on and save them into the MyTemplates or
My Styles
> sub-folders - Sailwave never touches these.
>
> So, create your templates in the MyTemplates folder and they'll
then
> automatically show up in the Publish menu.
>
> There are some magic lines in the template that tell Sailwave
what/where to
> display the template in the publish menu, e.g.
>
> `template.setmenurank(1)`
> `template.setmenutext('&Results...')`
> `template.setmenumsg('Publish series summary and/or race details')
`
>
> line 1. where it appears in the menu list: 1,2,3,4 etc
> line 2. the text to display in the menu - the character
preceeded by "&" is
> the hot key
> line 3. the message that appears in the status bat for that menu
item
>
> If you change the contents of MyTemplates while you're in
Sailwave you can
> refresh the Publish menu contents via the View+RefreshPublishMenu
menu
> option.
>
> Regards,
> Colin
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.377 / Virus Database: 211 - Release Date: 15/07/2002
>
>
> http://groups.yahoo.com/group/sailwave
> http://www.sailwave.com/
>
> Convert to daily digest of emails send blank email to:
> sailwave-digest@y...
> To unsubscribe from this group, send an email to:
> sailwave-unsubscribe@y...
>
>
>
> Your use of Yahoo! Groups is subject to
http://docs.yahoo.com/info/terms/