Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Url Route
Cesiwa2
#1 Posted : Friday, February 03, 2012 11:49:00 AM(UTC)
Rank: Newbie
Groups: Registered

Joined: 1/12/2012(UTC)
Posts: 4
Location: sweden
Hi, Im having some problem with getting the url route to display propertly.

UrlPath: {UserKey}

or:

UrlPath: {ProductName}

I have set up a Products Database. And on my list page I print out all products details link with this code:

<a class='title' href='@Url.FrontUrl().PageUrl("Details",new { UserKey = item.UserKey})'>@item.Name</a>

or
<a class='title' href='@Url.FrontUrl().PageUrl("Details",new { ProductName = item.Name})'>@item.Name</a>

The problem comes when I click the link, the path in the browser looks ok, but the page content get rendered two times.

Hrvoje_86
#2 Posted : Saturday, February 04, 2012 9:39:07 AM(UTC)
Rank: Advanced Member
Groups: Registered

Joined: 1/28/2011(UTC)
Posts: 157
Location: Croatia
Cesiwa2
#3 Posted : Saturday, February 04, 2012 11:10:41 AM(UTC)
Rank: Newbie
Groups: Registered

Joined: 1/12/2012(UTC)
Posts: 4
Location: sweden
Great thanks,

I really have to say thanks for this CMS. I just love it. I tho have some small features I would love to have implemented.

Like a Content type field of List, where you can add values. I know I can use DropDownList but then you got to have a list prefilled with selectionvalues or from a folder.

Thats all for now!! Thanks again,
Hrvoje_86
#4 Posted : Saturday, February 04, 2012 11:34:00 AM(UTC)
Rank: Advanced Member
Groups: Registered

Joined: 1/28/2011(UTC)
Posts: 157
Location: Croatia
Cesiwa2;5658 wrote:
Great thanks,

I really have to say thanks for this CMS. I just love it. I tho have some small features I would love to have implemented.

Like a Content type field of List, where you can add values. I know I can use DropDownList but then you got to have a list prefilled with selectionvalues or from a folder.

Thats all for now!! Thanks again,


You can set embedded content or category relations on folders.
I think that's what you want.
1 user thanked Hrvoje_86 for this useful post.
jifeng on 2/5/2012(UTC)
Cesiwa2
#5 Posted : Sunday, February 05, 2012 5:19:58 PM(UTC)
Rank: Newbie
Groups: Registered

Joined: 1/12/2012(UTC)
Posts: 4
Location: sweden
Great thanks.


Another thing that's on my mind is a redirect feature. I know there's alot of forum threads about it. But to have some sort of redirect functionallity for multilanguage sites would have been nice.. :)
sbrickey
#6 Posted : Sunday, February 05, 2012 8:43:11 PM(UTC)
Rank: Advanced Member
Groups: Registered

Joined: 12/16/2011(UTC)
Posts: 35
Location: Ohio, USA
Redirecting is available in the admin console, System -> Url Redirects
1 user thanked sbrickey for this useful post.
jifeng on 2/6/2012(UTC)
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF 1.9.5.5 | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.316 seconds.