GithubHelp home page GithubHelp logo

Comments (4)

upsonp avatar upsonp commented on August 20, 2024

@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

image

@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.

upsonp avatar upsonp commented on August 20, 2024

@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.

michael-milette avatar michael-milette commented on August 20, 2024

@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.

michael-milette avatar michael-milette commented on August 20, 2024

@upsonp @pjackson28

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.