llong
 Posts:96

| | 10/16/2007 4:59 PM |
| John, I'm looking to do this on a page... Look for: google_ad_channel = "1234"; Replace with: google_ad_channel = "2345+1234";
(i.e. add a Google channel to the Google code) ...but I have not had much luck. The sample is striped of backslashes etc. but I have tested a number of configurations with no replacements occuring. Portal wide replacements of specific comments are working. How would you write the rule? Are all replacements in Regex or is there a simple string replace function as well? | | | |
|
|
|
John Mitchell Posts:3033


| | 10/16/2007 5:36 PM |
| That should work as a literal replace since there are not any Regex characters in the searchFor part.
Did you try it as a Portal Rule also? Not that it should make a difference, but maybe something else is going on with the Page Rules. | | | |
|
llong
 Posts:96

| | 10/16/2007 5:46 PM |
| | It will work portal wide but not on the page. | | | |
|
John Mitchell Posts:3033


| | 10/16/2007 5:52 PM |
| So it changes the Page output on the page, but only if you have it as a portal rule, right?
Are there any other Page Rules working on that page? How about a simple one like replacing Home with Start, or something like that?
| | | |
|
llong
 Posts:96

| | 10/16/2007 6:06 PM |
| | I tried the simple replacement of posted => Written. Deleted the cache and still no luck | | | |
|
llong
 Posts:96

| | 10/16/2007 6:08 PM |
| That is, replaced the word "posted" with the word "Written" - a neutral replacement for the live page. | | | |
|
John Mitchell Posts:3033


| | 10/16/2007 9:14 PM |
| | If you look in the config-folder location (DesktopModules/Snapsis/PageBlaster/Config by default) and in the PageRules folder you should see the config files for each instance of the module. Are those there and do one of them have the rules for this page? | | | |
|
llong
 Posts:96

| |
John Mitchell Posts:3033


| | 10/17/2007 3:00 PM |
| Ok, that's not it. Does the PageBlaster module have special permissions set. Setting permissions can make the replacement only work for specific users. | | | |
|
llong
 Posts:96

| | 10/17/2007 3:18 PM |
| | Permissions are inherited and Display Container is off. | | | |
|
John Mitchell Posts:3033


| | 10/17/2007 3:25 PM |
| We should probably enable tracing and see if that tells us anything. In the Snapsis.PageBlaster.config file you can turn on tracing with the trace node: < trace level="Debug" file-path="/PageBlaster.trace.config" /> After setting it to debug then you need to restart the app, and navigate to the page that is having the problem. Let me know what you find in the trace file after that. | | | |
|
llong
 Posts:96

| | 10/17/2007 5:14 PM |
| I tired but the file it is still empty. I double checked the write permissions. I have attached my config file for your review. |
Attachment: pageblaster.txt
| | |
|
John Mitchell Posts:3033


| | 10/17/2007 5:22 PM |
| That looks ok. Try changing the filepath for the tracing to a place that we know can be written to. Something like this:
< trace level="Debug" file-path="/DesktopModules/Snapsis/PageBlaster/Config/PageBlaster.trace.config" />
And you'll need to restart again to pickup this parameter. I usually restart the application by re-saving the web.config
| | | |
|
llong
 Posts:96

| | 10/17/2007 5:43 PM |
| | Hmm still no reporting going on. The DNN log doesn't report any issues either? | | | |
|
llong
 Posts:96

| | 10/17/2007 5:56 PM |
| | BTW, I have had reporting on and working before with this module but that was before the new dll and before upgrading to 4.6.2. | | | |
|
llong
 Posts:96

| | 10/17/2007 6:05 PM |
| | Further, I see the XPidea plugin is not working either. | | | |
|
John Mitchell Posts:3033


| | 10/17/2007 9:13 PM |
| It's acting like maybe it's not enabled in the web.config
Is it possible that you have more than one web.config and this is a child site? If you want to send me the site Url I can take a look at the site. If you are familiar with Reponse Headers you can check those with a tool like fiddler to see if PageBlaster is enabled. Then again, you said it worked as a portal rule so I'm running out of ideas. Can you get it to work on a new Page? If you still have the older version, maybe you can try that, I guess it's possible that something has changed in the latest one I gave you to cause Page Rules not to get picked up.
I'll also verify that they are still working in my dev environment. | | | |
|
John Mitchell Posts:3033


| | 10/18/2007 7:47 AM |
| Ok, I have narrowed down the problem, and it looks like the new PageBlaster dll is not working with the older DNN module. The problem is, I am still working on an enhancement so I can't give you the new DNN module yet.
If you can get by with the Portal Rule for now, that would be the way to go until I get to a point where I can give you a new DNN module.
| | | |
|
llong
 Posts:96

| | 10/18/2007 11:21 AM |
| | Ok John. Thanks for finding that issue. Bugs are easier to live with once understood. Look forward to the enhancements | | | |
|
llong
 Posts:96

| | 10/18/2007 11:24 AM |
| ... while I'm here.
One suggestion I have for any module developer where there are many unique modules on a portal: it would be nice to have a dashboard to set per module configurations. Being able to edit all the configurations on one page would save considerable maintenance time. | | | |
|