Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDevelopment and...Development and...DNN Platform (o...DNN Platform (o...Module or Skin ObjectModule or Skin Object
Previous
 
Next
New Post
11/4/2008 6:31 PM
 

I need to create a custom entry page for my DNN install.  Part of the entry page is a random image.  Currently the random image is pulled out of an array of images, selected randomly by javascript.  Currently the array is statically specified and I go into the module to change the images based on the season.  Awful, I know, but I lifted the code out of our current website.

I'm reworking the entry page to be a C# module and, what I would like to do, is have the user specify a base directory.  Once the user specifies the base directory, the module will then grab the next level of folders and allow them to set dates for when the images in that folder will display.  The server will then select the random image - rather than using javascript.

It occurs to me that this would be more flexible as a skin object, allowing me to use CSS to place it anywhere on the page - using XML to specify the dates and folders.  This would make it far less configurable for the end user (everyone who is not me), but far more flexible for the designer (hey, that's me, for another year or so).

On the other hand, though, while there's a 92% chance that I'll be the one specifying the base folder and dates, my goal is to get somebody to take on that responsibility.  If other people get used to doing this, it's one less thing I'll have to do.  In addition, the random image is only one part of the entry page.  So, since I'll be doing other programatic items on the entry page, it may make very little sense to split it off into a skin object.

Right now, I'm leaning strongly toward a monolithic (single use) module for the entry page.

Thoughts?

 
New Post
11/11/2008 7:41 AM
 

If your content is in site level, you should considering skin object since the scope of skinobject is in skin level.

Or maybe you can communicate between those.

Create module for managing skin object's contents. :)

CMIIW.

 
Previous
 
Next
HomeHomeDevelopment and...Development and...DNN Platform (o...DNN Platform (o...Module or Skin ObjectModule or Skin Object


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, 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 DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out