Ventrian Product Forums

We've moved our Product Forums!
To better assist our customers, we've moved to an integrated knowledge base and ticketing system. You can access the new forums at http://support.ventrian.com.
Subject: Want to embeded Messages Counter in Skin
Prev Next
You are not authorized to post a reply.

Author Messages
jwUser is Offline
Registered Users
Ventrian Newbie
Ventrian Newbie
Posts:4

3/01/2010 8:48 PM  

Hello there

I have many pages i want to add the counter module into. But the easiest way to manage is by adding in the skin and not into content pane where i have to manage manually.

Please help me with some code snippet to add module in skin the html.

Best

Scott McCullochUser is Offline
Administrators
Ventrian Master
Ventrian Master
Posts:21233


3/01/2010 9:00 PM  
You can add the message count module on to any page if you have container space. It can't be a skin object currently.

Scott McCulloch
Site Administrator
armand datemaUser is Offline
Gold Membership
Ventrian Master
Ventrian Master
Posts:331

8/08/2010 1:25 PM  

How about you make a container and in there you have

[div id="CntHold]

[div id="ContentPane" runat="server"/>

[/div]

now add the counter module to one page and give it this special container

then in your skin where you want the counter to appear call it with a jquery jax call

[div id="MyCounter"]

[/div]
[script type="text/javascript"]
jQuery('#MyCounter').load('default.aspx?tabid=1 #CntHold');

[/script]


change it to your page and you have the counter on any page where you want in your skin


Armand Datema
2DNN
Advanced skinning, jQuery integration and creative use of Ventrian modules
Ismet DumlupinarUser is Offline
Registered Users
Ventrian Master
Ventrian Master
Posts:484

8/19/2010 9:32 AM  
Armand, do you have a live example?

DNN Hosting Suggestions MCP/MCDST/MCT
Daily DotNetNuke Tips and Tutorials
Install DotNetNuke to Godaddy Root

DotNetNuke Türkçe
armand datemaUser is Offline
Gold Membership
Ventrian Master
Ventrian Master
Posts:331

8/19/2010 9:35 AM  
No I dont, was just a suggestion on how to do it. I never tried this this way, its just a basic jQuery call that I have used before in other usage

Armand Datema
2DNN
Advanced skinning, jQuery integration and creative use of Ventrian modules
You are not authorized to post a reply.
Forums > Modules > Private Messages > Want to embeded Messages Counter in Skin



ActiveForums 3.7
We've moved our Product Forums!
To better assist our customers, we've moved to an integrated knowledge base and ticketing system. You can access the new forums at http://support.ventrian.com.