Comments (13)
One things I notice ... is how the i18n JS is pick-up?
/wet-boew/js/i18n/en.min.js ... This one is for the english Mark-up... But I take it from my french page...
index-fr.php ...
Just wondering...
from wet-boew-php.
Another things...
I just want to specified this : On my french page I use the class from v3.1 for the carrousel
On my english I'm using the V4 class...
So on my english page this is what i'm seeing
<script src="/wet-boew/js/i18n/en.min.js" type="script" height="0" width="0" onload="function(){k.call(this,q)}"></script>Why the hell the JS add height and width to a script tag ?
from wet-boew-php.
The good news is I did get it to work. I copied the HTML from the tabs demo
http://wet-boew.github.io/v4.0-ci/demos/tabs/tabs-carousel-en.html and
pasted your content on to the page. It worked.
I started replacing HTML code with PHP includes for the variant sections. I
got down to the head-nav.php include before it stopped working. I'm on my
way home and will have a look to see if I can spot the difference between
the PHP variant coded in the head-nav.php file and the header code from the
sample tab page. If I have some time this afternoon.
On Wed, Jan 15, 2014 at 11:44 AM, crochefort [email protected]:
Another things...
I just want to specified this : On my french page I use the class from
v3.1 for the carrousel
On my english I'm using the V4 class...So on my english page this is what i'm seeing
Why the hell the JS add height and width to a script tag ?
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/73#issuecomment-32372907
.
Regards,
Patrick Upson
Twitter: @PatrickUpson
CIPS NS - Program Committee Director
from wet-boew-php.
Thanks!
from wet-boew-php.
I fixed the extra < symbol in the head-nav.php file. I couldn't find reference tobias the /wet-boew/js/i18n/en.min.js file.
from wet-boew-php.
I fixed the extra < symbol in the head-nav.php file. I couldn't find reference to the /wet-boew/js/i18n/en.min.js file.
from wet-boew-php.
Sorry on my phone. keep hitting wrong buttons. I'll stop now.
from wet-boew-php.
Maybe @pjackson28 can explain it to us... I'm pretty sure it's loaded from the wet-boew.js ... But how it pick-up the right language of the page... This something we need to understand to make sure we are ok with the mark-up in the head...
from wet-boew-php.
The language is determined by the lang
attribute on the HTML tag https://github.com/wet-boew/wet-boew/blob/master/demos/index-en.html#L5
from wet-boew-php.
Thanks Nick.. Was not sure!! It just comfirm that i need to investigate more the strange behaviour i got this morning!
from wet-boew-php.
@crochefort Well we're using the $SITE['wb_meta_lang'.$_PAGE['lang1']] variable to set the language so as long as you're setting the $_PAGE['lang1'] variable before you call the head-doc.php include it should be setting the lang
attribute in the HTML tag to 'fr'
from wet-boew-php.
Close since The issue in the OP has been fix!
from wet-boew-php.
The issue with the language is with IE8 as per this issue!
from wet-boew-php.
Related Issues (20)
- remove links on footer menu headers HOT 1
- Maintenance Mode... HOT 2
- PHP Menu Generator HOT 18
- Links in header need to be updated HOT 9
- V4 missing error page coding. HOT 10
- V4 Archived page don't show ARCHIVED - in the title HOT 2
- V4 Archived text need to be updated
- Cloning just the DIST-PHP folder instead of the whole project HOT 8
- GOC Template user how do you... HOT 2
- V4 New issue found while validating with WPSS HOT 2
- WET4 changes that need to be take care! HOT 5
- wet-boew-php as bower dependency HOT 9
- wet-boew-php 4.0 HOT 11
- The Secondary Utility Menu Page - side menu doesn't work. HOT 3
- Base theme footer background is the wrong colour HOT 6
- Title is just a slash on language selection splash page of on demos-php HOT 7
- FIP images missing on 404 server pages in demos-php site HOT 6
- WET 4 - Missing support for session login/logout (sign in/sign out) HOT 3
- Please tag v4.0 branch HOT 2
- GCWeb Canada.ca Redesign theme HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wet-boew-php.