daveg955
 Nuke Master Posts:131

 |
06/09/2007 8:46 AM |
|
On the main (home) page of a site, I have seven modules in the right pane: two announcement modules and five text/html.
My client now wants to have these appear on all pages of the site. I go into "Settings" for the module, select "Advanced Settings" and select the checkbox for "Display module on all pages."
Simple enough except that they do not appear in the same vertical order as the main page... which is of course what he wants... and he has 147 pages in his site.
I tried a number of time (selecting & unselecting the display box) to get them in order. Is there any rhyme or reason as to the order these are placed in other pages?
This particular installation is running 4.4.1. |
|
|
|
|
Joseph Craig DNN MVP Posts:11667

 |
06/09/2007 10:29 AM |
|
Here are some tips that might help you arrange the modules with the least amout of fuss. - Go to the home page and for each of those modules, remove the
check mark to display on all pages. That will get you back to the
starting point.
- My quick research on this leads me to believe that when you
do a "display on all pages" that the module is moved to the BOTTOM of
the corresponding pane on all of the pages. If you have a page that
doesn't have the pane, then it seems to go into the Content pane. So, if there are modules already in the right pane on other pages, then the new modules will appear below them.
- The order that you make the modules appear on all pages is important. The first one goes to the bottom of the page. The second goes below it, etc. Thus you can get that group of modules to appear in the correct order.
- Did you know that you can "drag and drop" modules to move them around on the page? Click and hold on a module's title untit gets highlighted. Then you can drag it around to where you want it to appear.
|
|
Joe Craig, Patapsco Research Group Complete DNN Support |
|
|
jallanstudios
 Nuke Newbie Posts:6

 |
06/09/2007 3:54 PM |
|
Also try the DNNStuff Module Aggregator, which is a really good one to have anyway. You can put all your modules in one module essentially, in any order you want, just set it up vertical rather than horizontal.
-J
|
|
|
|
|
daveg955
 Nuke Master Posts:131

 |
06/09/2007 8:02 PM |
|
Thanks for the heads up on the aggregator. That will come in hanady on some other sites I do. But it now appears that the problem is within Announcement module.
Here's a new twist to my predicament:
I believe I said above (I can't see it right now becasue I'm not 'replying' to anyone) that there was no rhyme or reason to the vertical display order of these modules across all the pages in the site. In other words, the vertical display order was not consistent from one page to the next.
While trying various ways to get the correct vertical display order of the modules, IE7 was consistently returning the following error message:
Line: 1385 Char: 39 Error: Expected ';' Code: 0 URL: http://localhost/dnn_451_test/Main/...fault.aspx
This only occurs with the Announcement modules (in any pane or page) and it only occurs when I attempt to access the "Settings" within that module. Everything else in the Action menu works fine, i.e., no error messages. I do not get this error with other modules.
As soon as I removed the Announcement modules from the pane, getting consistent vertical placement of the other modules was easy.
Now if you'll excuse me, it's time to exercise my extensive vocabulary of obscenities... I think I'll make up some new ones, too [laugh] |
|
|
|
|
Joseph Craig DNN MVP Posts:11667

 |
06/09/2007 8:24 PM |
|
I've used the DNN Stuff aggregator on a site, and it is a useful module.
As for your "new predicament" ... which version of the Announcements module are you using? Have you made any modifications?
Since the error is not generated by the DNN application itself, but by the browser, I'm tempted to guess that you've modified the HTML template for the announcement display. If so, that might be a place to look ...
FWIW, I use the Announcements module on a site I manage, and it's not generating any errors when viewed with IE7. So, the answer might lie in your announcement's text or in the template used to display the announcement text.
|
|
Joe Craig, Patapsco Research Group Complete DNN Support |
|
|
daveg955
 Nuke Master Posts:131

 |
06/10/2007 1:29 AM |
|
I'm using version 03.04.00 for the Announcement module. I haven't done anything to the template for it.
At this point, I'm going to remove the Announcements module from the installation and download/install a fresh copy.
I will keep everyone (all three of you - [laugh]) posted. |
|
|
|
|
daveg955
 Nuke Master Posts:131

 |
06/10/2007 5:30 AM |
|
OK... desperate/frustrating times call for desperate/frustrating measures.
I just did a completely fresh install of DNN 4.5.1 on my local host.
The most current version of the Announcements module is 03.04.00.
Although the Announcement module is included in the 4.5.1 Install package, it is not automatically installed, so I installed it through the Module Definitions page.
I placed an Announcement module in the home page and selected "Settings" in the Action menu. I did this with IE7, Firefox 2.0.0.4, and Opera 9.21. All returned errors related to expected syntax in some Javascript variables.
I completely removed the Announcement module through the Module Definintions page, download a fresh copy from DNN, and installed it. Same thing. The errors reference the same Javascript variables.
For the sake of brevity (and it's late at night for me), I won't post the errors now. But I made one more experiment.
I have a DNN 4.4.1 installation that uses the Announcement module version 03.04.00 and I do not get those same errors returned when I try to access "Settings" in the Action menu.
Unfortunately, Firefox has unearthed a different Javascript error (in the 4.4.1 site) that is making it (and only it) do completely bizzare things to the left and right panes. But that is an issue for another thread.
It's late. I've somehow angered the Gods of Technology and I must burn some sacrificial floppies at the altar before I go to bed [laugh]. |
|
|
|
|
Joseph Craig DNN MVP Posts:11667

 |
06/10/2007 11:42 AM |
|
If the 4.4.1 application with Announcements that works is on another computer, then perhaps the error has nothing to do with your DNN installation, but is something else. Perhaps IIS? Perhaps something to do with AJAX as suggested in another thread?
We know that DNN 4.4.1 works and that the Announcements module works, too. So, there's either something else in your DNN installation causing the problem, or there's something related to IIS.
Since you are doing this on a local machine, why not create a second website and install DNN 4.5.3 there and test the Announcements module with it.
(as for the technology gods ... if my wife were looking over my shoulder she probably would mutter something about planets being in retrograde and move on ... ) |
|
Joe Craig, Patapsco Research Group Complete DNN Support |
|
|
daveg955
 Nuke Master Posts:131

 |
06/10/2007 9:09 PM |
|
Here's what I've done since my last post:
I opened the local site of my freshly installed 4.5.1 in IE7, place an Announcement module in a pane, selected "Settings" in the module menu. I received the same error messsage.
I then right-click on the page and selected "View Source" and disabled word wrap in Notepad. I scrolled down to the line that was given in this error message. The line is within a script in the page. This is the line where IE7 is expecting a semi-colon:
dnn_ctr369_ModuleSettings_valCacheTime.controltovalidate = "dnn_ctr369_ModuleSettings_txtCacheTime";
I repeated this procedure in Firefox 2.0.0.4 and Opera 9.21. In their respective error consoles, they each referenced the same line above where a semi-colon was expected and indicated that it is expected/missing where the dot is between valCacheTime and controltovalidate.
A few moments ago, I did a separate/fresh installation of 4.5.3 on my localhost without a problem. I followed the same procedures above of placing an Announcement module in a pane and accessing the "Settings" menu of that module. I did this with IE7, Firefox and Opera. All returned errors referencing the line given above.
I have a site that's live on the web although not "public." It's running 4.4.1 and originally had Announcement module version 03.03.05. I tested that and did not receive any errors. I upgraded it to 03.04.00 and tested that. No errors.
The next thing I'm going to try is a separate install of 4.4.1 on my localhost and see what happens. |
|
|
|
|
daveg955
 Nuke Master Posts:131

 |
06/11/2007 3:29 AM |
|
For what it's worth, I've posted to the DNN site regarding this quirk: http://www.dotnetnuke.com/Community...spx#142923Erik van Ballegoij, the Project Lead for the Announcement module, has made some replies and is looking into a possible problem with an asp.net validator control.
Onward and upward... hopefully [laugh]. |
|
|
|
|