Lance Long Gold Membership
 Nuke Wiz Posts:134


 |
| 9/26/2006 8:49 AM |
|
| I think we are nearly on the same page - the template would just be a way to control what the "number of URL formats" are. Advanced users could tweak them for special cases but in large part they would be preset for normal DNN use. |
|
|
|
|
Scott McCulloch Administrators
 Nuke Master Posts:12820


 |
| 9/26/2006 10:11 PM |
|
Yep, I agree, for each format, a specific handler must be imlpemented, the best way to pick up whether to call or handler or not would be a regex call. This could probably piggy back on what has already been done in the core provider.
|
|
Scott McCulloch Site Administrator |
|
|
Scott McCulloch Administrators
 Nuke Master Posts:12820


 |
| 10/02/2006 6:33 AM |
|
Try using
to post any code.
Or even
|
|
Scott McCulloch Site Administrator |
|
|
Lance Long Gold Membership
 Nuke Wiz Posts:134


 |
| 10/11/2006 10:37 AM |
|
Scott,
Found any time to work on this project?
Lance |
|
|
|
|
Scott McCulloch Administrators
 Nuke Master Posts:12820


 |
| 10/11/2006 9:14 PM |
|
| Not yet, I'm travelling this week and back on full time next week. Shoot me a reminder next week and I'll take a look at what we discussed. (support@ventrian.com) |
|
Scott McCulloch Site Administrator |
|
|
Déclic Vidéo Gold Membership
 Nuke Master Posts:820


 |
|
Scott McCulloch Administrators
 Nuke Master Posts:12820


 |
| 4/18/2007 9:56 AM |
|
| I've talked about it before, you could seperate on case, but what happens when you have a page called IT.aspx, it would be I-T.aspx |
|
Scott McCulloch Site Administrator |
|
|
Déclic Vidéo Gold Membership
 Nuke Master Posts:820


 |
|
xcentric Registered Users
 Nuke Active Member Posts:30

 |
|
Scott McCulloch Administrators
 Nuke Master Posts:12820


 |
| 4/24/2007 6:05 AM |
|
| Hmm, this could be posible, you could strip the last part of the tab path and substitute it with the Page Title (with illegal characters stripped out, e.g. spaces) |
|
Scott McCulloch Site Administrator |
|
|
rupurt Registered Users
 Nuke Super Newbie Posts:12

 |
| 5/14/2007 12:36 AM |
|
Just my 2c here.
I think we sould also consider speed. The current implementation is good because it just reads a value (TabPath) and uses it to remap the url. If there is too much string comparing and replacement it will slow down a high traffic site.
I was thinking about writing a mod for tab creation/editing that doesn't just remove spaces but allows each page to set the seperator and also having a fall back default in portal settings. |
|
|
|
|
rupurt Registered Users
 Nuke Super Newbie Posts:12

 |
|
rupurt Registered Users
 Nuke Super Newbie Posts:12

 |
|
Déclic Vidéo Gold Membership
 Nuke Master Posts:820


 |
|
rupurt Registered Users
 Nuke Super Newbie Posts:12

 |
| 5/14/2007 5:24 PM |
|
Posted By Declic Video on 5/14/2007 4:34 AM
Hello rupurt,
Good idea ! But why not doing the same for parent (same than child) ??
If we apply your module, does it solve the problem of editing a page (xcentric gave a solution which is PERFECT for me, excepted when we need to update the page).
DV FX
I dont quite understand your question DV FX. The last solution i posted works for parents and also works for editing the page. It only replaces the spaces with a -. There is no settings to change this as that is all i needed |
|
|
|
|
Déclic Vidéo Gold Membership
 Nuke Master Posts:820


 |
| 5/15/2007 12:00 AM |
|
Sorry, I was not clear. You said: "It does so by looking up each parent in the database so i wouldn't advise using it for high traffic websites"
I am not a developper, nor programmer, but it seems that your solution creates a lot of system usage (CPU resources) and it can not be used for high traffic site. I was asking why you did not do a trick like the one proposed by xcentric, which is not CPU/resources consuming ??? It would satisfy everybody. Do you have a website where we can see your module ???
DV FX |
|
Non linear video editing software, tips and tricks, tutorials... Déclic Vidéo FX |
|
|
rupurt Registered Users
 Nuke Super Newbie Posts:12

 |
| 5/15/2007 12:50 AM |
|
| the solution xcentric gave doesn't work when you edit pages. The solution i gave does work for editing pages. In my solution if there are lots of nested pages it will have to look up the parent each time. It was a quick solution i made. If people have better solutions i will try and implement them. |
|
|
|
|
Déclic Vidéo Gold Membership
 Nuke Master Posts:820


 |
| 5/15/2007 1:48 AM |
|
Posted By rupurt on 5/15/2007 12:50 AM
{...}
In my solution if there are lots of nested pages it will have to look up the parent each time.{...}
Yes, that's why I thought that you could do something similar to what is proposed by xcentric, having a modification of tabpath for parent/child. This way, no lookup and no CPU resources consummed. But I am not programmer, I do not have any idea how to do this. I had plenty of roblems to run my DNN with bi-language, and I am now satisfied the way it is. I am very carefull to test new method, but yours seems very interesting. Since I have a lot of traffic, I am a little bit afraid of testing it...
DV |
|
Non linear video editing software, tips and tricks, tutorials... Déclic Vidéo FX |
|
|
xcentric Registered Users
 Nuke Active Member Posts:30

 |
| 5/15/2007 6:15 AM |
|
Some feedback on this dll.
server 03 x64 sp2 sql server 2005 ent x86 dnn 4.5.1
I dropped the dll in the bin directory. Then tried to pull a page. The worker process went into 100% cpu usage.
rupurt, what is your testing environment? Because it does not work in mine. |
|
|
|
|
rupurt Registered Users
 Nuke Super Newbie Posts:12

 |
| 5/15/2007 11:05 PM |
|
vista with sql express 2005.
It doesn't take up 100% CPU on this machine |
|
|
|
|