How to share a DNN module across sites? - dotnetnuke

I am very new to DNN. I have a module on my page - http://localhost:10000/us. I want to have that module on all the other sites mentioned below: http://localhost:10000/demo
http://localhost:10000/uk
http://localhost:10000/de
I tried 'IsShareable' checkbox under Advanced Settings of the module settings. But that didn't help.
I expect the module to be added to my other sites too.

To share modules across different portals you need to use the "Portal Groups" feature. There is no interface for that in the Platform, only in the commercial product (Evoq), nevertheless it works (as the API is there).
But there are community contributions for this, e.g. Connect.Sitegroups

Related

Is it possible to share 2SXC Content modules between portals on the same DNN instance?

2sxc 11.x / DNN 9.x
I have a DNN instance with a portal with lots of Content modules with different Content Types and Templates. I'm going to be making a second portal that is related to the first portal and there is some shared content. Is it possible to allow the first portal to share it's 2SXC content types and templates with the second, new portal? If so, how?
There are a LOT of ways to do this, and unfortunately there is no good guidance document ๐Ÿ˜Ÿ.
Your scenario sounds like what you would need Ghost-types for: one app creates the real type, the other app just has a ghost-reference for the original type. This is a common way to solve this - and yes, it's a very well kept secret ๐Ÿ˜‰.
But I went ahead and created a checklist, just for you ๐Ÿš€ https://azing.org/2sxc/r/Pj4GMYY5

DotNetNuke (DNN) and Hyperlink Manager "Track the number of times this link is clicked"

I have clients using the DNN CMS (Evoq Content 7.3.2) system and are questioning a specific area in the "Hyperlink Manager". There are two checkboxes (View image):
Track the number of times this link is clicked
Log the user, date and time for each click
If checked, where do we go to view these analytics?
I found resources online that mention we have to create an API for it, but are there any out-of-the-box solutions for this?
After some more researching, I solved my own problem and I wanted to share this with anyone who was looking for an answer to this.
For versions DNN 7.3.2 and lower, the Telerik RadTextEditor includes the feature as mentioned above. To view the analytics with an out-of-the-box method, simply return back to the link and open the "Hyperlink Manager" then navigate to the new tab called "Tracking".
Alternatively, I found developers can implement a control in a custom module called UrlControl. Refer to this link for more information: Link tracking information in html editor (DNN 7.1.2)
In DNN 8+, this feature no longer exists on the front-end UI. I'm not 100% sure if it's still usable or if this information gets migrated when upgrading from 7 to 8, though.

Setting up a multilingual wordpress site

I am trying to set up a multilingual site using wordpress. I went through http://codex.wordpress.org/Multilingual_WordPress#Plugins_that_direct_you_to_external_translation_services and decided to use this option Plugins like Multisite Language Switcher and the newcomer Multilingual Press link together separate WordPress network (multisite) installations for each language by pinging back and forth..
Now i installed the Multilingual press and set up a network. The url of my site was wordpress.private.net and next on is it.wordpress.private.net. Both the domains are served from same folder. But still when i visit the it.__ site it shows in english language and that too without all the posts.
I get this error on network dashboard
You didn't setup any blog relationships! You have to setup them first to use Multilingual Press. For this, go to Network ยป Sites ยป and choose a blog to edit. Then go to the tab "Multilingiual Press" and set up the relationships.
But there is no option to set up the relationships in the tab "Multilingiual Press. Please guide me where am i going wrong?
Any other way to set up is also welcome.
My main moto is to run my wordpress site in two languages
I'm also developing a website in two languages.
I haven't used what you are using, so I cannot help you in that regard.
For my project I installed qTranslate plugin and I haven't had any problems with it so far.
In the plugin settings you specify language you want to use and other settings like how the language will appear in URL (?lang=en , /en/ in front of URL , http://en.yoursite.com)
When you edit post or page, you will have additional tab in the editor, one for each language, so it is really easy to use it.
It also supports qTranslate Services, that ables you to use professional human translation services with a few clicks, but I haven't used that yet.
A general note:
Do NOT auto translate your pages with Google Translate. This is basically spamming the google index.
If you want to autotranslate your page, use the google translate widget.
You can read that somewhere in the google guidelines too.
About your plugins:
qTranslate is fine and simple. But it does store all translations into one post. So if you later decide to change to a different plugin, you are toast.
I've heard about Multilingual, but I think it might still be a bit unstable.
The most commonly used is WPML. Might not be the best and it's not free. But it works and I have many clients that use it happily.
But again, DON'T auto translate your page. It's useless and will get you down ranked.

Use the plugins layout instead of the apps layout if it is available CakePHP

We have developed a CakePHP (1.3) application which works fine. Before usage users have to login. Nothing new there.
We also created a plugin containing a "sales website". It's styling is completely different from the applications design. The sales website works ok, but the loginpage is now based upon the applications layout (path: /users/login). We would like to apply the sales websites layout. But only when the plugin is available.
Is this possible? And if so, is it possible without the need to add a login method and/or users controller to the plugin?
You can use App::objects('plugin') to get a list of available plugins in your app. just do an array_search fro your plugin name and switch the layout accordingly

Changing mock up into skin in DotNetNuke

Friends I am starting to build one site using DotNetNuke. I am completely beginner in the DotNetNuke. I have mock up of site in html and i need to create skin and layout in DotNetNuke as in mock up. I tried to include the files in skin folder of DotNetNuke but it doesn't work.
And i am stuck with this. So, If anyone suggest me how can i change my mock up into the skin of my site in DotNetNuke?
I would start by looking at the Basic DotNetNuke Skinning webinar I recorded last year, it will give you an intro to Skinning for the platform.
http://www.dotnetnuke.com/Resources/Training/Basic-Skinning.aspx
You could also take a look at http://multifunction.codeplex.com for an example skin

Resources