<div class="gmail_quote">On Tue, Feb 3, 2009 at 12:01 PM, Hans <span dir="ltr"><<a href="mailto:design5@softflow.co.uk">design5@softflow.co.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">Tuesday, February 3, 2009, 12:38:56 AM, DaveG wrote:<br>
<br>
> Hans wrote:<br>
>> Is it possible to achieve this? Would it be desirable that th efirst<br>
>> instance of a PTV will be used by default?<br>
> I suspect this is going to vary very much by author. Personally, I find<br>
> it makes sense that the later definition over-rides the more recent, if<br>
> declared on the same page.<br>
<br>
</div>For what reasons?<br>
<div class="Ih2E3d"></div></blockquote><div><br>If you think of it as setting a default setting at the top and then overriding the default further down (perhaps with a conditional, etc) then it would make sense for the later to override the earlier.<br>
<br>However, Hans, your points on the other side are very legitimate. Thus it appears a configurable switch is needed to meet the needs on both sides. This switch would ideally (in my mind) be at both the administrative level and also with a markup override for a given page.<br>
<br>Suggested config switch:<br> $EnablePTVOptionFirstWins=1;<br>-or-<br> $PTVOptions['firstwins'] = 1;<br><br>Suggested markup:<br> (:PTVoption lastwins:) // if the non-default config option has been chosen<br>
(:PTVoption firstwins:)<br><br>This leaves a relatively flexible markup if there are other PTV options one might want to set at some point in the future...<br>
<br>FWIW.<br><br>-Peter<br></div></div>