Coder Social home page Coder Social logo

How to exclude pages ? about plugin-blog HOT 5 CLOSED

thibaud avatar thibaud commented on July 17, 2024
How to exclude pages ?

from plugin-blog.

Comments (5)

chimeric avatar chimeric commented on July 17, 2024

Don't use delimiters: .*?start should work

from plugin-blog.

thibaud avatar thibaud commented on July 17, 2024

$conf['plugin']['blog']['excluded_pages'] = '.*?start';

Warning: preg_match() [function.preg-match]: No ending delimiter '.' found in /var/www/dokuwiki/lib/plugins/blog/helper.php on line 73

from plugin-blog.

chimeric avatar chimeric commented on July 17, 2024

Hmmm, just looked at the code again. It want's a delimiter :-(. try !.*?start! - if that doesn't work I'll reopen the bug and look into it.

from plugin-blog.

thibaud avatar thibaud commented on July 17, 2024

That's work, but only at these condition : you have to replace "continue" by "break" in helper/php, line 73...

from plugin-blog.

thibaud avatar thibaud commented on July 17, 2024

OK, it seems that it's better to keep "continue" if I don't want that some pages don't show... Now, all seems works perfect. But for how many times ? There is a problem of rights or cache or indexer that I don't understand very well...

from plugin-blog.

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.