Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

telerik -- supercharge your DNN websites
  Ads  
 


  Sponsors  

Meet Our Sponsors

Mad Development is a full service interactive agency focusing on the merge of design, technology, e-commerce, and affiliate marketing by providing total website solutions.
SteadyRain
DataSprings - Great Ideas. Always Flowing.
R2integrated - formerly bi4ce
Jango Studios - Skins, Modules and Hosting for DotNetNuke
eUKhost.com is commited to offer exceptional UK Windows Web Hosting solutions with quality 24x7 technical support.Our plans support ASP.Net, ASP, ASP.NET Ajax extensions, XML, MSSQL, MySQL, PHP,DNN, multiple domains and Shared SSL as standard.
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! ( Pr...  adding server scripts to my skin
Previous Previous
 
Next Next
New Post 4/1/2008 1:02 AM
User is offline davico
51 posts
10th Ranked


adding server scripts to my skin 

hallo,

this is the problem: I would like a script to look in a specific directory, loop through the files (images) and get their names into an array. Then I would use this array to set randomly a background image to an element of the page. I think this can be done by adding a server script to my skin. Do you an example of how to add a script and how a script would look? I know it's a very vague question, but I need some starting points... thanks

 
New Post 4/1/2008 2:27 AM
User is offline Stefan Cullmann
1569 posts
5th Ranked








Re: adding server scripts to my skin 

Did you read: http://www.dotnetnuke.com/News/SecurityBulletins/SecurityBulletinno13/tabid/1149/Default.aspx ?


Stefan Cullmann - stefan.cullmann [at] dotnetnuke.com
form and List will be the successor of the User Defined Table module.
----------------------------------------------------------------------
Do you want to import external data to form and List /User Defined Table?
Check out http://www.codeplex.com/Csv2UDTImport
 
New Post 4/1/2008 3:37 AM
User is offline davico
51 posts
10th Ranked


Re: adding server scripts to my skin 

I read it, but I'm not sure what it means: am I not allowed to add scripts in my skin because of security reasons? I did add some javascripts in my pages and they function well. I also used, from time to time, when needed some code like this: <%=PortalSettings.ActiveTab.TabName %>  in order to get some specific info from the portal, and it also works.... So I don't exactly know what I can do and what I cannot,  by using scripts.

 

 
New Post 4/1/2008 10:17 AM
User is offline Wes Tatters
410 posts
8th Ranked




Re: adding server scripts to my skin 

This sort of thing would be much better handled by a SKIN object - instead of in a embedded script.  
A SKIN object also provided integrate with DNN and access to the api

Westa

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Extend It! ( Pr...  adding server scripts to my skin
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, please observe the following posting guidelines:

1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


IHostASP.NET Provides the Ideal DNN Hosting
We will help you with the installation, configuration, and troubleshooting of your DNN portal, no task is too big or small for us. Unlike other companies we are not just providing a reliable hosting service, but we are also focused on providing the best DotNetNuke hosting service on the internet.
www.ihostasp.net
$7.16/mo - Powerful DotNetNuke / DNN Hosting
Powerful DotNetNuke / DNN Hosting on Windows 2008 and 2003 servers, starting at under $8/mo with FREE SQL 2008 on certain plans and FREE SQL 2005 on all plans with FREE Installation and expert support.
www.re-invent.com
ASP.NET Web Hosting for $3.95
3 Month FREE ASP.NET Hosting! FREE Setup! DNN Support! FREE Domain Name! FREE Components! Host multiple websites on 1 plan! 30 Days Money Back Guarantee!
www.dailyrazor.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP