[xwiki-users] Immediate Children not working
Hi I just copied the code in here http://extensions.xwiki.org/xwiki/bin/view/Extension/Immediate+Children+Page... into a new navigation panel, it is not showing anything i have the same problem with the Backlinks panel any ideas ? -- *BHY*
Works for me. On Sun, May 26, 2013 at 7:06 PM, Belkhiria Hamza Yazid <[email protected]> wrote:
Hi
I just copied the code in here http://extensions.xwiki.org/xwiki/bin/view/Extension/Immediate+Children+Page...
into a new navigation panel,
it is not showing anything i have the same problem with the Backlinks panel
any ideas ?
-- *BHY* _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
maybe it is wiki syntax, are you on xwiki 2.1 syntax ? On 27 May 2013 19:21, Marius Dumitru Florea <[email protected]>wrote:
Works for me.
On Sun, May 26, 2013 at 7:06 PM, Belkhiria Hamza Yazid <[email protected]> wrote:
Hi
I just copied the code in here
http://extensions.xwiki.org/xwiki/bin/view/Extension/Immediate+Children+Page...
into a new navigation panel,
it is not showing anything i have the same problem with the Backlinks panel
any ideas ?
-- *BHY* _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- *BHY*
Yes. I went to Panels.WebHome, created a new panel Foo, replaced the default content with the one copied from the extension page, saved, went to the wiki administration, Page Elements, added Panels.Foo to the list of right panels, saved, went to the home page and the Children panel listed all children of the home page. On Mon, May 27, 2013 at 9:23 PM, Belkhiria Hamza Yazid <[email protected]> wrote:
maybe it is wiki syntax,
are you on xwiki 2.1 syntax ?
On 27 May 2013 19:21, Marius Dumitru Florea <[email protected]>wrote:
Works for me.
On Sun, May 26, 2013 at 7:06 PM, Belkhiria Hamza Yazid <[email protected]> wrote:
Hi
I just copied the code in here
http://extensions.xwiki.org/xwiki/bin/view/Extension/Immediate+Children+Page...
into a new navigation panel,
it is not showing anything i have the same problem with the Backlinks panel
any ideas ?
-- *BHY* _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- *BHY* _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
now it works thanks :) is it possible to customize the header of the panel to show instead of "Children" Something like " Children of (name of the page)" On 27 May 2013 19:33, Marius Dumitru Florea <[email protected]>wrote:
Yes. I went to Panels.WebHome, created a new panel Foo, replaced the default content with the one copied from the extension page, saved, went to the wiki administration, Page Elements, added Panels.Foo to the list of right panels, saved, went to the home page and the Children panel listed all children of the home page.
On Mon, May 27, 2013 at 9:23 PM, Belkhiria Hamza Yazid <[email protected]> wrote:
maybe it is wiki syntax,
are you on xwiki 2.1 syntax ?
On 27 May 2013 19:21, Marius Dumitru Florea <[email protected]>wrote:
Works for me.
On Sun, May 26, 2013 at 7:06 PM, Belkhiria Hamza Yazid <[email protected]> wrote:
Hi
I just copied the code in here
http://extensions.xwiki.org/xwiki/bin/view/Extension/Immediate+Children+Page...
into a new navigation panel,
it is not showing anything i have the same problem with the Backlinks panel
any ideas ?
-- *BHY* _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- *BHY* _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- *BHY*
On Mon, May 27, 2013 at 10:44 PM, Belkhiria Hamza Yazid <[email protected]> wrote:
now it works thanks :)
is it possible to customize the header of the panel to show instead of "Children" Something like " Children of (name of the page)"
Replace #panelheader($msg.get("core.viewers.information.children")) with #panelheader("Children of $doc.name") That is Velocity code. You need to understand it if you want to do customizations. See http://platform.xwiki.org/xwiki/bin/view/DevGuide/Scripting . Hope this helps, Marius
On 27 May 2013 19:33, Marius Dumitru Florea <[email protected]>wrote:
Yes. I went to Panels.WebHome, created a new panel Foo, replaced the default content with the one copied from the extension page, saved, went to the wiki administration, Page Elements, added Panels.Foo to the list of right panels, saved, went to the home page and the Children panel listed all children of the home page.
On Mon, May 27, 2013 at 9:23 PM, Belkhiria Hamza Yazid <[email protected]> wrote:
maybe it is wiki syntax,
are you on xwiki 2.1 syntax ?
On 27 May 2013 19:21, Marius Dumitru Florea <[email protected]>wrote:
Works for me.
On Sun, May 26, 2013 at 7:06 PM, Belkhiria Hamza Yazid <[email protected]> wrote:
Hi
I just copied the code in here
http://extensions.xwiki.org/xwiki/bin/view/Extension/Immediate+Children+Page...
into a new navigation panel,
it is not showing anything i have the same problem with the Backlinks panel
any ideas ?
-- *BHY* _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- *BHY* _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- *BHY* _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
Works Perfect, Thanks Marius, On 28 May 2013 07:25, Marius Dumitru Florea <[email protected]>wrote:
On Mon, May 27, 2013 at 10:44 PM, Belkhiria Hamza Yazid <[email protected]> wrote:
now it works thanks :)
is it possible to customize the header of the panel to show instead of "Children" Something like " Children of (name of the page)"
Replace
#panelheader($msg.get("core.viewers.information.children"))
with
#panelheader("Children of $doc.name")
That is Velocity code. You need to understand it if you want to do customizations. See http://platform.xwiki.org/xwiki/bin/view/DevGuide/Scripting .
Hope this helps, Marius
On 27 May 2013 19:33, Marius Dumitru Florea <[email protected]>wrote:
Yes. I went to Panels.WebHome, created a new panel Foo, replaced the default content with the one copied from the extension page, saved, went to the wiki administration, Page Elements, added Panels.Foo to the list of right panels, saved, went to the home page and the Children panel listed all children of the home page.
On Mon, May 27, 2013 at 9:23 PM, Belkhiria Hamza Yazid <[email protected]> wrote:
maybe it is wiki syntax,
are you on xwiki 2.1 syntax ?
On 27 May 2013 19:21, Marius Dumitru Florea <[email protected]>wrote:
Works for me.
On Sun, May 26, 2013 at 7:06 PM, Belkhiria Hamza Yazid <[email protected]> wrote:
Hi
I just copied the code in here
http://extensions.xwiki.org/xwiki/bin/view/Extension/Immediate+Children+Page...
into a new navigation panel,
it is not showing anything i have the same problem with the Backlinks panel
any ideas ?
-- *BHY* _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- *BHY* _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- *BHY* _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- *BHY*
Hey what about customizing it to get 1st and 2nd levels of children ? On 28 May 2013 07:32, Belkhiria Hamza Yazid <[email protected]>wrote:
Works Perfect,
Thanks Marius,
On 28 May 2013 07:25, Marius Dumitru Florea < [email protected]> wrote:
On Mon, May 27, 2013 at 10:44 PM, Belkhiria Hamza Yazid <[email protected]> wrote:
now it works thanks :)
is it possible to customize the header of the panel to show instead of "Children" Something like " Children of (name of the page)"
Replace
#panelheader($msg.get("core.viewers.information.children"))
with
#panelheader("Children of $doc.name")
That is Velocity code. You need to understand it if you want to do customizations. See http://platform.xwiki.org/xwiki/bin/view/DevGuide/Scripting .
Hope this helps, Marius
On 27 May 2013 19:33, Marius Dumitru Florea <[email protected]>wrote:
Yes. I went to Panels.WebHome, created a new panel Foo, replaced the default content with the one copied from the extension page, saved, went to the wiki administration, Page Elements, added Panels.Foo to the list of right panels, saved, went to the home page and the Children panel listed all children of the home page.
On Mon, May 27, 2013 at 9:23 PM, Belkhiria Hamza Yazid <[email protected]> wrote:
maybe it is wiki syntax,
are you on xwiki 2.1 syntax ?
On 27 May 2013 19:21, Marius Dumitru Florea <[email protected]>wrote:
Works for me.
On Sun, May 26, 2013 at 7:06 PM, Belkhiria Hamza Yazid <[email protected]> wrote: > Hi > > I just copied the code in here >
http://extensions.xwiki.org/xwiki/bin/view/Extension/Immediate+Children+Page...
> > into a new navigation panel, > > > it is not showing anything > i have the same problem with the Backlinks panel > > any ideas ? > > -- > *BHY* > _______________________________________________ > users mailing list > [email protected] > http://lists.xwiki.org/mailman/listinfo/users _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- *BHY* _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- *BHY* _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- *BHY*
-- *BHY*
What about how to exclude webpreferences from results ? On 10 April 2014 07:43, Belkhiria Hamza Yazid <[email protected]>wrote:
Hey what about customizing it to get 1st and 2nd levels of children ?
On 28 May 2013 07:32, Belkhiria Hamza Yazid <[email protected]>wrote:
Works Perfect,
Thanks Marius,
On 28 May 2013 07:25, Marius Dumitru Florea < [email protected]> wrote:
On Mon, May 27, 2013 at 10:44 PM, Belkhiria Hamza Yazid <[email protected]> wrote:
now it works thanks :)
is it possible to customize the header of the panel to show instead of "Children" Something like " Children of (name of the page)"
Replace
#panelheader($msg.get("core.viewers.information.children"))
with
#panelheader("Children of $doc.name")
That is Velocity code. You need to understand it if you want to do customizations. See http://platform.xwiki.org/xwiki/bin/view/DevGuide/Scripting .
Hope this helps, Marius
On 27 May 2013 19:33, Marius Dumitru Florea <[email protected]>wrote:
Yes. I went to Panels.WebHome, created a new panel Foo, replaced the default content with the one copied from the extension page, saved, went to the wiki administration, Page Elements, added Panels.Foo to the list of right panels, saved, went to the home page and the Children panel listed all children of the home page.
On Mon, May 27, 2013 at 9:23 PM, Belkhiria Hamza Yazid <[email protected]> wrote:
maybe it is wiki syntax,
are you on xwiki 2.1 syntax ?
On 27 May 2013 19:21, Marius Dumitru Florea <[email protected]>wrote:
> Works for me. > > On Sun, May 26, 2013 at 7:06 PM, Belkhiria Hamza Yazid > <[email protected]> wrote: > > Hi > > > > I just copied the code in here > > >
http://extensions.xwiki.org/xwiki/bin/view/Extension/Immediate+Children+Page...
> > > > into a new navigation panel, > > > > > > it is not showing anything > > i have the same problem with the Backlinks panel > > > > any ideas ? > > > > -- > > *BHY* > > _______________________________________________ > > users mailing list > > [email protected] > > http://lists.xwiki.org/mailman/listinfo/users > _______________________________________________ > users mailing list > [email protected] > http://lists.xwiki.org/mailman/listinfo/users >
-- *BHY* _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- *BHY* _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- *BHY*
-- *BHY*
-- *BHY*
On 04/11/2014 03:48 PM, Belkhiria Hamza Yazid wrote:
What about how to exclude webpreferences from results ?
I thought this should happen" automatically, but then I realized the code snippet is quite a bit old ... The simpler way, which also does not show hidden documents like the web preferences, unlike the user asks for them, is: #set($results = $doc.getChildren(10, 0)) #foreach($docname in $results) #set($rdoc = $xwiki.getDocument($docname).getTranslatedDocument()) * [[$rdoc.getDisplayTitle()>>$rdoc.fullName]] #end About also having a second level I feel we are walking into "navigation tree" land, and something like the js-tree might be better: http://extensions.xwiki.org/xwiki/bin/view/Extension/jsTree+Macro or (shameless plug ;) maybe try the document tree panel http://extensions.xwiki.org/xwiki/bin/view/Extension/DocumentTreePanel This one is more or less the same as the tree view in the document index, just starting at the current page.
On 10 April 2014 07:43, Belkhiria Hamza Yazid <[email protected]>wrote:
Hey what about customizing it to get 1st and 2nd levels of children ?
On 28 May 2013 07:32, Belkhiria Hamza Yazid <[email protected]>wrote:
Works Perfect,
Thanks Marius,
On 28 May 2013 07:25, Marius Dumitru Florea < [email protected]> wrote:
On Mon, May 27, 2013 at 10:44 PM, Belkhiria Hamza Yazid <[email protected]> wrote:
now it works thanks :)
is it possible to customize the header of the panel to show instead of "Children" Something like " Children of (name of the page)"
Replace
#panelheader($msg.get("core.viewers.information.children"))
with
#panelheader("Children of $doc.name")
That is Velocity code. You need to understand it if you want to do customizations. See http://platform.xwiki.org/xwiki/bin/view/DevGuide/Scripting .
Hope this helps, Marius
On 27 May 2013 19:33, Marius Dumitru Florea <[email protected]>wrote:
Yes. I went to Panels.WebHome, created a new panel Foo, replaced the default content with the one copied from the extension page, saved, went to the wiki administration, Page Elements, added Panels.Foo to the list of right panels, saved, went to the home page and the Children panel listed all children of the home page.
On Mon, May 27, 2013 at 9:23 PM, Belkhiria Hamza Yazid <[email protected]> wrote: > maybe it is wiki syntax, > > are you on xwiki 2.1 syntax ? > > > On 27 May 2013 19:21, Marius Dumitru Florea > <[email protected]>wrote: > >> Works for me. >> >> On Sun, May 26, 2013 at 7:06 PM, Belkhiria Hamza Yazid >> <[email protected]> wrote: >>> Hi >>> >>> I just copied the code in here >>> >>
http://extensions.xwiki.org/xwiki/bin/view/Extension/Immediate+Children+Page...
>>> >>> into a new navigation panel, >>> >>> >>> it is not showing anything >>> i have the same problem with the Backlinks panel >>> >>> any ideas ? >>> >>> -- >>> *BHY* >>> _______________________________________________ >>> users mailing list >>> [email protected] >>> http://lists.xwiki.org/mailman/listinfo/users >> _______________________________________________ >> users mailing list >> [email protected] >> http://lists.xwiki.org/mailman/listinfo/users >> > > > > -- > *BHY* > _______________________________________________ > users mailing list > [email protected] > http://lists.xwiki.org/mailman/listinfo/users _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- *BHY* _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- *BHY*
-- *BHY*
-- Clemens Klein-Robbenhaar Software Development EsPresto AG Breite Str. 30-31 10178 Berlin/Germany Tel: +49.(0)30.90 226.763 Fax: +49.(0)30.90 226.760 [email protected] HRB 77554 B - Berlin-Charlottenburg Vorstand: Maya Biersack, Peter Biersack Vorsitzender des Aufsichtsrats: Dipl.-Wirtsch.-Ing. Winfried Weber Zertifiziert nach ISO 9001:2008
participants (3)
-
Belkhiria Hamza Yazid -
Clemens Robbenhaar -
Marius Dumitru Florea