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  |  

Maximum ASP
  Ads  
OnyakTech
 


  Sponsors  

Meet Our Sponsors

Verndale
The Official Microsoft ASP.NET Website
Portal Webhosting - Hosting For Developers
Red-Gate Software
MaximumASP
SourceGear - Tools for Developers
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! ( Pr...  changing the Module Aligment based on the current culture
Previous Previous
 
Next Next
New Post 7/7/2008 12:29 AM
Unresolved
User is offline Anas Ghanem
40 posts
10th Ranked


changing the Module Aligment based on the current culture  

Hi all ,

I'm able to dynamicly change the module title( thanks to this thread ) , but i'm unable to change the module alignment ! how to accomplish this ?

I need this because the title text is aligned on the left , and i want it to be aligned to the right if the based on the current culture ,

for example for arabic  , i want the module title to be aligned to the right .

Thanks for any help.

 


Anas Ghanem | My blog
 
New Post 7/9/2008 1:23 AM
User is offline Anas Ghanem
40 posts
10th Ranked


Re: changing the Module Aligment based on the current culture  

I want to change the module Title Aligment based on the current culture  , if its not possbile through code behind , then is there any other workarounds ?


Anas Ghanem | My blog
 
New Post 7/10/2008 11:11 PM
User is offline Agung Riyadi
100 posts
9th Ranked


Re: changing the Module Aligment based on the current culture  

Just override the css. Usually float and direction.

You can't just change alignment from left to right for arabic. :) You have to change the css too. :)

For arabic text, usually i use link button rather than button. Because i can use image as arabic text easily in linkbutton.

CMIIW.

HTH.

 
New Post 7/13/2008 12:46 AM
User is offline Anas Ghanem
40 posts
10th Ranked


Re: changing the Module Aligment based on the current culture  

Thanks for reply ,

But I'm not sure where to override the Css ? did i have to write a custom container ? or what ?

I'm still new to DNN ,

Thanks


Anas Ghanem | My blog
 
New Post 7/14/2008 1:13 AM
User is offline Agung Riyadi
100 posts
9th Ranked


Re: changing the Module Aligment based on the current culture  

In your module, just wrap your content with <div> and in your module you can combine with <% ... %> syntax for checking language, then change your css for <div> into right one.

<% if (arabicCondition) {

         // change div1 class; 
         // or do some process

      } %?

<div id="div1" class="normalStyle">....content....</div>

HTH.

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Extend It! ( Pr...  changing the Module Aligment based on the current culture
 


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.

 


Easily Build DNN Solutions with XMod
XMod makes it easy to build news articles, house listings, custom feedback forms, product reviews and much more - without programming
www.DNNDev.com
Software Development and Integration with DNN
HNP Solutions focuses on the pragmatic use of technology and process to meet an organization's business objectives. HNP Solutions employs seasoned Enterprise and Solution Architects, Delivery Managers and QA & Business Leads. Our capabilities range from project assessments & recommendations, design & code reviews, to full program implementations. We also work with organizations in need of senior staff augmentation purposes in the areas of Enterprise and Solution architecture.
www.hnpsolutions.com
Alki Homes - Seattle, WA
Exemplary service for your Seattle Real Estate needs. It's what you deserve from your Realtor®!
www.alkihomes.com

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