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: 2/18/2005 11:25:32 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 0 Views: 12 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
10 Items, 1 Pages 1 |< << Go >> >|
dot_net_boy
Asp.Net User
SkinObject with database access2/18/2005 11:25:32 PM

0/0

Hello,

I'd like to create a SkinObject but to have access to the DNN database. Any ideas how to set up the project ? Any demos ?

Thanks !!!
dot_net_boy
Asp.Net User
Re: SkinObject with database access2/18/2005 11:57:38 PM

0/0

Managed to make it work using DNNJungle templates !
leiner
Asp.Net User
Re: SkinObject with database access2/19/2005 9:00:13 AM

0/0

Does this mean that you can extract data from the database like "Registered Users" or users belonging to any other role ?
Leif
dot_net_boy
Asp.Net User
Re: SkinObject with database access2/19/2005 9:44:56 AM

0/0

Yes - I just listed all the Tabs from the current portal, but you can simply query anything !

leiner
Asp.Net User
Re: SkinObject with database access2/19/2005 10:13:18 AM

0/0

Do you mind trying listing the "Registered Users" by name and e-mail address the way User Accounts display them.

Thanks
Leif
dot_net_boy
Asp.Net User
Re: SkinObject with database access2/19/2005 12:00:58 PM

0/0

I just listed all the users from the current portal : full name & email. It's 9 lines of code including variable declarations
leiner
Asp.Net User
Re: SkinObject with database access2/19/2005 12:11:46 PM

0/0

Very interesting, any chance you can share your secrets

Thanks in advance
Leif
dot_net_boy
Asp.Net User
Re: SkinObject with database access2/19/2005 12:17:09 PM

0/0

Sure, there's no secret at all ! :)

1. I created a new project : Skin Object and added Components folder with DLL and DataProvider
2. I created a new project : Sql Data Reader
3. I made a reference from SqlDataReader project to SkinObject project

now on my SkinObject I added a literal called lblUsers and in page behind I did this :

Dim users As New Entities.Users.UserController
list = users.GetUsers(PortalId, True, True)
Dim user As Entities.Users.UserInfo
Dim userMembership As Entities.Users.UserMembership
For Each user In list
userMembership = user.Membership
lblUsers.Text = lblUsers.Text & "<br>" & user.FullName & " - " & userMembership .Email
Next

That's all :)
leiner
Asp.Net User
Re: SkinObject with database access2/19/2005 2:39:05 PM

0/0

For the non-coder that I am do you think you could post the file somewhere or possibly e-mail it to me ? leiner dot leif at wanadoo.fr

Many thanks in advance
Leif
acorcutt
Asp.Net User
Re: dnn 3.0 SkinObject with database access2/28/2005 7:17:54 PM

0/0

Hi, Has anybody got a working example of a dnn3 skinobject that uses the db/dataprovider?

i just cant get it working
DNNDesigner - Free Editor, Free Compact Control Panel, Free Designer Objects and 60+ Skins From Only $1
10 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
DotNetNuke For Dummies Authors: Lorraine Young, Philip Beadle, Scott Willhite, Chris Paterra, Pages: 408, Published: 2007
Beginning DotNetNuke Skinning and Design: Skinning and Desing Authors: Andrew Hay, Nina Meiers, Shaun Walker, Pages: 432, Published: 2007

Web:
RadMenu skinobject RadMenu skinobject. ... Shortcuts - Access Keys - Arrow-key Navigation ... Populate menus from an SQL database or using the powerful API ...
dnn3: questions for skinobject css class and <%= SkinPath %> image ... I noticed that there is a new css class called skinobject and .... NET MVC Application Building #2: Family Video Website – Add the Database ...
Open-SearchEngine ... it does not rely on database access in order to index content, ... Search Input implemented as a Skin Object. You can include the search input box ...
DotNetNuke Module Development > Home > Blog And Forum If I zip the skin object it will install and uninstall with no problems. ... The support for the Access database was dropped in this version. ...
DNN skins not installing - ASP.NET Forums ... doesn't appear to be a rights issue (I am using an Access database). ... Loading skin object for token BANNER: Admin/Skins/Banner.ascx ...
p2p.wrox.com Forums - Skin and House Menu problems Wrox First - Instant Access online to new Wrox books .... SkinObjects. HouseMenuSkinObject Public MustInherit Class HouseMenuSkinObject ...
80019 Ventrian Property Agent Import - Export 80011 Vista Flash Menu SkinObject ... 80039 Database Driven News Letter · 80040 Member Search and Print ... You do not have access to this page. ...
Faster Database Access in ASP.NET What is the fastest method of displaying a set of database records in an ASP. ... 80011 Vista Flash Menu Skin Object with Free Module and Bonus Business ...
Snowcovered.com : Snapsis CSS NavMenu 3.3 (Single use) by Snapsis ... ... a lot of resources because every page load had to access the database. ... A : It is a SkinObject, not a module. Most of the configuration is done in the ...
Open-SearchEngine v1.7 Enterprise Search Engine for DNN Powered by ... Search Input implemented as a Skin Object. You can include the search ... This means that from DNN, you can access the same content from different URLs. ...




Search This Site:










error: object reference not set to an instance of an object.

cdo error

software and web development standards

validating a time of the day

netpolls - free dnn poll module

login failed for user aspnet

read user groups from access 2000 mdw.

signing data file with certificates in "my" store

defragment harddisk

can you add a datatable to viewstate

page not found error when loading a treeview on sandbox

parent menuitem highlighting

how to use ie web controls in web matrix or dreamweaver?

array sort

problem with virtual dir

authentication, adding roles, basic user access design question...

confused with login/logout

radio_button selectedindexchanged doesn't work.. why?

communicating to web application

fileiopermission class - read from an text file with upload file form

dnn 3.1 slower on dial-up?

getting the logged in nt id without using authentication type='windows'

digest authentication doesn't work but basic does

db info

suggestions to build newsletter

limiting ms access table to 10 most current records

problem with font property of custom web control

size module?

how to deploy a global theme

unable to connect to sql server database

 
All Times Are GMT