Re: Page Field notitleoverwrite on Jahia 5.1

ali DAN-BOUZOUA <[email protected]> Fri, 20 Feb 2009 18:18:02 -0800 (PST)
Newsgroups gmane.comp.cms.jahia.template
Message-ID <[email protected]>
--===============0840425019==
Content-Type: multipart/alternative; boundary="0-2121947206-1235182682=:42608"


--0-2121947206-1235182682=:42608
Content-Type: text/plain; charset=us-ascii



 

Thanks, it's works




________________________________
From: Benjamin Papez <[email protected]>
To: Any questions regarding template development and/or about the taglibs extension <[email protected]>
Sent: Wednesday, February 18, 2009 3:44:59 PM
Subject: Re: [template_list] Page Field notitleoverwrite on Jahia 5.1

Hello,

attached is the page_fields.jsp. You have to copy it to the directory tomcat\webapps\jahia\jsp\jahia\engines\shared of a Jahia 5.0.4 or 5.0.5 version.

If existing, you must also remove the precompile entries for page_field.jsp from tomcat\webapps\jahia\WEB-INF\web.xml: 
       <servlet> 
        <servlet-name>org.jahia.jsp.jahia.war.jsp.jahia.engines.shared.page_005ffield_jsp</servlet-name> 
        <servlet-class>org.jahia.jsp.jahia.war.jsp.jahia.engines.shared.page_005ffield_jsp</servlet-class> 
       </servlet> 
     
      <servlet-mapping> 
        <servlet-name>org.jahia.jsp.jahia.war.jsp.jahia.engines.shared.page_005ffield_jsp</servlet-name> 
        <url-pattern>/jsp/jahia/engines/shared/page_field.jsp</url-pattern> 
       </servlet-mapping> 

Hope that helps,
Benjamin

PS.: The keyword is not yet implemented in Jahia 6, where all these definitions did undergo some major refactoring and some of them still need to be implemented to have the same set of features as in Jahia 5.


2009/2/18 ali DAN-BOUZOUA <[email protected]>

Hello,
 

>>Which version are you using ?  
jahia5.0.4_r21181 
 
But I can move my dev to a latest Jahia 5.XX if requiered (I'm testing also in // Jahia 6)


 
>> If you want, I could send you a patched page_field.jsp, which is reacting on a notitleoverwrite keyword.
Yes please, send me the patched page_field.jsp
 
Have good night


 



________________________________
 From: Benjamin Papez <[email protected]>
To: Any questions regarding template development and/or about the taglibs extension <[email protected]>
Sent: Tuesday, February 17, 2009 5:04:47 PM
Subject: Re: [template_list] Page Field notitleoverwrite on Jahia 5.1


Hello,

"notitleoverwrite" was supposed to be introduced in Jahia 5.1, which unfortunately has not been released yet. We have a Jahia 5 trunk with some performance and feature enhancements prepared, but not released yet. Instead the jahia 5 hotfix SVN branch was used to release jahai 5.0.5 recently.

Which version are you using ? If you want, I could send you a patched page_field.jsp, which is reacting on a notitleoverwrite keyword.

Regarding the "jahia_linkonly" versus "linkonly" - I think both will work, because the code is simply checking for the occurence of "linkonly".

Regards,
Benjamin


2009/2/17 ali DAN-BOUZOUA <[email protected]>


Im using this code below derives from news/definitions.inc

I would like to use notitleoverwrite property in order to remove the input field for the page title (jahia 5. guide p. 34).

<content:declareField name="link"
            title="Link" type="Page"
            value="<jahia_linkonly, , notitleoverwrite>"
            titleKey="docun.link" bundleKey="<%=resBundleID%>"
        />


But 

1. It's doesn't seems to works

2.jahia_linkonly is used instead oflinkonly as describes in the documentation

Any idea about how to make it works?

Kind regards





_______________________________________________
template_list mailing list
[email protected]
http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list




_______________________________________________
template_list mailing list
[email protected]
http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list


      
--0-2121947206-1235182682=:42608
Content-Type: text/html; charset=us-ascii

<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial,helvetica,sans-serif;font-size:12pt"><br><div>&nbsp;</div><br><div>Thanks, it's works<br></div><div style="font-family: arial,helvetica,sans-serif; font-size: 12pt;"><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><font size="2" face="Tahoma"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> Benjamin Papez &lt;[email protected]&gt;<br><b><span style="font-weight: bold;">To:</span></b> Any questions regarding template development and/or about the taglibs extension &lt;[email protected]&gt;<br><b><span style="font-weight: bold;">Sent:</span></b> Wednesday, February 18, 2009 3:44:59 PM<br><b><span style="font-weight: bol
 d;">Subject:</span></b> Re: [template_list] Page Field notitleoverwrite on Jahia 5.1<br></font><br>
Hello,<br><br>attached is the page_fields.jsp. You have to copy it to the directory tomcat\webapps\jahia\jsp\jahia\engines\shared of a Jahia 5.0.4 or 5.0.5 version.<br><br>If existing, you must also remove the precompile entries for page_field.jsp from tomcat\webapps\jahia\WEB-INF\web.xml:
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;servlet&gt;
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;servlet-name&gt;org.jahia.jsp.jahia.war.jsp.jahia.engines.shared.page_005ffield_jsp&lt;/servlet-name&gt;
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;servlet-class&gt;org.jahia.jsp.jahia.war.jsp.jahia.engines.shared.page_005ffield_jsp&lt;/servlet-class&gt;
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/servlet&gt;
<br>
&nbsp;&nbsp;&nbsp;&nbsp;
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;servlet-mapping&gt;
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;servlet-name&gt;org.jahia.jsp.jahia.war.jsp.jahia.engines.shared.page_005ffield_jsp&lt;/servlet-name&gt;
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;url-pattern&gt;/jsp/jahia/engines/shared/page_field.jsp&lt;/url-pattern&gt;
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/servlet-mapping&gt;
<br><br>Hope that helps,<br>Benjamin<br><br>PS.: The keyword is not yet implemented in Jahia 6, where all these definitions did undergo some major refactoring and some of them still need to be implemented to have the same set of features as in Jahia 5.<br>
<br><div class="gmail_quote">2009/2/18 ali DAN-BOUZOUA <span dir="ltr">&lt;<a rel="nofollow" ymailto="mailto:[email protected]" target="_blank" href="mailto:[email protected]">[email protected]</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div style="font-family: arial,helvetica,sans-serif; font-size: 12pt;"><div></div>
<div>Hello,</div><div class="Ih2E3d">
<div>&nbsp;</div>
<div><br>&gt;&gt;Which version are you using ?&nbsp;&nbsp;</div>
</div><div>jahia5.0.4_r21181 </div>
<div>&nbsp;</div>
<div>But I can move my dev to a latest Jahia 5.XX if requiered (I'm testing also in // Jahia 6)</div><div class="Ih2E3d"><br>
<div>&nbsp;</div>
<div>&gt;&gt; If you want, I could send you a patched page_field.jsp, which is reacting on a <span style="font-style: italic;">notitleoverwrite </span>keyword.</div>
</div><div>Yes please, send me the patched page_field.jsp</div>
<div>&nbsp;</div>
<div>Have good night</div>
<div><br><br>&nbsp;</div>
<div style="font-size: 12pt; font-family: arial,helvetica,sans-serif;"><br>
<div style="font-size: 12pt; font-family: times new roman,new york,times,serif;"><font size="2" face="Tahoma">
<hr size="1">
<b><span style="font-weight: bold;">From:</span></b> Benjamin Papez &lt;<a rel="nofollow" ymailto="mailto:[email protected]" target="_blank" href="mailto:[email protected]">[email protected]</a>&gt;<br><b><span style="font-weight: bold;">To:</span></b> Any questions regarding template development and/or about the taglibs extension &lt;<a rel="nofollow" ymailto="mailto:[email protected]" target="_blank" href="mailto:[email protected]">[email protected]</a>&gt;<br>
<b><span style="font-weight: bold;">Sent:</span></b> Tuesday, February 17, 2009 5:04:47 PM<br><b><span style="font-weight: bold;">Subject:</span></b> Re: [template_list] Page Field notitleoverwrite on Jahia 5.1<br></font><div>
<div></div><div class="Wj3C7c"><br>Hello,<br><br>"notitleoverwrite" was supposed to be introduced in Jahia 5.1, which unfortunately has not been released yet. We have a Jahia 5 trunk with some performance and feature enhancements prepared, but not released yet. Instead the jahia 5 hotfix SVN branch was used to release jahai 5.0.5 recently.<br>
<br>Which version are you using ? If you want, I could send you a patched page_field.jsp, which is reacting on a <span style="font-style: italic;">notitleoverwrite
 </span>keyword.<br><br>Regarding the "jahia_linkonly" versus "linkonly" - I think both will work, because the code is simply checking for the occurence of "linkonly".<br><br>Regards,<br>Benjamin<br>
<br>
<div class="gmail_quote">2009/2/17 ali DAN-BOUZOUA <span dir="ltr">&lt;<a rel="nofollow" ymailto="mailto:[email protected]" target="_blank" href="mailto:[email protected]">[email protected]</a>&gt;</span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>
<div style="font-size: 12pt; font-family: arial,helvetica,sans-serif;"><br>Im using this code below derives from news/definitions.inc<br><br>I would like to use <span style="font-style: italic;">notitleoverwrite </span>property in order to remove the input field for the page title (jahia 5. guide p. 34).<br>
<br>&lt;content:declareField name="link"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; title="Link" type="Page"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; value="&lt;jahia_linkonly, , notitleoverwrite&gt;"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; titleKey="docun.link" bundleKey="&lt;%=resBundleID%&gt;"<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /&gt;<br><br><br>But <br><br>1. It's doesn't seems to works<br><br>2.<span style="font-weight: bold;"> jahia_linkonly</span> is used instead of<span style="font-weight: bold;"> linkonly</span> as describes in the
 documentation<br><br>Any idea about how to make it works?<br><br>Kind regards<br><br><br><br></div><br></div><br>_______________________________________________<br>template_list mailing list<br><a rel="nofollow" ymailto="mailto:[email protected]" target="_blank" href="mailto:[email protected]">[email protected]</a><br>
<a rel="nofollow" target="_blank" href="http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list">http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list</a><br><br></blockquote></div><br></div></div></div></div>
</div><br>

      </div><br>_______________________________________________<br>
template_list mailing list<br>
<a rel="nofollow" ymailto="mailto:[email protected]" target="_blank" href="mailto:[email protected]">[email protected]</a><br>
<a rel="nofollow" target="_blank" href="http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list">http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list</a><br>
<br></blockquote></div><br>
</div></div></div><br>



      </body></html>
--0-2121947206-1235182682=:42608--

--===============0840425019==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
template_list mailing list
[email protected]
http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list

--===============0840425019==--