Login

Username

Password





Register   Reset password

This is a read-only archive of the forum.

# JelleHissink 8/22/2007 1:09 AM (edited 8/22/2007 1:20 AM)
EDIT: Looked again in the output, and noticed the div class="languageswitcher" tag that was already in place...
I first wrote the following:
"idiot"I think it might will be better if cuyahoga will write out class attributes instead of style ones.
e.g. the portal currently output: (replaced <> with [] because the forum did not like the tags)
[ul][li][a title="English" href="/home.aspx"][img src="/Modules/LanguageSwitcher/Images/flags/us.png" alt="English" style="border-width:0px;" /][/a][/li][/ul]

when using the languageswitcher:
I think the style should not be there also the outer ul element could have a class attribute set to e.g. "Module_LanguageSwitcher", this way you can style the language items differently and you will get a cleaner layout. If every module or control would do this, skinning the site would be a breeze.

What is your opinion about this? Are there better ways to do this?

I've just started evaluating cuyahoga for running a large cooperate site (multi-language, news, downloads, forums, faq, ecommerce). Do you want any patches I make, or can I commit in the subversion repository? I already have a few minor fixes to trunk (null reference and sql script errors).

Regards,
Jelle Hissink

PS: Martijn, ik ga samen met Erwin bij XL21 aan de slag, misschien dat dat de communicatie wat vereenvoudigd.

# martijnb 8/24/2007 3:38 PM
JelleHissink
when using the languageswitcher:
I think the style should not be there also the outer ul element could have a class attribute set to e.g. "Module_LanguageSwitcher", this way you can style the language items differently and you will get a cleaner layout. If every module or control would do this, skinning the site would be a breeze.

What is your opinion about this? Are there better ways to do this?

Personally, I wrap sections that need to be specified into a div with a unique ID.
[div id="mycustomsection]
    [asp:placeholder id="mycustomsectionplaceholder" runat="server" /]
[/div]

In the CSS, I can then modify everything for that single section only.
I've just started evaluating cuyahoga for running a large cooperate site (multi-language, news, downloads, forums, faq, ecommerce). Do you want any patches I make, or can I commit in the subversion repository? I already have a few minor fixes to trunk (null reference and sql script errors).

The easiest way is to create issues with patches in Jira.
PS: Martijn, ik ga samen met Erwin bij XL21 aan de slag, misschien dat dat de communicatie wat vereenvoudigd.

Ha leuk! Dat vereenvoudigt de boel zeker :).