I would really love to have this - if - it is flexible and we can put anything in the footer that we would like.Hi Erik, any news on the footer you originally had planned? With the Have You Met {random user}?
That would be so fantastic.I'd imagine it'd just be a footer template that you could populate with whatever you want.
I have noticed Google Translate causes multiple style issues. I haven't tried to confirm if the issues exist in the default style.
This will happen with any translator, though, as Google's servers fetch the page, process it, and then send it back to you. Because obviously Google isn't logged in as you when it fetches the site, it will appear to "log you out." And as mentioned above some HTML might break because of the translation.Brett, I originally used Google Translate, but ran into the issue you mentioned. Also, anytime Google translates a page, the user gets logged out of your site, which is an issue for me.
I believe the Microsoft Translator widget works by translating the page with JavaScript in realtime, so you don't run into the same problems. However, MS Translator is something that the owner of the site needs to add to their site. It's not something you can use on any site you visit.![]()
<div id='content' class='hasSidebar'>
It should. Can you post or PM a link?did not work.Code:<div id='content' class='hasSidebar'>
Check the source of that page. The content div doesn't have a class of "hasSidebar":
<div id="content" class="EP_AboutFeatures">
<div id="content" class="EP_AboutFeatures hasSidebar">
<div id="content" class="{$contentTemplate} <xen:if is='{$sidebar}'>hasSidebar</xen:if>">
You might want to use your curlies to create valid HTML:Code:<div id="content" class="{$contentTemplate} <xen:if is='{$sidebar}'>hasSidebar</xen:if>">
<div id="content" class="{$contentTemplate} {xen:if '{$sidebar}', 'hasSidebar'}">
None, except that the curly syntax can be used inside tag attributes and maintain valid HTML:
HTML:<p class="{xen:if $moo, 'moo', 'notMoo'}"> <!-- valid HTML --> <p class="<xen:if is="$moo">moo<xen:else />notMoo</xen:if>"> <!-- invalid HTML -->
It will be with the release of XenForo 1.0.2, although it will be done in a slightly different manner:I really think this is how xF default template should have been.
Kier said:Erik,
XenForo 1.0.2 uses the following <html> tag:
<html id="XenForo" lang="{$visitorLanguage.language_code}" class="Public {xen:if {$visitor.user_id}, 'LoggedIn', 'LoggedOut'} {xen:if {$sidebar}, 'Sidebar', 'NoSidebar'}" xmlns:fb="http://www.facebook.com/2008/fbml">
You should therefore be able to apply specific styling using html.Sidebar ... and html.NoSidebar as the first element in your CSS selector.
K
Thanks, didn't know that. Although see above. This was only a temporary solution anyways.You might want to use your curlies to create valid HTML:
Code:<div id="content" class="{$contentTemplate} {xen:if '{$sidebar}', 'hasSidebar'}">
We use essential cookies to make this site work, and optional cookies to enhance your experience.