Thanks Sergiy
The "Links" box type is definitively what I need. I am using Jahia release
5.0.0, Community Edition, Build 16138 and this is the content of my
box_links.inc file. Do you know why I am unable to change/reset the link? Any
help would be greatly appreciated.
<ul class="box_links">
<content:containerList name='<%="linksContainer" + id%>'
id="linksContainerList" parentContainerName="boxContainer">
<jahiaHtml:actionMenu name="linksContainerList" namePostFix=""
resourceBundle="jahiatemplates.Corporate_portal_templates">
<content:container id="linksContainer">
<li><content:pageField valueId="link" name='boxlink'>
<logic:notEmpty name="link">
<a class="box"
<logic:equal name="link" property="type" value="2">
target="_new"
</logic:equal>
href="<bean:write name='link' property='url'/>"
><bean:write name="link" property="title"
filter="false"/></a>
<content:textField valueId="linkDesc" name='linkDesc'
display="false" defaultValue=""/>
<logic:notEmpty name="linkDesc">
<ul>
<li><bean:write name="linkDesc"
filter="false"/></li>
</ul>
</logic:notEmpty>
</logic:notEmpty>
<logic:empty name="link">
<logic:equal name="currentRequest" property="editMode"
value="true">
<content:resourceBundle
resourceBundle="jahiatemplates.Corporate_portal_templates"
resourceName="noLink"/>
</logic:equal>
</logic:empty>
</content:pageField>
<jahiaHtml:actionMenu name="linksContainer" namePostFix=""
resourceBundle="jahiatemplates.Corporate_portal_templates" useFieldSet="false">
</jahiaHtml:actionMenu></li>
</content:container>
<content:addContainerURL id="addLinkContainerURL" display="false"/>
<logic:present name="addLinkContainerURL">
<jahiaHtml:actionMenu name="linksContainerList" namePostFix=""
resourceBundle="jahiatemplates.Corporate_portal_templates"
useFieldSet="false" actionIcon='<%=theURL +
"/images/add.gif"%>' labelKey="addLink">
</jahiaHtml:actionMenu>
</logic:present>
</jahiaHtml:actionMenu>
</content:containerList>
</ul>
Regards
Bojana
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sergiy Shyrkov
Sent: Thursday, 13 March 2008 8:18 PM
To: Any questions regarding template development and/or about the taglibs
extension
Subject: Re: [template_list] Unable to reset links in the links portlet in
Jahia5
Hi Bojana,
if you are using a box of type "Pages" and create a page their using an
existing template, there is no possibility later to change the page
type, i.e. to make it an external page, if it was a Jahia page. Only to
change the template.
It is not the limitation of the Jahia Community Edition.
There is another possibility.
You can create a box of type "Links", where you can add either links to
any existing Jahia page or any external page. And you can also change it
later to be internal or external page.
Kind regards
Sergiy.
Bojana Lalic wrote:
> Hi Sergiy
>
> When using a links portlet to add a link I get the following options:
>
> Link/Page title
> Create a new Jahia page using template
> Move an existing Jahia page here
> Link to an existing Jahia page
> Create a link to an external web site
> Don't create Jahia page
>
> So, I add a Link using a template and click ok.
> Now I want to edit the link so it links to an external web site....
>
> However, the only option I've got now is:
> Change the existing Jahia page template
>
> Any ideas as to why this would be happening?
>
> Regards
>
> Bojana
>
>
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sergiy Shyrkov
> Sent: Wednesday, 12 March 2008 6:12 PM
> To: Any questions regarding template development and/or about the taglibs
> extension
> Subject: Re: [template_list] Unable to reset links in the links portlet in
> Jahia5
>
> Hello Bojana,
>
> could you, please, provide a bit more details? What do you mean under
> "reset or change links"?
>
> Kind regards
> Sergiy
>
> Bojana Lalic wrote:
>
>> Hi all
>>
>> I am using a free version of jahia5 and am unable to reset or change
>> links once I've created them.
>>
>> Is the demo site
>> (http://www.jahia.net/demo5/Jahia/site/demo/op/edit/home ) a free
>> version of jahia5 or not? Because it does have this functionality
>> which I want...
>>
>> Does anyone know why this might be happening?
>>
>> Regards
>>
>>
>> Bojana
>>
>>
_______________________________________________
template_list mailing list
[email protected]
http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list
IMPORTANT: This e-mail, including any attachments, may contain private or
confidential information. If you think you may not be the intended recipient,
or if you have received this e-mail in error, please contact the sender
immediately and delete all copies of this e-mail. If you are not the intended
recipient, you must not reproduce any part of this e-mail or disclose its
contents to any other party. This email represents the views of the individual
sender, which do not necessarily reflect those of education.au limited except
where the sender expressly states otherwise. It is your responsibility to scan
this email and any files transmitted with it for viruses or any other defects.
education.au limited will not be liable for any loss, damage or consequence
caused directly or indirectly by this email.
_______________________________________________
template_list mailing list
[email protected]
http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list