You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by qMax <qm...@mediasoft.ru> on 2005/05/16 11:42:24 UTC
Re[2]: going from live to authoring / a usability issue ?
Monday, January 31, 2005, 11:27:49 PM, Gregor J. Rothfuss wrote:
GJR> you could add a link to the authoring area for that page that only shows
GJR> if you are logged in
If this link has href="/$prefix/$pub/authoring/$documentid.html"
then LinkRewriting transformer in publication-sitemap.xmap
rewrites this link back to live area.
Question:
how to add such link properly and do not skip link-rewriting ?
--
qMax
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
Re: going from live to authoring / a usability issue ?
Posted by Doug Chestnut <dh...@virginia.edu>.
Opps, forgot to mention, I don't use the root param any where else in my
stylesheet so I have made it always point to the authoring area in my
publication-sitemap.xmap aggregation. Like so:
<map:parameter name="root"
value="{page-envelope:context-prefix}/{2}/authoring"/>
--Doug
Doug Chestnut wrote:
> Not quite sure if it is proper, but I make the link absolute and include
> the server name. I do this partly to get past the link-rewriting, but
> mainly to link to the server that I use for authoring (not the same
> server that hosts my live site).
>
> Here is how I am adding the link, my content managers love being able to
> use the alt-e shortcut:
>
> <xsl:template match="xhtml:body">
> <xsl:copy>
> <xsl:apply-templates select="@*|node()"/>
> <a accesskey="e" href="http://virginia.edu:8080{$root}/{$url}">&#
> 160;</a>
> </xsl:copy>
> </xsl:template>
>
> --Doug
>
>
>
> qMax wrote:
>
>> Monday, January 31, 2005, 11:27:49 PM, Gregor J. Rothfuss wrote:
>> GJR> you could add a link to the authoring area for that page that
>> only shows
>> GJR> if you are logged in
>>
>> If this link has href="/$prefix/$pub/authoring/$documentid.html"
>> then LinkRewriting transformer in publication-sitemap.xmap
>> rewrites this link back to live area.
>>
>> Question:
>> how to add such link properly and do not skip link-rewriting ?
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> For additional commands, e-mail: user-help@lenya.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
Re: going from live to authoring / a usability issue ?
Posted by Doug Chestnut <dh...@virginia.edu>.
Not quite sure if it is proper, but I make the link absolute and include
the server name. I do this partly to get past the link-rewriting, but
mainly to link to the server that I use for authoring (not the same
server that hosts my live site).
Here is how I am adding the link, my content managers love being able to
use the alt-e shortcut:
<xsl:template match="xhtml:body">
<xsl:copy>
<xsl:apply-templates select="@*|node()"/>
<a accesskey="e" href="http://virginia.edu:8080{$root}/{$url}">&#
160;</a>
</xsl:copy>
</xsl:template>
--Doug
qMax wrote:
> Monday, January 31, 2005, 11:27:49 PM, Gregor J. Rothfuss wrote:
> GJR> you could add a link to the authoring area for that page that only shows
> GJR> if you are logged in
>
> If this link has href="/$prefix/$pub/authoring/$documentid.html"
> then LinkRewriting transformer in publication-sitemap.xmap
> rewrites this link back to live area.
>
> Question:
> how to add such link properly and do not skip link-rewriting ?
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org