<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Georgia;
        panose-1:2 4 5 2 5 4 5 2 3 3;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:Georgia;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 114.15pt 1.0in 114.1pt;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoPlainText>On Tuesday, 31 July 2007 12:02 PM, Sameer Kumar
&lt;skumar@eharch.com&gt; wrote:<o:p></o:p></p>

<p class=MsoPlainText>&gt;<o:p>&nbsp;</o:p></p>

<p class=MsoPlainText>&gt;In continuation of my post below, for a
Group.PageActions page, I tried<o:p></o:p></p>

<p class=MsoPlainText>&gt;&nbsp;<o:p></o:p></p>

<p class=MsoPlainText>&gt;(:if group Projects:)<o:p></o:p></p>

<p class=MsoPlainText>&gt;(:if exists Projects.{$Name} :)(:fpara
title=Projects.{$Name} :)<o:p></o:p></p>

<p class=MsoPlainText>&gt;* %item rel=nofollow class=back<o:p></o:p></p>

<p class=MsoPlainText>&gt;accesskey=$[ak_back]%[[@3@{$Name}@3@}?action=view |
$[View] ]]<o:p></o:p></p>

<p class=MsoPlainText>&gt;(:ifend:)<o:p></o:p></p>

<p class=MsoPlainText>&gt;(:ifend:)<o:p></o:p></p>

<p class=MsoPlainText>&gt;&nbsp;<o:p></o:p></p>

<p class=MsoPlainText>&gt;But this does not work. Any ideas how I can achieve
that???<o:p></o:p></p>

<p class=MsoPlainText><o:p>&nbsp;</o:p></p>

<p class=MsoPlainText>What did it give you?? When you say &quot;it does not
work&quot;, that doesn't<o:p></o:p></p>

<p class=MsoPlainText>give me much to go on. <o:p></o:p></p>

<p class=MsoPlainText><b><i>[SK] <span style='color:black'>When I say &#8220;It
does not work&#8221; I mean that when I add the above conditional statement,
the &#8220;View&#8221; tab disappears. <o:p></o:p></span></i></b></p>

<p class=MsoPlainText><o:p>&nbsp;</o:p></p>

<p class=MsoPlainText>I think your problem is that you are not<o:p></o:p></p>

<p class=MsoPlainText>referring to the correct {$Name}. You need to be referring
to the<o:p></o:p></p>

<p class=MsoPlainText>name of the page containing the title. If I have read the
documentation<o:p></o:p></p>

<p class=MsoPlainText>for this recipe correctly, that is stored in {$BaseName}.
However,<o:p></o:p></p>

<p class=MsoPlainText>I am not familiar with this particular recipe.<o:p></o:p></p>

<p class=MsoPlainText><o:p>&nbsp;</o:p></p>

<p class=MsoPlainText>Can you send me some links to the pages with the problems?<o:p></o:p></p>

<p class=MsoPlainText>In addition, explain what is happening and what you want
to happen.<o:p></o:p></p>

<p class=MsoPlainText><span style='color:black'><o:p>&nbsp;</o:p></span></p>

<p class=MsoPlainText><b><i><span style='color:black'>[SK] As far as I know,
this is not a recipe. It is PmWiki core functionality. See <a
href="http://www.pmwiki.com/wiki/PmWiki/PageActions-Draft">http://www.pmwiki.com/wiki/PmWiki/PageActions-Draft</a>.<o:p></o:p></span></i></b></p>

<p class=MsoPlainText><b><i><span style='color:black'>The website that I have
sent you the link for (<a href="http://www.93batch.org/">www.93batch.org</a>) will
demonstrate that if you go to Site.PageActions. I am having some permissions
issues with this website currently. Hopfully that will not interfere with your
purpose.<o:p></o:p></span></i></b></p>

<p class=MsoPlainText><b><i><span style='color:black'><o:p>&nbsp;</o:p></span></i></b></p>

<p class=MsoPlainText><b><i><span style='color:black'>I have a group called
Comments which stores all the pages under the Discussion tab. See <a
href="http://www.pmwiki.org/wiki/Cookbook/CommentPageLink-Talk">http://www.pmwiki.org/wiki/Cookbook/CommentPageLink-Talk</a><o:p></o:p></span></i></b></p>

<p class=MsoPlainText><b><i><span style='color:black'>AS per this link, I am
trying to rework the tabs on Comments.PageActions so that &#8220;if the Group
is Projects, &#8220;View&#8221; tab takes me to Projects.&lt;title&gt; rather
than Project.{$Name}&#8221;<o:p></o:p></span></i></b></p>

<p class=MsoPlainText><b><i><span style='color:black'>This is similar to the
Site.PageActions where it says that &#8220;if the Group is Projects, &#8220;Edit&#8221;
tab takes me to Projecttext.{$Name}?action=edit instead of Project.{?Name}&#8230;&#8221;<o:p></o:p></span></i></b></p>

<p class=MsoPlainText><b><i><span style='color:black'>Hope that helps.<o:p></o:p></span></i></b></p>

<p class=MsoPlainText><o:p>&nbsp;</o:p></p>

<p class=MsoPlainText>You probably need<o:p></o:p></p>

<p class=MsoPlainText>(:if exists Projects.{$BaseName} :)(:fpara
title=Projects.{$BaseName} :)<o:p></o:p></p>

<p class=MsoPlainText><b><i><span style='color:black'>[SK] I tried this. Again,
the View tab disappears. </span></i></b><span style='color:black'><o:p></o:p></span></p>

<p class=MsoPlainText><o:p>&nbsp;</o:p></p>

<p class=MsoPlainText>However, this may go horribly wrong if $BaseName = $Name
-- ie<o:p></o:p></p>

<p class=MsoPlainText>you are on the base page and not on the corresponding
discussion page.<o:p></o:p></p>

<p class=MsoPlainText>This is just a guess. Without seeing what is happening,
I'm groping<o:p></o:p></p>

<p class=MsoPlainText>in the dark.<o:p></o:p></p>

<p class=MsoPlainText><o:p>&nbsp;</o:p></p>

<p class=MsoPlainText>Sorry, this is not much help.<o:p></o:p></p>

<p class=MsoPlainText><o:p>&nbsp;</o:p></p>

<p class=MsoPlainText>JR<o:p></o:p></p>

</div>

</body>

</html>