Comments (4)
@michael-milette Thanks for pointing that out.
Can you tell me what you tested your mobile view with?
I just checked it by resizing my Chrome browser, but didn't see any undefined errors. I've attached a screenshot of the menu I get after clicking the "About" link from the settings menu
@pjackson28 can you confirm this isn't the intended results?
I tested this page http://wet-boew.github.io/wet-boew/demos/theme-gcwu-fegc/index-eng.html which is just the standard WET 3.1 HTML had the same results as with the test page @michael-milette setup
from wet-boew-php.
@michael-milette I just went back and re-read your post. You'll have to keep or define your own footer menus. I don't have time to add the documentation to the wiki today, but I'll get it in there in the next week.
The locations and titles for the footer menus are defined in the "/dist-php/config/theme-gcwu-fegc/config.php" file.
When you create your own site specific config file you can override the $_SITE['gcwu_trail..."]
variables to point to your own versions of the menus.
I could be wrong, but some of the errors you're receiving because variables like $_PAGE['nosearch']
aren't set may be because the settings on your PHP server are set to strict. So PHP will report everything including warnings as errors.
It would probably be good coding practice for me to explicitly set those variables in one of the configuration files as you pointed out. I'll have to look into it to make sure it doesn't break other things.
from wet-boew-php.
@upsonp Thank you for your comments.
I am not trying to make the submenus work. I am trying to get rid of them. I just want to keep the headings. For example, Under About, you have:
- About the Web Experience Toolkit
- About the Web Standards
I am trying to have the About heading be a link without the other two sub-menu items. See my example at: http://wetdev.tngconsulting.ca/demos-php/theme-gcwu-fegc/bug-footer.php
If I put the sub-menu files back as you suggested, everything works fine. If I look at it in a desktop view (wide screen), everything looks ok. It's just when I go to mobile view without any list below the heading.
The browsers I have tested with include:
- On Windows: IE 8 and IE10, Chrome 28, Firefox 22
- On Android 4.x: Browser, Chrome, Firefox
- On iOS 5: Safari
Note that the "undefined" is not an error message. It appears as part of the link itself. If you view the HTML, it all looks fine to me... there are no errors.
from wet-boew-php.
I've come to realize that this issue is not specific to the PHP Variant and moved the topic to wet-boew/wet-boew#2767 although the solution may involve making changes to PHP code.
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.