Register   Login
     
  Latest Posts  
RE: content and multiple roles
by SPulley on 10/10/2008 10:02 PM
RE: [RATING] doesn't show
by brit77 on 10/10/2008 9:37 PM
Property Agent Latest Module Carousel Example
by tmaler on 10/10/2008 8:19 PM
Localization
by sueboothby on 10/10/2008 7:55 PM
RE: Listing Item Template
by sueboothby on 10/10/2008 7:42 PM
RE: Is it possible to have the DNN menu POP-UP instead of Drop-Down?
by jmolhava on 10/10/2008 7:25 PM
RE: Listing Item Template
by sueboothby on 10/10/2008 6:52 PM
RE: sub categories question
by eureka on 10/10/2008 6:11 PM
RE: multi categories
by eureka on 10/10/2008 6:02 PM
RE: ENH: NA becomes the Article Manager and LA is the display module
by SteveJ on 10/10/2008 5:21 PM
  Forums  
Subject: Once again with the Hyphens
Prev Next
You are not authorized to post a reply.

Page 2 of 3 << < 123 > >>
Author Messages
RabidmaxUser is Offline
Registered Users
Nuke Active Member
Nuke Active Member
Posts:34

5/31/2007 3:46 PM  
Hmm, interesting.

I thought to myself, 'self, is this happening on my install?', and I didn't know, so I checked, and it was. Doh.

A quick search for what seemed to be the root cause: "at DotNetNuke.Services.Search.ModuleIndexer.GetModuleList(Int32 PortalID)" brings up this page: http://www.dotnetnuke.com/Community/Forums/tabid/795/forumid/107/threadid/128102/threadpage/3/scope/posts/Default.aspx

Interestingly, DV seems to have had this problem with other modules (along with other people, see the post), because of something that 4.5.1 does with new modules. BillBR thankfully explains how to fix it: Go into the Host->Module Definitions page, edit the MaxModules: Hyphenate module, and click the 'Update' link. Try recycling your application and the errors should not be present again. I did this on my local install and they both vanished.

In other news, I've just sent a version 01.01.00 off to Bonder to replace the other version. Change notes: Added a 'Convert to lowercase' checkbox.

I don't know what timezone he is in, so I can't say for sure when it will end up on his DNN stuff page. Thanks again Bruce :)

Hope that helps,
Max




RabidmaxUser is Offline
Registered Users
Nuke Active Member
Nuke Active Member
Posts:34

5/31/2007 3:52 PM  
Oh, also, it doesn't seem that I can fix the general errors from my end, unless I create a business controller class for it, which I don't see any point for at the moment (apart from fixing this error).
xcentricUser is Offline
Registered Users
Nuke Active Member
Nuke Active Member
Posts:30

5/31/2007 6:03 PM  
Wow, good catch T1. I remember getting these exceptions also on other modules a while back. The post you referenced made it very clear what was causing them. I agree that workaround is trivial enough to implement, instead of writing a business controller class.
RabidmaxUser is Offline
Registered Users
Nuke Active Member
Nuke Active Member
Posts:34

5/31/2007 7:57 PM  
Excellent, Xcentric. Happy that I could provide a solution. My first thought on your post was 'er, huh?', glad it didn't turn out to be on my end that was giving you the hiccup.

In other news, Bonder is afk for a few days, so the 1.1.0 version won't make it up there for a little while. It's not that it 'fixes' anything, so it's not something that needs to be rushed out anyway :)

Anyway, I had 3 beers after lunch, so am in a great mood :P

Have a great weekend all :) (long weekend for those of us in NZ)
Max
arcanjlUser is Offline
Registered Users
Nuke Newbie
Nuke Newbie
Posts:3

6/01/2007 8:01 PM  

Wow. I installed 1.00 and it works great! Thank you so much - you are a life saver. Half the stuff you talked about is over my head, but I thought I would thank you just the same.

Since everything is working so great, why exacly should I install 1.01 when it is posted?

Thanks again!

Gabriel

RabidmaxUser is Offline
Registered Users
Nuke Active Member
Nuke Active Member
Posts:34

6/01/2007 8:10 PM  
Hi Gabriel, glad that it's working out for you :)

The only difference in the new version is there is a checkbox that forces all the tabpaths to lowercase. I personally prefer the look of all lowercase, but as far as I know, it does not make a difference for search engines, or anything like that.

Thanks for coming in and letting me know that you were pleased with it :)

Cheers,
Max
arcanjlUser is Offline
Registered Users
Nuke Newbie
Nuke Newbie
Posts:3

6/01/2007 8:13 PM  
Sorry for the double post - but I was wondering if in the future it no longer works, will uninstalling the module set it back to normal? (Or if DNN changed their core code to refelct friendly urls)

Thanks!
RabidmaxUser is Offline
Registered Users
Nuke Active Member
Nuke Active Member
Posts:34

6/01/2007 8:37 PM  
Hmm, interesting point. Uninstalling the module won't reset the paths back to their originals, but if you just modify the page settings for all of the root pages of your install, just go in and hit 'Update', and it will regenerate all the tabpaths with the original DNN code for that page and all of the pages under it.

I hope that makes sense... That's also the reason we need to rerun the module after making any page setting changes :)

Max
arcanjlUser is Offline
Registered Users
Nuke Newbie
Nuke Newbie
Posts:3

6/01/2007 8:47 PM  
Make perfect sense! Thank you again! You are truley underappreciated :-)
Déclic VidéoUser is Offline
Gold Membership
Nuke Master
Nuke Master
Posts:672


6/02/2007 1:38 AM  
For the error xcentric is talking about, you are right Take1, I had the problem, and when I done what is recommended, the problem stopped (it was a problem with PageBlaster for me).

I see that this module seems to be ready for a prod test, I am waiting the "official" upload and I will test it...
;-)
I am very interesting, because my prod site will soon expand with plenty of pages with hyphens... Lol

Thanks a lot,
DV

Non linear video editing software, tips and tricks, tutorials... Déclic Vidéo FX
Bruce OnderUser is Offline
Registered Users
Nuke Newbie
Nuke Newbie
Posts:7

6/02/2007 10:30 PM  
Guys,

I've finally gotten a chance to slow down and get v1.1 uploaded for y'all (I'm in Atlanta, and it's infectious!).

http://www.insure-a-pet.com/resources/dnn-stuff.aspx

As you can see, I ate the 1.1 dog food and even persisted it to the db so it survives any app restarts I have to do. :-P

And just FYI, version 1.1 had 11 clicks in less than a week!

--Bruce
RabidmaxUser is Offline
Registered Users
Nuke Active Member
Nuke Active Member
Posts:34

6/05/2007 10:32 PM  
Version 01.02.00 released.

What's new?
Added a new checkbox 'Strip Title'.

With DNN 4.5+, the old functionality of leaving a blank title on your page settings to have DNN autogenerate a nice page title has been lost, as the update of the page settings will now default the Title field to the Page Name if you leave it blank.
So a page /Home/WinterSports/FunWithSnow.aspx on your DNN Localhost portal back in DNN 4.4 would display in your IE/FF title bar as: 'DNN Localhost > Home > Winter Sports > Fun With Snow'. If you update the page settings for that page, it will now display as 'Fun With Snow', being copied from the Page Name.

This new option will set the title of each Tab in your portal to "", and DNN will be forced to create the old style Titles for them.

It may not be for everyone, but I liked the old way and dagnammit I decided to get it back!

The file is now available on Bonders DNN Stuff page as above: http://www.insure-a-pet.com/resources/dnn-stuff.aspx

Enjoy!
Max
Dax DavisUser is Offline
Gold Membership
Nuke Master
Nuke Master
Posts:324


6/06/2007 5:28 AM  
The problem with the blank Title field should be fixed in 4.5.3. BTW, this also effected the Description and Keyword fields on the page.

Dax
Dax DavisUser is Offline
Gold Membership
Nuke Master
Nuke Master
Posts:324


6/06/2007 5:32 AM  
Posted By Arcanjl on 6/01/2007 8:13 PM
Sorry for the double post - but I was wondering if in the future it no longer works, will uninstalling the module set it back to normal? (Or if DNN changed their core code to refelct friendly urls)

Thanks!


Maybe I don't understand the exact way the module works, but does it really need the friendly URL at all?  It only changes the TabPath right?  And, my understanding is that changing the tabpath by in DNN does not hurt DNN now.  You could make the path be anything you want, right?

So the point I'm getting at is that you could use this module to change the paths on a non-FriendlyURL driven site to get more Friendly paths, right?

Dax
RabidmaxUser is Offline
Registered Users
Nuke Active Member
Nuke Active Member
Posts:34

6/06/2007 2:29 PM  
Hi Dax

Yup I noticed the problem with the Description and Keyword fields too, but I couldn't see a reason to want them blank anyway so didn't bother adding an option in for that. We're wary of new DNN releases here, preferring to let them sit a few weeks before picking them up, so this is still needed for our installations at the moment, while we wait for 4.5.3 to prove itself.

And yes, you're exactly right. This can be used on any installation to give better looking URLs. I have been using it for a fair while now on my development machine which doesn't use this FriendlyURL dll. All the URLs still have tabid/xx etc but even so the URLs are much nicer to read.

Also if anyone out there is able to use an ISAPI rewriter on their sites (the free Ionic one works extremely well), I found this to be a useful rule for working with the Ventrian Friendly URLs dll:

RewriteRule ^(?=/.{1})([\w/-]*?)/*$ $1.aspx [I,L]

Now I bet this forum will go ahead and strip half that code away. If it does, I'll repost it, but I'll explain it here.
1. ^(?=/.{1}) If the path starts with a / and has anyother character after it, try this rule
2. ([\w/-]*?) Get the portion of the path that only consists of A-Za-z0-9(hyphen)(underscore)(backslash, or is it forwardslash, I dunno)
3. /*$ And ends with an unspecified amount of backslashes (from 0 to as many as there are, ie, strip of the /s at the end of the path)
4. $1.aspx Rewrite the path to end it .aspx instead of the /s (whether or not there were any)
5. [I,L] Ignore the case, and stop processing after this rule is matched.

What does this do?
It takes /Support/ and makes it /Support.aspx
It takes /Support/ProductForums/ and makes it /Support/ProductForums.aspx
It takes /Support/////// and makes it /Support.aspx
It takes /Support/ProductForums/tabid/118/Default.aspx and doesn't change it, because the '.' is not one of our allowed characters

Why is this useful?
It means publications (something our Comms dept has an eye for) will be able to publish 'even friendlier' URLs, esp on cars or in newspapers. People can remember www.ventrian.com/support, but dont tend to remember the .aspx bit.

If there are any regular expression gurus out there who don't mind casting their eye over this expression and giving me some ideas if it falls over, please do and let me know :)

Anyway, I'm not sure it'll help anyone, but if it does, then that's just chibby.

Cheers fellas,
Max
xcentricUser is Offline
Registered Users
Nuke Active Member
Nuke Active Member
Posts:30

6/06/2007 4:05 PM  

I tried using this rewriter a while ago. I just tried it again. The dll never loads. No mater what permissions you give it or restarting iis. The ini file is in the same directoory and I didnt change the names of the files. I wonder if this x86 only under iis.

server03 x64 sp2

xcentricUser is Offline
Registered Users
Nuke Active Member
Nuke Active Member
Posts:30

6/06/2007 4:44 PM  
Nevermind. I had a typo in the ini. It's always something ya know? =O)
Déclic VidéoUser is Offline
Gold Membership
Nuke Master
Nuke Master
Posts:672


7/07/2007 2:15 AM  
I have finally installed it on my prod site, VERY HAPPY with it. Congratulations Max !!!!!
A must-have-module

DV

Non linear video editing software, tips and tricks, tutorials... Déclic Vidéo FX
RabidmaxUser is Offline
Registered Users
Nuke Active Member
Nuke Active Member
Posts:34

7/10/2007 12:26 AM  
Nice one DV, was wondering if anyone was still bothering with this module :)

Glad to hear it works for ya.
Déclic VidéoUser is Offline
Gold Membership
Nuke Master
Nuke Master
Posts:672


9/09/2007 1:48 PM  

Hello take1 and all people,

You might be interested by this one:
http://www.ventrian.com/Support/ProductForums/tabid/118/forumid/35/postid/23277/view/topic/Default.aspx

DV FX


Non linear video editing software, tips and tricks, tutorials... Déclic Vidéo FX
You are not authorized to post a reply.
Page 2 of 3 << < 123 > >>

Forums > Projects > Friendly Urls > Once again with the Hyphens



ActiveForums 3.7