spacer
eCommerce

Get Adobe Flash player Install latest flash player if you can't see this gallery.


Useful Articles
  
Spotlight

Get Adobe Flash player Install latest flash player if you can't see this gallery.

  
Forum
 
  Forum  DotNetNuke Modu...  janet.Articles  styling articles
Previous Previous
 
Next Next
New Post 8/25/2007 9:06 PM
  topoulos
2 posts


styling articles 
1. is there a token for the category name, author, or number of comments on an article?
2. i would like to add background gradient and do some styling to the elements in an article list. I know I can do inline styles, but would like to use a stylesheet. Can this be done?
3. Where and how could I replace the ratings images with custom designed ones?
4. I have the html document that came with the download, but is there more detailed documentation on formatting, managing articles, examples on the web site?

Thanks!
Tony Angelopoulos
 
New Post 8/28/2007 10:43 AM
  neil
111 posts
www.janetsystems.co.uk


Re: styling articles 

Hello Tony,

In asnwer to your questions:

  1. The tokens are:
    • Category name [category]
    • Author - no token currently available
    • Number of comments - no token currently available

    for those above where there is no token, I'll look into the best method of adding/capturing the information.
  2.  A stylesheet could be done. When defining the layout for each item in the category set-up use either classes of Id's for DIVs of Tables. Then either add your stylesheet definitions to the default.css definitions via the site settings admin page or by amending the CSS definitions for your skin.
    If you have a layout, send me the details and I'll break it up to use classes/Ids for you.
  3. The existing images used are desktopmodules/janet.Articles/icon_star.gif and desktopmodules/janet.Articles/icon_star2.gif. One is laid over the other to give the percentage colour change effect. To change the images I would suggest replacing these - although future updates would over-write them. I'll add this to the list of suggestions - although must admit not sure what the timescale would be for its introduction.
  4. The HTML article covers most of the setup for the module. I'll look to adding some example presentation styles, for example for the listing mode. I'll also review the documentation - let me know if there are any specific points for me to cover.

Neil

 
Previous Previous
 
Next Next
  Forum  DotNetNuke Modu...  janet.Articles  styling articles