Stylesheet for user directory
Last Post 05-18-2010 02:33 AM by Thomas Born. 5 Replies.
AddThis - Bookmarking and Sharing Button
Author Messages
Thomas BornUser is Offline
going with the flow
going with the flow
Posts:78
Avatar

--
04-06-2009 04:04 AM

    Ok last question for today. Can I use a custom stylesheet for the directory or do I need to define the styles in my skin or container file?

    CandaceUser is Offline
    river guide
    river guide
    Posts:2431
    Avatar

    --
    04-06-2009 08:55 AM
    Hi Thomas,

    Dynamic User Directory uses a rich text editor for its templates which allows for various layout and style options. Are you looking to change the stylesheet for the search options?

    Candace
    Thomas BornUser is Offline
    going with the flow
    going with the flow
    Posts:78
    Avatar

    --
    04-06-2009 02:24 PM

    I am using the HTML editor to define the template for the list items and the detail section and want to use the class attribute for the html elements to set the style. I can obviously define the classes that I use in the skin, it would have been nicer though if you could define a seperate stylesheet when configuring the module.

    Regards

    Thomas

    Chad NashUser is Offline
    Posts:5260
    Avatar

    --
    04-07-2009 01:32 PM
    Thomas,

    Hi. Thanks for your feedback, we will review this for future releases. For now you would have to either...

    1. Add stylesheet class properties directly in the HTML
    2. Modify the DynamicUserDirectory.ascx file to either insert the classes there or read from a module.css/other css
    3. Add stylesheet classes to the main portal CSS under Admin, Site Settings (near the bottom). This is the best route I think, you could simply name the class names something like DynamicUserDirectory_UserTitle etc...

    We will review this for future updates though, the request has not come up as much as other modules of ours which do allow you to specify a custom stylesheet because you do have full layout control etc...

    -Chad
    Miguel ClaraUser is Offline
    going with the flow
    going with the flow
    Posts:56
    Avatar

    --
    05-17-2010 08:43 AM

     

    I'm having problems with this...

     

    I'm applying the styles directly in the html but they don't seem to be working :| 

    Thomas BornUser is Offline
    going with the flow
    going with the flow
    Posts:78
    Avatar

    --
    05-18-2010 02:33 AM

    Hi there;

    Make sure you have defined your styles in your skin stylesheet. Then simply use them like this in the template:

    .td class="yourstyle". some text./td.

    (Sorry but I am using . instead of <>)

    Thomas



    ---
  • film izle
  • 720 izle
  • film
  • sinema izle
  • film makinesi
  • T�rk�e dublaj film
  • film izle
  • film izle
  • baglan film izle
  • sinema izle
  • 1080 film izle
  • film mercegi