CodeVerge.Net Beta


   Explore    Item Entry    Members      Register  Login  
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML

Free Download:




Zone: > NEWSGROUP > Asp.Net Forum > starter_kits_and_source_projects.dotnetnuke.custom_modules Tags:
Item Type: NewsGroup Date Entered: 3/2/2006 10:16:10 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 0 Views: 17 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
3 Items, 1 Pages 1 |< << Go >> >|
dnnstuff
Asp.Net User
ModuleHelp.Text localization using CDATA3/2/2006 10:16:10 PM

0/0

I was just looking at some of the ModuleHelp.Text entries in the various module resx files and noticed there were a lot of places where the code is specified using &amp; &lt; etc.

There is a better way to do this using CDATA which allows you to simply mock up the html in your favourite html editor and drop it into this file.

An example is the following from the Links.ascx.resx file. It's much more readable because you are looking at. Just wondering why the other approach was taken.

    <data name="ModuleHelp.Text">
        <value><![CDATA[
<h1>About The Links Module</h1>

<p>The Links Module produces a list of hyperlinks to any tab, image or file on your portal or to a web page, image or file on the web. The links can be set to display vertically, horizontal or in a drop down box. The links appear alphabetically by default. An indexing field facilitates custom sorting. A supplemental description can be set to appear either on mouseover or on the click of a dynamically generated link.  Link click tracking and logged are available.</p>

<h1>Add Link</h1>

<ol><li>Add a <b>Links</b> module, or go to an existing <b>Links</b> module.</li>

<li>Click <b>Add Link</b>.
</li><li>At <b>Title</b>, enter the title for the link.
</li><li>At <b>Link Type</b>, select <b>URL</b>, <b>Page</b> or <b>File</b> and then at <b>Link</b> select or enter the required link, page or file.

</li><li>At <b>Track Number Of Times This Link Is Clicked?</b> (optional), check the box if required.
</li><li>At <b>Log The User, Date, And Time For Every Link Click</b> (optional), check the box if required.
</li><li>At <b>Description</b>, enter a description of the Link.
</li><li>At <b>View Order</b> (optional), enter the View Order for the Link.
</li><li>Click <b>Update</b>.</li></ol>

</span>
  ]]></value>           


Richard Edwards
Available DotNetNuke modules - SQLView, CSSInclude, Aggregator - Tabbed Modules, Module Rotator
http://www.dnnstuff.com,
flanakin
Asp.Net User
Re: ModuleHelp.Text localization using CDATA3/3/2006 1:17:05 PM

0/0

I think most people manage this using Visual Studio, which allows you to type your tags in and it converts them to the escaped versions for you. That's probably why you're seeing all of those. CData should work, but most people probably aren't in that file long enough to care.
Michael Flanakin | Microsoft Consulting Services
www.michaelflanakin.com
leupold
Asp.Net User
Re: ModuleHelp.Text localization using CDATA3/3/2006 6:18:19 PM

0/0

using HTML encoding is also the way, the built-in language editor of DotNetNuke works.
Sebastian Leupold
gamma concept mbH

DeutschNetNuke = DotNetNuke in German

DNN Project UserDefinedTable
3 Items, 1 Pages 1 |< << Go >> >|


Free Download:


Web:
ng.asp-net-forum.dotnetnuke-custom_modules/8 - Asp Net DNN4 - Single Private Assembly, 0, 0, 15 days ago. ModuleHelp.Text localization using CDATA, 0, 0, 15 days ago. 3.2.2: Getting the user's passwords. ...
DotNetNuke Skinning Reference by ThinkofDesign.com ResourceKey : no default valueResource Key to localize the Title text. ... SyndicateModule, ImportModule, ExportModule, OnlineHelp, ModuleHelp, HelpText, ...
DotNetNuke Skin Developers Guide ResourceKey, Resource Key to localize the Title text. ... EditContent| ContentOptions| SyndicateModule| ImportModule| ExportModule| OnlineHelp| ModuleHelp| ...
DotNetNuke Skinning Guide Skin definitions can be created using two different methods, HTML or ASCX ( user ...... ResourceKey. Resource Key to localize the. Title text. If blank Text ...
ng.asp-net-forum.dotnetnuke-custom_modules/8 - Asp Net DNN4 - Single Private Assembly, 0, 0, 15 days ago. ModuleHelp.Text localization using CDATA, 0, 0, 15 days ago. 3.2.2: Getting the user's passwords. ...
DotNetNuke Skinning Reference by ThinkofDesign.com ResourceKey : no default valueResource Key to localize the Title text. ... SyndicateModule, ImportModule, ExportModule, OnlineHelp, ModuleHelp, HelpText, ...
DotNetNuke Skin Developers Guide ResourceKey, Resource Key to localize the Title text. ... EditContent| ContentOptions| SyndicateModule| ImportModule| ExportModule| OnlineHelp| ModuleHelp| ...
DotNetNuke Skinning Guide Skin definitions can be created using two different methods, HTML or ASCX ( user ...... ResourceKey. Resource Key to localize the. Title text. If blank Text ...
ng.asp-net-forum.dotnetnuke-custom_modules/8 - Asp Net DNN4 - Single Private Assembly, 0, 0, 15 days ago. ModuleHelp.Text localization using CDATA, 0, 0, 15 days ago. 3.2.2: Getting the user's passwords. ...
DotNetNuke Skinning Reference by ThinkofDesign.com ResourceKey : no default valueResource Key to localize the Title text. ... SyndicateModule, ImportModule, ExportModule, OnlineHelp, ModuleHelp, HelpText, ...




Search This Site:










dnn newsletter modules

ms crm / outlook web. statically positioned, dynamic menu selection. how is this done?

pannel control of asp.net 2.0 is not working correctly in firefox

a stupid question

2.1.2 scheduler error takes out adverageous forums...

application variable

query string?

nested masterpage

commerce kit and credit cards

help with a custom login page

tell me why?

impersonation issues

drop down list

forms auth help please

error using rendercontrol

how to pop up to confirm with user whether to continue action

definition of getpropertyvalue method in profile class

formsauthentication web.config full ldap path for connectionstring

help me hack my enterprise app

select node in tree view after bind

panel

todo in tasks not working

state management question(s)

personal web starter kit - web.config encryption in shared hosting scenario

step to configure validation block in asp.net 2.0 or 3.5 application.(urgent)

location specific portals

invalid unicode characters

globalized captcha implementation

webapplication is not running in debug mode.

remember me is not working

 
All Times Are GMT