Giter Club home page Giter Club logo

Comments (7)

Moc avatar Moc commented on May 27, 2024

Debug mode is for debugging (ie. solving bugs), not for general usage.

In what kind of scenarios do you want to display customized titles & messages?

from wrapper.

Jimmi08 avatar Jimmi08 commented on May 27, 2024

https://www.e107sk.com/documentation/

it doesn't display title because weird theme behaviour, it is not intention... I will fix it sometimes.

from wrapper.

Moc avatar Moc commented on May 27, 2024

Thanks for the link but can you describe the scenarios in which you would want to display custom titles (other than already defined in the wrapper itself) and custom messages when for example?

from wrapper.

Jimmi08 avatar Jimmi08 commented on May 27, 2024

This is for error URLs so no titles from wrapper itself can be used (wrapper is not existing, but url is)

from wrapper.

Moc avatar Moc commented on May 27, 2024

So in case the wrapper ID does not exist (or isn't entered) you want to display no caption? Do I understand that correctly?

from wrapper.

Jimmi08 avatar Jimmi08 commented on May 27, 2024

Not fully :)
This is wrapper url, everything is ok
/documentation/2/e107-developer-guide
this work too
/documentation/2/
but
this was returning ugly error and it is not error in fact, it is plugin frontpage.
/documentation/

That error shouldn't be there. It is not error, that page exists just without content.
I added content just to use existing link.

from wrapper.

Moc avatar Moc commented on May 27, 2024

I've made some changes:

  • In case of errors, the caption now is LAN_ERROR (instead of LAN_WRAPPER_NAME)
  • In case no id is entered (yourwebsite.com/wrapper/ or alias), the error LAN_WRAPPER_ERR1 is shown.

Now I think I understand your goal: add a custom "homepage" for the wrapper plugin (in your case a landing page for all documentation). I'll think about if I'll add it to the plugin. I'll get back to you on this.

from wrapper.

Related Issues (16)

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.