Portal Engine Questions on portal engine and web parts.
Version 7.x > Portal Engine > Repeater pathing View modes: 
User avatar
Member
Member
esolutions - 6/13/2013 3:35:57 PM
   
Repeater pathing
Hi,

I have a site where I need to display links pages based on the current level in the document tree. So for example the following pages are set up:
Top Level Node
Products & Rates
Products
Product 1
Child 1 of Product 1
Child 2 of Product 1
etc

Right now, to display all the child pages of Product 1 a repeater has been set up with the path as /{0}//{1}/{2}/%. The document type of Product 1 as well as the document type of Product 1's children and CMS.MenuItem have been assigned as the document types. The links to Child 1 of Product 1, Child 2 of Product 1, etc displays on the Product 1 page.

I now need to do something similar for the child pages of Product 1. Only this time I need to display the links to the pages a that current level. So if I was on Child 1 Product 1 I would have links to Child 1 of Product 1, Child 2 of Product 2 and so on. But I can't seem to get it to work. The document types are correct but no matter what type of pathing I use the page links won't show up. I've even tried to add /Products-Rates/Products/Product 1/% t the repeater path on the template that is used by Child 1 of Product 1, etc. and it hasn't worked. Any ideas?

User avatar
Member
Member
esolutions - 6/13/2013 3:49:13 PM
   
RE:Repeater pathing
I should also add that the I added </li><li> tags as an item separator and <ul class="insideNav"><li> for the content before and </li></ul> for the content after. When I view the source, then number of <li></li> tags corresponds to the number of Child 1 of Product 1, Child 2 of Product 1, etc. So if there are ate children of Product 1 then there are 8 sets of <li></li> tags.

User avatar
Member
Member
esolutions - 6/13/2013 3:55:08 PM
   
RE:Repeater pathing
Okay...this can be disregarded...I forgot my transformation...doh!

User avatar
Member
Member
esolutions - 6/20/2013 11:06:14 AM
   
RE:Repeater pathing
Okay... now it is not working again. It doesn't look like the repeater is picking up this time because I cannot even see the <ul> and <li> tags in the source code anymore (which we could before).

In the webpart (repeater), I tried to hard code the path to a specific folder and it then displays so the transformations and document types are correct. However, when I change the path to /{0}/{1}/{2}/% the whole repeater stops working as no links show up as well as the HTML code before and after (the <ul> and <li> tags).

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 6/20/2013 9:55:30 PM
   
RE:Repeater pathing
Hello,

Regrettably, the Path wild-cards are not currently working - there is a bug which is already known. It should be fixed in today's hotfix. We are sorry for this inconvenience.

Best regards,
Juraj Ondrus

User avatar
Member
Member
esolutions - 6/21/2013 11:30:56 AM
   
RE:Repeater pathing
Thank you for your response. Could you please point me in the direction of where to download that hotfix when it comes available?

Thank you!

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 6/23/2013 1:10:01 AM
   
RE:Repeater pathing
Hi,

Searching the DevNet portal for "hotfix" would bring it to you or clicking in the main menu on Bugtracker section.

Best regards,
Juraj Ondrus

User avatar
Member
Member
esolutions - 6/24/2013 9:56:08 AM
   
RE:Repeater pathing
Hi,

I've applied the latest bug fix (41) and this did not fix the issue. The pathing is really, really needed becuase of the way the menus have been set up. Our client is set to start training and testing their site this week. Any other ideas?

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 6/25/2013 1:02:11 AM
   
RE:Repeater pathing
Hi,

the bug was not fixed in last weeks hotfix since it was reported after the deadline for fixing bugs. It will be in this weeks hotfix, no.42.

Best regards,
Juraj Ondrus