Products » Support Forums 

Support Forums

HomeHomeDotNetNuke Modu...DotNetNuke Modu...Url MasterUrl MasterNew Beta Release - Url Master ver 1.00.01New Beta Release - Url Master ver 1.00.01
Previous
 
Next
New Post
3/20/2008 9:22 AM
 

I've sent out beta copies of the Url Master module today, to those who are interested in helping me Beta test this module.

If you're not familiar with this module, see my blog post on the Url Master Module.

If you are participating in Beta testing, please post any questions/problems and bug reports on this forum.


Chief Software Hacker
 
New Post
3/20/2008 6:27 PM
 

My testing so far on localhost:

1. Install went fine, uneventfully.

2. My ampersanded pages (e.g. foo & bar page name) worked fine to redirect to new/different page names.

3. It should be clearer in the page URLs section that the new/desired page "name" gets the 200 redirect. When I worked with page URLs it looked like two page definitions would get 200 responses, and the other responses were all grayed out. Nevertheless, this worked properly for me.

4. Are all the new page URL settings stored in the database somewhere??

5. It kind of works with Ventrian's News Articles module, producing long links like this:

http://dnntesting/news/articletype/articleview/articleid/1/this-is-the-first-article-for-testing.aspx

It would be nice to have a 'rule' that takes out the news/articletype/articleview/articleid/1 part where 'news' corresponds to the page name and the numeral corresponds to the article number in the database.

Any suggestions on what/how to write as a 'rule'?? Would this be a regex?? If so, what?? I am not very knowledgeable about regexes other than that it seems to me that the rule should be 'If this string is in the URL, don't show it".

The part with the dashes is appropriate because that's the name of the article. News Article does its own magic for auto-generating page titles.

The sooner this gets to final release, the happier I am, I need this sooner than yesterday!! :) :)

Thank you, Tom

 

 
New Post
3/21/2008 2:02 AM
 

Tom

Glad to hear the install went smoothly!

3: I was already thinking this.  I'll come up with some type of interface indication of which page is going to be 'the one'.  Maybe highlight it in a different colour or something.

4: Yes you have a new database table called ifty_TabRedirect.  In it is the various Urls.

5:  Funny you should bring this up, as I just did a post about it yesterday.   Here's the thing.  The Articles module expects there to be a query string key of 'ArticleId' and 'ArticleType'.  That's how it knows what to present on the screen.  Yes, it would be good to replace this with something a bit friendlier, but the strings are hard-coded into the Articles module.  So you can't just replace them easily.  I have some ideas about how to attack this problem in the future, but for the moment, all you can do is make the page name friendlier, and you'll just have to keep the articleview/articleId statements.

I've made a few posts on this now, but the News Articles module doesn't use magic on the page name, it just uses a core DNN feature in the Friendly Url Provider API to pass in it's own page name.  Module developers don't have to accept 'default.aspx' as the page name in their urls, you have the option of passing in your own.  Scott wrote the Friendly Url Provider so he knows about this, hence the News Articles module is about the only one that does it.  However it would be a 1 line change for other modules like the blog module to do the same thing - hopefully in a future release they will.


Chief Software Hacker
 
New Post
3/22/2008 4:58 PM
 

Bruce Chapman wrote

5:  Funny you should bring this up, as I just did a post about it yesterday.   Here's the thing.  The Articles module expects there to be a query string key of 'ArticleId' and 'ArticleType'.  That's how it knows what to present on the screen.  Yes, it would be good to replace this with something a bit friendlier, but the strings are hard-coded into the Articles module.  So you can't just replace them easily.  I have some ideas about how to attack this problem in the future, but for the moment, all you can do is make the page name friendlier, and you'll just have to keep the articleview/articleId statements.

I've made a few posts on this now, but the News Articles module doesn't use magic on the page name, it just uses a core DNN feature in the Friendly Url Provider API to pass in it's own page name.  Module developers don't have to accept 'default.aspx' as the page name in their urls, you have the option of passing in your own.  Scott wrote the Friendly Url Provider so he knows about this, hence the News Articles module is about the only one that does it.  However it would be a 1 line change for other modules like the blog module to do the same thing - hopefully in a future release they will.

In other words there's no way to make the different parts of the Ventrian News Articles' URLs "disappear" like you do with ctl and tab stuff??

It sounds like your URL Master can't do that, am I right??

If this is true, I really can't do any more testing etc. until I can use this on a live server without licensing etc. issues. I would like to do this as soon as possible.

Thank you, Tom

 
New Post
3/23/2008 12:26 AM
 

Tom - there is a way, it's just not simple, that's all, and no, this version can't do it.

I'll be releasing the module properly next week, so you'll be able to run your site on it then.


Chief Software Hacker
 
Previous
 
Next
HomeHomeDotNetNuke Modu...DotNetNuke Modu...Url MasterUrl MasterNew Beta Release - Url Master ver 1.00.01New Beta Release - Url Master ver 1.00.01


Support Guidelines.. Please read before posting

To get support on iFinity products and services, please search the forums for the the answer to the problem you are seeking. If you cannot find a solution, post a question in the relevant forum.   Ensure that you specify the relevant versions of the problem, and the actual error message or a detailed description of the problem.    You will need to register with this site to post on the forum.  If you have a Microsoft Live (Hotmail/Passport) account you can use that.  If you have a Open Id account you can use that.  If you neither of these, you will need to register a user Id and password.

Please note : If you are posting a new thread for the Url Master module, please include the following information where applicable:

- Url Master version

- DotNetNuke version

- Example Url where possible

- If there is an error, please post the full error text and/or stack trace (from the DotNetNuke event log).