Registrarse | Entrar
martes, 22 de mayo de 2012
  Buscar
 Foros de discusión en Locopon's Minimizar
 
Forum / ForosForum / ForosModules/ModulosModules/ModulosDSLocalizatorDSLocalizatorProblem in DSTabLocalizator- portal Localization (skin changing problem)Problem in DSTabLocalizator- portal Localization (skin changing problem)
Anterior Anterior
 
Siguiente Siguiente
New Post
 23/02/2011 04:37 a.m.
 
 Modificado por Anas4u88  on 23/02/2011 04:38:26 a.m.

Hi all,
I have a problem in DSTabLocalizator - Edit Portal Localizations.(skin change problem)

Current Situation:
Fresh version of DNN 5.6.0.
DSLocalizator : new installation

in admin-> Skin, The Default skin is MinimalExtropy - index
in admin-> Languages enable two languages : en-US , ar-SY.

in DSLocalizator :
enable : Localization Hack Status , DNN Nav Hack Status , SolPart Hack Status


Enable Portal Localization.
inside portal localization I selected 2 locals :
1- Arabic - Syria
   in Portal Skin : <use System Default>.
2- English- United State
   in Portal Skin : <MinimalExtropy - index>.

 

The problem:
when select the Arabic language it loads the default skin ( MinimalExtropy - index) and it is ok.
but
when select English , it load the skin but the whole page is aligned to left.

please note that i didn't modify anything in skin files.

what drives me creazy,  when set the portal skin property - in  DS Portal Localization-

for English- United State to be the default skin  <use System Default> ,  it is loaded OK.


 
 

New Post
 23/02/2011 07:50 a.m.
 

I spent a couple of weeks researching possible bugs for the new DSL. What you seem to have is a problem in the skin.

As far as I see, both options (<System Default> and <MinimalExtropy - index>) refer to the same skin. Some questions:

  1. Have you changed anything on those skins, for instance have you tried to replace the LANGUAGE skin object by the DSLocaleSelector skin object? Do you know how to do that?
  2. What is your fallback Doc type in your host settings? Do your skins have a doctype.xml file with the same name in your skin folder?
  3. Have you validated your skin at w3.org? If not, do so and tell me what errors you get
  4. What browser(s) cause this to happen? Have you tried more than one browser?

 

New Post
 23/02/2011 09:56 a.m.
 

yes, <System Default> is <MinimalExtropy - index>,

1- I didnt change anything in skin and its files. I dont know how to replace the LANGUAGE.
2- fallback skin Doctype : HTML 4 (legacy)
   there is index.doctype.xml and i didnt tuch it :)
3- this skin come with DNN by default, I think there is no need to validate it.
4- I use IE6 only.

I tell you again, everything is in default state.
and when I apply the skin without using DSLocalizor, skin is loading well.
just when DSL change skin, it is loaded but aligned to left.

Thanks.

New Post
 23/02/2011 10:25 p.m.
 

I have tried to replicate your setup. I had none of the problems you have. The only difference between our setups was that I use IE8.

Then I remembered that IE6 has a lot of problems working with xhtml. Allthough your fallback doctype is HTML4, the MinimalExtropy skin is written for XHTML 1.0 Transitional (look in those .doctype.xml files, you will see how the skin overrides the fallback skin type).

If you want your website to perform well on IE6, you may have to use only skins that use the HTML 4 doctype. There are still a lot of those skins around for free download. Actually, most skins that are on offer for free are HTML 4 type skins.

Upgrade your IE to IE8 and see what happens.

The version of DSL you are using (I expect that to be 3.0.5) has a problem that will be solved in 3.0.6, to be released soon now. To avoid extra problems and extra requests for support, copy the text between the cut lines, copy/past it in notepad and save the file as Delisoft.DSLocalizator.dnn and replace the file with this name in your DSL setup package. Then setup DSL.

-----cut-------

<dotnetnuke type="Package" version="5.0">
 <packages>
    <package name="Delisoft - DSTabLocalizator" type="Module" version="3.0.5">
      <friendlyName>Delisoft - TabLocalizator Admin</friendlyName>
      <description>Complete Localizator for DNN 5x. Also, stores viewstate in SQL storage, optimizes the preview mode for intranets and helps preventing session expiration</description>
      <owner>
        <name>Locopon</name>
        <organization>Delisoft</organization>
        <url>http://dnn.tiendaboliviana.com</url>
        <email />
      </owner>
      <license>The license for this package is not currently included within the installation file, please check with the vendor for full license details.</license>
      <releaseNotes />
      <components>
        <component type="Script">
          <scripts>
            <basePath>DesktopModules\Delisoft.DSLocalizator</basePath>
            <script type="Install">
              <name>01.00.00.SqlDataProvider</name>
              <version>01.00.00</version>
            </script>
            <script type="Install">
              <name>01.00.01.SqlDataProvider</name>
              <version>01.00.01</version>
            </script>
            <script type="Install">
              <name>01.00.02.SqlDataProvider</name>
              <version>01.00.02</version>
            </script>
            <script type="Install">
              <name>01.00.03.SqlDataProvider</name>
              <version>01.00.03</version>
            </script>
            <script type="Install">
              <name>01.00.04.SqlDataProvider</name>
              <version>01.00.04</version>
            </script>
            <script type="Install">
              <name>01.00.05.SqlDataProvider</name>
              <version>01.00.05</version>
            </script>
            <script type="Install">
              <name>01.00.06.SqlDataProvider</name>
              <version>01.00.06</version>
            </script>
            <script type="Install">
              <name>01.00.07.SqlDataProvider</name>
              <version>01.00.07</version>
            </script>
            <script type="Install">
              <name>01.00.08.SqlDataProvider</name>
              <version>01.00.08</version>
            </script>
            <script type="Install">
              <name>01.00.09.SqlDataProvider</name>
              <version>01.00.09</version>
            </script>
            <script type="Install">
              <name>01.00.10.SqlDataProvider</name>
              <version>01.00.10</version>
            </script>
            <script type="Install">
              <name>01.00.11.SqlDataProvider</name>
              <version>01.00.11</version>
            </script>
            <script type="Install">
              <name>01.00.12.SqlDataProvider</name>
              <version>01.00.12</version>
            </script>
            <script type="Install">
              <name>01.00.13.SqlDataProvider</name>
              <version>01.00.13</version>
            </script>
            <script type="Install">
              <name>01.00.14.SqlDataProvider</name>
              <version>01.00.14</version>
            </script>
            <script type="Install">
              <name>01.00.15.SqlDataProvider</name>
              <version>01.00.15</version>
            </script>
            <script type="Install">
              <name>01.00.16.SqlDataProvider</name>
              <version>01.00.16</version>
            </script>
            <script type="Install">
              <name>01.00.17.SqlDataProvider</name>
              <version>01.00.17</version>
            </script>
            <script type="Install">
              <name>01.00.18.SqlDataProvider</name>
              <version>01.00.18</version>
            </script>
            <script type="Install">
              <name>01.00.19.SqlDataProvider</name>
              <version>01.00.19</version>
            </script>
            <script type="Install">
              <name>01.00.20.SqlDataProvider</name>
              <version>01.00.20</version>
            </script>
            <script type="Install">
              <name>01.00.21.SqlDataProvider</name>
              <version>01.00.21</version>
            </script>
            <script type="Install">
              <name>01.00.22.SqlDataProvider</name>
              <version>01.00.22</version>
            </script>
            <script type="Install">
              <name>01.00.23.SqlDataProvider</name>
              <version>01.00.23</version>
            </script>
            <script type="Install">
              <name>01.00.24.SqlDataProvider</name>
              <version>01.00.24</version>
            </script>
            <script type="Install">
              <name>01.00.25.SqlDataProvider</name>
              <version>01.00.25</version>
            </script>
            <script type="UnInstall">
              <name>Uninstall.SqlDataProvider</name>
              <version>3.0.5</version>
            </script>
          </scripts>
        </component>
        <component type="Module">
          <desktopModule>
            <moduleName>Delisoft - DSTabLocalizator</moduleName>
            <foldername>Delisoft.DSLocalizator</foldername>
            <businessControllerClass>Delisoft.DNN.Modules.DSLocalizator.Business.TabLocalization_OptionsController, Delisoft.DNN.Modules.DSLocalizator</businessControllerClass>
            <supportedFeatures>
              <supportedFeature type="Portable" />
              <supportedFeature type="Searchable" />
            </supportedFeatures>
            <moduleDefinitions>
              <moduleDefinition>
                <friendlyName>DSTabLocalizator</friendlyName>
                <defaultCacheTime>0</defaultCacheTime>
                <moduleControls>
                  <moduleControl>
                    <controlKey />
                    <controlSrc>DesktopModules/Delisoft.DSLocalizator/DSTabLocalizator.ascx</controlSrc>
                    <supportsPartialRendering>False</supportsPartialRendering>
                    <controlTitle>DSTabLocalizator</controlTitle>
                    <controlType>View</controlType>
                    <iconFile />
                    <helpUrl>http://dnn.tiendaboliviana.com</helpUrl>
                    <viewOrder>0</viewOrder>
                  </moduleControl>
                  <moduleControl>
                    <controlKey>GeneralOptions</controlKey>
                    <controlSrc>DesktopModules/Delisoft.DSLocalizator/DSLocalizatorOptions.ascx</controlSrc>
                    <supportsPartialRendering>False</supportsPartialRendering>
                    <controlTitle>DSLocalizator - General Options</controlTitle>
                    <controlType>Admin</controlType>
                    <iconFile />
                    <helpUrl>http://dnn.tiendaboliviana.com</helpUrl>
                    <viewOrder>0</viewOrder>
                  </moduleControl>
                  <moduleControl>
                    <controlKey>IncludeFiles</controlKey>
                    <controlSrc>DesktopModules/Delisoft.DSLocalizator/DSFileIncluder.ascx</controlSrc>
                    <supportsPartialRendering>False</supportsPartialRendering>
                    <controlTitle>DSLocalizator - Include Files</controlTitle>
                    <controlType>Admin</controlType>
                    <iconFile />
                    <helpUrl>http://dnn.tiendaboliviana.com</helpUrl>
                    <viewOrder>0</viewOrder>
                  </moduleControl>
                  <moduleControl>
                    <controlKey>ModuleLocalization</controlKey>
                    <controlSrc>DesktopModules/Delisoft.DSLocalizator/DSTabLocalizatorModules.ascx</controlSrc>
                    <supportsPartialRendering>False</supportsPartialRendering>
                    <controlTitle>DSLocalizator - Module Localization</controlTitle>
                    <controlType>Admin</controlType>
                    <iconFile />
                    <helpUrl>http://dnn.tiendaboliviana.com</helpUrl>
                    <viewOrder>0</viewOrder>
                  </moduleControl>
                  <moduleControl>
                    <controlKey>PortalSettingsLocalization</controlKey>
                    <controlSrc>DesktopModules/Delisoft.DSLocalizator/DSTabLocalizatorPortals.ascx</controlSrc>
                    <supportsPartialRendering>False</supportsPartialRendering>
                    <controlTitle>DSLocalizator - Portal Settings Localization</controlTitle>
                    <controlType>Admin</controlType>
                    <iconFile />
                    <helpUrl>http://dnn.tiendaboliviana.com</helpUrl>
                    <viewOrder>0</viewOrder>
                  </moduleControl>
                  <moduleControl>
                    <controlKey>Replacements</controlKey>
                    <controlSrc>DesktopModules/Delisoft.DSLocalizator/DSLocalizatorReplacements.ascx</controlSrc>
                    <supportsPartialRendering>False</supportsPartialRendering>
                    <controlTitle>DSLocalizator - Localized replacements</controlTitle>
                    <controlType>Admin</controlType>
                    <iconFile />
                    <helpUrl>http://dnn.tiendaboliviana.com</helpUrl>
                    <viewOrder>0</viewOrder>
                  </moduleControl>
                  <moduleControl>
                    <controlKey>TabLocalization</controlKey>
                    <controlSrc>DesktopModules/Delisoft.DSLocalizator/DSTabLocalizatorTabs.ascx</controlSrc>
                    <supportsPartialRendering>False</supportsPartialRendering>
                    <controlTitle>DSLocalizator - Tab Localization</controlTitle>
                    <controlType>Admin</controlType>
                    <iconFile />
                    <helpUrl>http://dnn.tiendaboliviana.com</helpUrl>
                    <viewOrder>0</viewOrder>
                  </moduleControl>
                </moduleControls>
              </moduleDefinition>
            </moduleDefinitions>
          </desktopModule>
          <eventMessage>
            <processorType>DotNetNuke.Entities.Modules.EventMessageProcessor, DotNetNuke</processorType>
            <processorCommand>UpgradeModule</processorCommand>
            <attributes>
              <businessControllerClass>Delisoft.DNN.Modules.DSLocalizator.Business.TabLocalization_OptionsController, Delisoft.DNN.Modules.DSLocalizator</businessControllerClass>
              <desktopModuleID>[DESKTOPMODULEID]</desktopModuleID>
              <upgradeVersionsList>01.00.00,01.00.01,01.00.02,01.00.03,01.00.04,01.00.05,01.00.06,01.00.07,01.00.08,01.00.09,01.00.10,01.00.11,01.00.12,01.00.13,01.00.14,01.00.15,01.00.16,01.00.17,01.00.18,01.00.19,01.00.20,01.00.21,01.00.22,01.00.23,01.00.24,01.00.25</upgradeVersionsList>
            </attributes>
          </eventMessage>
        </component>
        <component type="File">
          <files>
            <basePath>DesktopModules/Delisoft.DSLocalizator</basePath>
            <file>
              <path>App_LocalResources</path>
              <name>DSFileIncluder.ascx.resx</name>
              <sourceFileName>DSFileIncluder.ascx.resx</sourceFileName>
            </file>
            <file>
              <path>App_LocalResources</path>
              <name>DSLocalizatorHostOptions.ascx.resx</name>
              <sourceFileName>DSLocalizatorHostOptions.ascx.resx</sourceFileName>
            </file>
            <file>
              <path>App_LocalResources</path>
              <name>DSLocalizatorInstallHelper.ascx.resx</name>
              <sourceFileName>DSLocalizatorInstallHelper.ascx.resx</sourceFileName>
            </file>
            <file>
              <path>App_LocalResources</path>
              <name>DSLocalizatorOptions.ascx.resx</name>
              <sourceFileName>DSLocalizatorOptions.ascx.resx</sourceFileName>
            </file>
            <file>
              <path>App_LocalResources</path>
              <name>DSLocalizatorReplacements.ascx.resx</name>
              <sourceFileName>DSLocalizatorReplacements.ascx.resx</sourceFileName>
            </file>
            <file>
              <path>App_LocalResources</path>
              <name>DSTabLocalizator.ascx.resx</name>
               <sourceFileName>DSTabLocalizator.ascx.resx</sourceFileName>
           </file>
            <file>
              <path>App_LocalResources</path>
              <name>DSTabLocalizatorModules.ascx.resx</name>
              <sourceFileName>DSTabLocalizatorModules.ascx.resx</sourceFileName>
            </file>
            <file>
              <path>App_LocalResources</path>
              <name>DSTabLocalizatorPortals.ascx.resx</name>
              <sourceFileName>DSTabLocalizatorPortals.ascx.resx</sourceFileName>
            </file>
            <file>
              <path>App_LocalResources</path>
              <name>DSTabLocalizatorTabs.ascx.resx</name>
              <sourceFileName>DSTabLocalizatorTabs.ascx.resx</sourceFileName>
            </file>
            <file>
              <path>DSControls</path>
              <name>DSTraslator.ascx</name>
              <sourceFileName>DSTraslator.ascx</sourceFileName>
            </file>
            <file>
              <path>DSControls</path>
              <name>skincontrol.ascx</name>
              <sourceFileName>skincontrol.ascx</sourceFileName>
            </file>
            <file>
              <path>DSControls</path>
              <name>urlcontrol.ascx</name>
              <sourceFileName>urlcontrol.ascx</sourceFileName>
            </file>
            <file>
              <name>DSFileIncluder.ascx</name>
            </file>
            <file>
              <name>DSLClientHelper.js</name>
            </file>
            <file>
              <name>DSLocalizatorHostOptions.ascx</name>
            </file>
            <file>
              <name>DSLocalizatorInstallHelper.ascx</name>
            </file>
            <file>
              <name>DSLocalizatorOptions.ascx</name>
            </file>
            <file>
              <name>DSLocalizatorReplacements.ascx</name>
            </file>
            <file>
              <name>DSTabLocalizator.ascx</name>
            </file>
            <file>
              <name>DSTabLocalizatorModules.ascx</name>
            </file>
            <file>
              <name>DSTabLocalizatorPortals.ascx</name>
            </file>
            <file>
              <name>DSTabLocalizatorTabs.ascx</name>
            </file>
            <file>
              <name>module.css</name>
            </file>
          </files>
        </component>
        <component type="ResourceFile">
         <resourceFiles>
          <basePath>DesktopModules\Delisoft.DSLocalizator</basePath>
          <resourceFile>
            <name>resources.zip</name>
          </resourceFile>
          </resourceFiles>
         </component>
<component type="Assembly">
  <assemblies>
 <assembly>
   <path>bin</path>
   <name>Delisoft.DNN.Modules.DSLocalizator.dll</name>
   <version>3.0.5</version>
              <sourceFileName>Delisoft.DNN.Modules.DSLocalizator.dll</sourceFileName>
 </assembly>
 <assembly>
   <path>bin</path>
   <name>Delisoft.DNN.Modules.DSLocalizator.SqlDataProvider.dll</name>
   <version>3.0.6</version>
              <sourceFileName>Delisoft.DNN.Modules.DSLocalizator.SqlDataProvider.dll</sourceFileName>
 </assembly>
  </assemblies>
</component>
      </components>
    </package>
    <package name="Delisoft - DSLocaleSelectorPA" type="Module" version="3.0.5">
      <friendlyName>Delisoft - LocaleSelector</friendlyName>
      <description>Locale selector module for DNN5X</description>
      <owner>
        <name>Locopon</name>
        <organization>Delisoft</organization>
        <url>http://dnn.tiendaboliviana.com</url>
        <email />
      </owner>
      <license>The license for this package is not currently included within the installation file, please check with the vendor for full license details.</license>
      <releaseNotes />
      <components>
        <component type="Module">
          <desktopModule>
            <moduleName>Delisoft - DSLocaleSelectorPA</moduleName>
            <foldername>Delisoft.DSLocalizator</foldername>
            <businessControllerClass />
            <supportedFeatures />
            <moduleDefinitions>
              <moduleDefinition>
                <friendlyName>DSLocaleSelectorPA</friendlyName>
                <defaultCacheTime>0</defaultCacheTime>
                <moduleControls>
                  <moduleControl>
                    <controlKey />
                    <controlSrc>DesktopModules/Delisoft.DSLocalizator/DSLocaleSelectorPA.ascx</controlSrc>
                    <supportsPartialRendering>False</supportsPartialRendering>
                    <controlTitle>DSLocaleSelectorPA</controlTitle>
                    <controlType>View</controlType>
                    <iconFile />
                    <helpUrl>http://dnn.tiendaboliviana.com</helpUrl>
                    <viewOrder>0</viewOrder>
                  </moduleControl>
                  <moduleControl>
                    <controlKey>LocaleSelectorOptions</controlKey>
                    <controlSrc>DesktopModules/Delisoft.DSLocalizator/DSLocaleSelectorPAOptions.ascx</controlSrc>
                    <supportsPartialRendering>False</supportsPartialRendering>
                    <controlTitle>DSLocaleSelectorPA</controlTitle>
                    <controlType>Edit</controlType>
                    <iconFile />
                    <helpUrl>http://dnn.tiendaboliviana.com</helpUrl>
                    <viewOrder>0</viewOrder>
                  </moduleControl>
                </moduleControls>
              </moduleDefinition>
            </moduleDefinitions>
          </desktopModule>
        </component>
        <component type="File">
          <files>
            <basePath>DesktopModules\Delisoft.DSLocalizator</basePath>
            <file>
              <path>App_LocalResources</path>
              <name>DSLocaleSelectorPA.ascx.resx</name>
              <sourceFileName>DSLocaleSelectorPA.ascx.resx</sourceFileName>
            </file>
            <file>
              <path>App_LocalResources</path>
              <name>DSLocaleSelectorPAOptions.ascx.resx</name>
              <sourceFileName>DSLocaleSelectorPAOptions.ascx.resx</sourceFileName>
            </file>
            <file>
              <name>DSLocaleSelectorPA.ascx</name>
            </file>
            <file>
              <name>DSLocaleSelectorPA.ascx.resx</name>
            </file>
            <file>
              <name>DSLocaleSelectorPA.css</name>
            </file>
            <file>
              <name>DSLocaleSelectorPAOptions.ascx</name>
            </file>
          </files>
        </component>
      </components>
    </package>
  <package name="DSSkinObjects" type="SkinObject" version="3.0.5">
      <friendlyName>Delisoft - skin objects</friendlyName>
      <description>SkinObjects for use with DSLocalizator 3.0.5 on DNN 5.02+</description>
      <owner>
        <name>Locopon</name>
        <organization>Delisoft</organization>
        <url>http://dnn.tiendaboliviana.com</url>
        <email />
      
      </owner>
      <license>The license for this package is not currently included within the installation file, please check with the vendor for full license details.</license>
      <releaseNotes />
   <components>
    <component type="SkinObject">
     <moduleControl>
      <controlKey>DSLOCALESELECTOR</controlKey>
      <controlSrc>DesktopModules/Delisoft.DSLocalizator/DSLocaleSelector.ascx</controlSrc>
     </moduleControl>
    </component>
    <component type="SkinObject">
     <moduleControl>
      <controlKey>DSPREVIEWACTIVATOR</controlKey>
      <controlSrc>DesktopModules/Delisoft.DSLocalizator/DSPreviewActivator.ascx
      </controlSrc>
     </moduleControl>
    </component>
    <component type="File">
     <files>
      <file>
       <name>DSLocaleSelector.ascx</name>
      </file>
      <file>
       <path>App_LocalResources</path>
       <name>DSLocaleSelector.ascx.resx</name>
       <sourceFileName>DSLocaleSelector.ascx.resx</sourceFileName>
      </file>
      <file>
       <name>DSPreviewActivator.ascx</name>
      </file>
      <file>
       <path>App_LocalResources</path>
       <name>DSPreviewActivator.ascx.resx</name>
       <sourceFileName>DSPreviewActivator.ascx.resx</sourceFileName>
      </file>
     </files>
    </component>
   </components>
  </package>
 </packages>
</dotnetnuke>

-----cut-------

Then download the sample skin from tiendaboliviana, that is a HTML 4 skin. That should work on IE6 without issues

New Post
 23/02/2011 11:41 p.m.
 
 Modificado por taxivantha  on 24/02/2011 07:07:02 a.m.

To make you understand a little more: DSL does not modify your skin. It modifies the portal information, tab information and module information before DNN renders the web page.

When all modules allign left, there are a number of possible reasons. Mostly, one module takes more width than he is supposed to, all next to it and all under those may shift to the bottom. IE6 is infamous for using the wrong width measurements. Why this results in messed-up pages in one language and not in another is still a mystery to me. I had my share of these kind of problems, but after research, none of those were related to DSL, they all were caused by html/xhtml gotchas.

For instance: I had my language switch to the default language every time I navigated to another page under DNN 5.6.0 but when I tried under 5.6.1 the error did not occur. After hours of research I pinpointed the cause: a preceding <img> tag was not ended with a / (a requirement under xhtml, not under HTML4). What gave me a clue was that when I browsed the site with Firefox, Chrome and Safari, the navigation went just fine. Only IE8 displayed this behavior.

Anterior Anterior
 
Siguiente Siguiente
Forum / ForosForum / ForosModules/ModulosModules/ModulosDSLocalizatorDSLocalizatorProblem in DSTabLocalizator- portal Localization (skin changing problem)Problem in DSTabLocalizator- portal Localization (skin changing problem)