You need to Register for free and Login to post a message in the forum.

Forum

change logo depending of the language of the pae
Last Post 2010-02-03 05:10 AM by Joseph Craig. 4 Replies.
Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
mediavoxUser is Offline
Nuker
Nuker
Posts:18

--
2009-09-25 06:48 PM
    Hi everyone,

    I would like to change my logo depending of the language of the page of my site. I have an English and French bilingual website, and the logo changes for each language, so i'm looking for the right variable or syntax to use to do that.
    Example, in php, i can define a language variable and do something like :
    ">

    The result of that is logo_en for the english pages, and logo_fr for the french pages, so now, in the css, i can do something like:
    #logo_en{
    background: url(images/logo_en.gif);
    }
    #logo_fr{
    background: url(images/logo_fr.gif);
    }

    So my question is: what should i use to define my language variable depending of the language page?

    Please help.
    Thanks to all.
    Joseph CraigUser is Online
    DNN Creative Support
    Nuke Master VI
    Nuke Master VI
    Posts:9303
    Avatar

    --
    2009-09-25 07:58 PM
    I would do this with a multi-language version of an HTML module.

    Replace the LOGO skin object with a pane into which you drop the multi-language HTML module. Configure the module for the correct logo for each language.

    There are several multilanguage HTML modules, and a couple of them (EALO form Effority and one from Apollow Software) are free. I don't have any particular recommendation on these.

    Joe Craig, DNN Creative Support

    Subscribe to DNNCreative
    I recommend PowerDNN for DotNetNuke Hosting.
    mediavoxUser is Offline
    Nuker
    Nuker
    Posts:18

    --
    2009-09-25 08:02 PM
    OK thank you.
    It probably the best thing to do.
    dchillmanUser is Offline
    Nuke Newbie
    Nuke Newbie
    Posts:2

    --
    2010-02-03 01:54 AM
    your answer leads me to believe you also may be able to answer my question. I am greener than green when it comes to DNN, as I was handed a project yesterday with a deadline of yesterday as well, so it seems. And I am new to DNN. The client wants different pages to have different logos. Is this possible, and if so can you point me in the right direction? Also, can you point me in the direction to understanding what determines the contents of the menu bar, as the client also wants different menu bars on different pages.
    Joseph CraigUser is Online
    DNN Creative Support
    Nuke Master VI
    Nuke Master VI
    Posts:9303
    Avatar

    --
    2010-02-03 05:10 AM
    Yes, you can do all of those things.  You will handle it with an appropriate "skin."

    There are several introductory tutorials that will serve to orient you to DotNetNuke:



    Joe Craig, DNN Creative Support

    Subscribe to DNNCreative
    I recommend PowerDNN for DotNetNuke Hosting.
    You are not authorized to post a reply.


    Active Forums 4.3

    Latest Forum Posts

    RE: Unable to Create Skin Package by Joseph Craig
    Which version of DotNetNuke are you using?
    RE: Deploying dnn by Joseph Craig
    You should be able to use CE even if you have a high traffic site. To develop your site without p
    RE: Rename or move site from domain name to subdomain name by Joseph Craig
    It is easy. 1. Go to Admin, Site settings and add a Portal Alias for new.websitename.com 2.
    RE: FCK Editor in DNN 6 by Joseph Craig
    Sure. Several years ago the FCK Editor was replaced by the CK Editor. You can download a highl
    FCK Editor in DNN 6 by WinXnet
    is there a way to get the FCK editor working in DNN 6 - it has stopped funcitoning properly after an
    Rename or move site from domain name to subdomain name by Bill Quinn
    Hi, I have an old DNN site on a a TLD like this: websitename.com I have created a portal on
    RE: Deploying dnn by Sameer
    Thanks joeseph glad with your answer it means i can use CE for my site if the traffic are not
    Unable to Create Skin Package by schilders
    Hi, I'm trying to create the skin package and manifest for my new skin. I created the new skin e
    RE: user adding images by Joseph Craig
    I think that you will need to go to the File Manager and give the user and/or security group file up
    RE: lightroom effect for skin by Joseph Craig
    There are modules available that do this. On the commercial side, I've used Mandeeps' Live Conten
    RE: Creating structured page content by Joseph Craig
    Take a look at Ventrian's News Articles module. While commercial, it has a very modest price! Th
    Creating structured page content by Stephen Bugden
    Hi, Can anyone recommend a module for creating and managing page content? The kind of thing I'
    lightroom effect for skin by everett31
    I’m looking for a way to add the lightbox effect to a skin file. I would like the end user to have
    RE: css3-mediaqueries.js and Dynamic Forms Crash Page in IE by WinXnet
    According to my web searching, @font-face references cause crashing in IE7 and IE8 with css3-mediaqu
    user adding images by rod lloyd
    I have set up permissions for certain users to edit a module, but when they log-on and enter Edit Co
    RE: Deploying dnn by Joseph Craig
    The free Community Edition of DotNetNuke is perfectly fine for creating "world class" websites. Whi
    RE: css3-mediaqueries.js and Dynamic Forms Crash Page in IE by WinXnet
    any idea what approach I should take - IE completely locks up. The only cause is the combo of the
    RE: css3-mediaqueries.js and Dynamic Forms Crash Page in IE by Joseph Craig
    If you're up to doing some debugging, you might be able to figure out where the problem lies. That'
    RE: Deploying dnn by Sameer
    Hi Joe Thanks for your reply i am planning to create my own DNN site so for that i have chec
    RE: css3-mediaqueries.js and Dynamic Forms Crash Page in IE by WinXnet
    Thanks for the response, but I was hoping it was something I could fix with some skin tweaks - one i
    You are not logged in.
    You must log in to access all 
    650+ videos, tutorials, podcasts, and more.
    RSS Feeds