GithubHelp home page GithubHelp logo

Warning image missing for Archived Content message if /wet-boew/dist folder is not in root of website or has a different name about wet-boew-php HOT 6 CLOSED

wet-boew avatar wet-boew commented on July 19, 2024
Warning image missing for Archived Content message if /wet-boew/dist folder is not in root of website or has a different name

from wet-boew-php.

Comments (6)

michael-milette avatar michael-milette commented on July 19, 2024

Hi @upsonp ,

I put in a pull request to address this issue. See:
https://github.com/michael-milette/wet-boew-php/pull/1

Best regards,

 Michael

from wet-boew-php.

michael-milette avatar michael-milette commented on July 19, 2024

Not sure what went wrong but I seem to have sent myself the pull request instead of to the original source. See:

michael-milette@0d3e7d3

from wet-boew-php.

upsonp avatar upsonp commented on July 19, 2024

Thanks Michael,

I have to parse out that complex line and put the HTML code in the head-nav.php file and put the text and links as separate variables in the proper config files; looking at it now I was obviously being lazy. I'll try to find some time to clean it up when I get home tonight. I just put a clean install of Ubuntu on my home PC so I have to get my LAMP stack set back up before I can do any development.

Thanks for doing the pull request and fixing the issue.

from wet-boew-php.

michael-milette avatar michael-milette commented on July 19, 2024

@upsonp,

One more small change. Can you insert the following line (around line 18) to the /dist-php/config/config.php file please?

$_SITE['archived_'.$_LANG_] = (!isset($_SITE['archived_'.$_LANG_]) ? 0 : $_SITE['archived_'.$_LANG_]);

It will prevent the demo from displaying a warning about the variable not being set.

Thanks.

Michael

from wet-boew-php.

upsonp avatar upsonp commented on July 19, 2024

Ok, I've expanded the archived banner section in the config-[lang].php files, moved the HTML code to the head-nav.php file, created an archive demo page and added the code to the top of the config.php file.

$_SITE['archived_'.$_LANG_] = (!isset($_SITE['archived_'.$_LANG_]) ? 0 : $_SITE['archived_'.$_LANG_]);

Busy night.

from wet-boew-php.

michael-milette avatar michael-milette commented on July 19, 2024

Wow! busy indeed. Thank you for your quick response @upsonp .

Best regards,

Michael

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.