Implementing Content Types in DotNetNuke - dotnetnuke

I am evaluating DNN as an alternative to WSS. In WSS, I can define content types (basically a group of columns), enter the content from the back-end, and display it using web parts.
This is very useful to display a list of items with a predefined format, which is really what I am looking for.
Is there any way I can implement this functionality in DNN? Thank you for the help.

The core Form & List module allows you to define a data format and display it via a template.

Related

Change labels using language drop down in extjs application

I would like to know is there any functionality through which we can provide a provision to the user to that it can select a language from the drop-down and the whole application labels got converted into the selected language.
For example, on a page, we have a combo box with values English & Dutch. By default, when application load then I am able to fetch browser's language and show application labels in the same. But I want to know, how a user can manually convert an Ext JS application into the desired language.
I have tried google translator but UI not rendered as expected.
My approach for the case is:
I am getting a JSON structure for all the labels based on my language key viz. 'nl' or 'en' from the back-end and then using ViewModel for updating the labels throughout the application.
This method turned out to be the pretty easy and appropriate method. I am able to change the labels without refreshing my application.

Internationalization of Dynamic content using spring or angularjs

I need a help on doing a internationalization of dynamic content. Let's suppose I have a application which is working in different region like jersey, Philippines, Argentina etc. I need to show content based on the country user's login. I already know how to show it for labels. But for dynamic content, I unable to think how to proceed. For eg. if a user login in a particular region, I need to show his name in that particular region language or If he changes his language preference then need to show based on the selected preference.
I am using spring and angularjs in my application.
How to proceed for this?
I made one angular application with just the requirement you said. i18n and l10n.
angular-translate for dynamic label translations
angular-i18n for localization.
angular-dynamic-locale for dynamic localization.
EDIT EXAMPLE
Simple page http://the-unsoul.github.io/angular-requireJS/#/home (only couple fields got its label tranlating)
Source code https://github.com/the-unsoul/angular-requireJS

searching for a tool/solution that allows angular to show forms and form elements dynamically based on metadata

the forms in my app display themself based on metadata.
In design mode the user should be able to change the form (metadata) by dragging all form elements (text, input ...) somewhere in the browsers window. I want to save the new metadata to display the changed form.
I wonder, if there is allready any solution or a tool.
Thanks in advance
Chris
Check this link - http://ngmodules.org/ which contains a detailed list of plugins developed for angularjs. I have found many useful plugins here.

Database search field database

I'm looking for a way to create a search box in wordpress, where visitors can search a number from the database. Is this possible? I have several package numbers in my database. I want to give my visitors the ability to search for their package number and request the information that comes with the number.
What you want to do can be done.
I suggest a different approach than using wp-exec. (I just looked at wp-exec website, and that plugin was created for WordPress 1.5, which means it hasn't been updated in about 5 years).
The content you want to display exists entirely outside of WordPress. I suggest you use a custom page template - see
http://codex.wordpress.org/Pages#Creating_Your_Own_Page_Templates
In this case you would not use WordPress posts or pages or custom post types. On the custom page template you would write (or have written if you don't have the knowhow to do it yourself) PHP code to extract the info from the database and display it on a page.
For pages like that you would be using WordPress only as a container within which to display the results - they custom page would appear in the site Nav, The page of results would use the site's theme to display so it looks like the rest of the site.
But the code to display from the database would not use the WordPress loop. It would be PHP / MySQL data retrieval and display code.
I really doubt you will find a plugin that lets you display results from an external database, formatted the way you want them to appear. The reason is every external database is different, has different tables and table structures. And no two sites will want the external data visually displayed in the same way. So there is little generalization to encapsulate in a plugin as everyone wants it different.
I've created pages on some sites along the lines of what you want to do thus I know it can be done. But it requires writing custom code.

accessing form fields in html module in dnn

in my dotnetnuke site, i have added a form and list module. And added the form containing fields name, occupation..., and records are added. will i able to get the values in another html module(row wise or column wise)
I'm not sure what exactly you want to do. What I understand is, you have listing of some object in one module and insert/update/delete in another module and you've installed both of them in same tab and now you wan to update listing module when edit module changes.
you can use IMC for implementing such kind of functionality.
No, you can't access the data from an HTML Module. But, you can certainly display the data in a variety of ways. If you want the same people who enter the data to view the data, just go into module settings and for "Appearance", select "Form Above List" or "Form Below List". That will cause the module to display both the Form and the List.
If you need more advanced control, you could also use the Reports module or a module like Efficion's Advanced Data Grid to display the data but you'll need to understand SQL pretty well to make those work.

Resources