Not logged in. · Lost password · Register
Page:  1  2  3 ... 221  222  223  next 

All posts by andi (3337)

topic: The datadir ('pages') at ./data/pages is not found  in the forum: General Help and Support Installation and Configuration
Avatar
andi (Administrator) #1
User title: splitbrain
Member since May 2006 · 3423 posts · Location: Berlin Germany
Group memberships: Administrators, Members
Show profile · Link to this post
Quote by bb88:
get the software running even for people who are not willing to change the Unix permissions.

File permissions are a security measurement that will prevent users and processes to write to locations they shouldn't write to. If they are set to prevent DokuWiki from writing its own files then DokuWiki simply won't run. There is no magic that let's you circumvent those permissions. So either you're willing to learn how to change them or DokuWiki won't work. Or to keep the car analogy, you either learn the rules of the road or you won't be allowed to drive.
Read this if you don't get any useful answers.
Lies dies wenn du keine hilfreichen Antworten bekommst.
topic: Newbie question - having a non-searchable section  in the forum: General Help and Support Installation and Configuration
Avatar
andi (Administrator) #2
User title: splitbrain
Member since May 2006 · 3423 posts · Location: Berlin Germany
Group memberships: Administrators, Members
Show profile · Link to this post
In reply to post ID 66090
The hidepages option should hide them from search and other listings. However if you want to properly secure those pages, you need to use ACLs.
Read this if you don't get any useful answers.
Lies dies wenn du keine hilfreichen Antworten bekommst.
topic: More Plugin Information In Extension Manager (Extension Manager Improvements)  in the forum: General Help and Support Features and Functionality
Avatar
andi (Administrator) #3
User title: splitbrain
Member since May 2006 · 3423 posts · Location: Berlin Germany
Group memberships: Administrators, Members
Show profile · Link to this post
In reply to post ID 66094
I'm closing this topic. The initial question has been answered.

OP if you need help with other tasks, feel free to open a new thread. As a word of advise: I would avoid words like "flaw" or "disgust" or using sarcasm in replies in the future and you will notice that answers are much nicer, too ;-)
Read this if you don't get any useful answers.
Lies dies wenn du keine hilfreichen Antworten bekommst.
topic: Fehlermeldung startSectionEdit: $data "plugin_dokuteaser_start" is NOT an array!  in the forum: Non-English Discussion German discussion
Avatar
andi (Administrator) #4
User title: splitbrain
Member since May 2006 · 3423 posts · Location: Berlin Germany
Group memberships: Administrators, Members
Show profile · Link to this post
In reply to post ID 66069
Quote by DieterH:
1. Deaktivierung von DokuTeaser, da der Name des Plugins in der Fehlermeldung auftaucht.
Deaktivierung führt zu einer zerschossenen Einstiegs-Seite.

  • Du solltest DokuTeaser gar nicht benutzen. Das ist ein für dokuwiki.org intern entwickeltes Plugin.
  • wenn due es deaktivierst, ist vermutlich die Meldung weg
  • logisch ist die startseite "kaputt", du hast ja das dort verwendete Plugin deaktiviert
  • Ein Update des Plugins sollte vermutlich das Problem beheben (Aber siehe erster Punkt)
Read this if you don't get any useful answers.
Lies dies wenn du keine hilfreichen Antworten bekommst.
topic: File permissions in cache  in the forum: General Help and Support General Stuff
Avatar
andi (Administrator) #5
User title: splitbrain
Member since May 2006 · 3423 posts · Location: Berlin Germany
Group memberships: Administrators, Members
Show profile · Link to this post
In reply to post ID 65890
What are your dmode and fmode settings set to? What's the umask your PHP runs under?
Read this if you don't get any useful answers.
Lies dies wenn du keine hilfreichen Antworten bekommst.
topic: Error updating (can't enter admin)  in the forum: General Help and Support Installation and Configuration
Avatar
andi (Administrator) #6
User title: splitbrain
Member since May 2006 · 3423 posts · Location: Berlin Germany
Group memberships: Administrators, Members
Show profile · Link to this post
In reply to post ID 66052
Quote by MrKii:
"Parse error: syntax error, unexpected 'new' (T_NEW) in P:\web\dokuwiki\lib\plugins\plugin\admin.php on line 114".

The plugin manager has been replaced by the extension manager. Delete lib\plugins\plugin\ and also check for other files to delete: https://www.dokuwiki.org/install:unused_files
Read this if you don't get any useful answers.
Lies dies wenn du keine hilfreichen Antworten bekommst.
topic: RSS feed for new Releases and Security alerts  in the forum: General Help and Support General Stuff
Avatar
andi (Administrator) #7
User title: splitbrain
Member since May 2006 · 3423 posts · Location: Berlin Germany
Group memberships: Administrators, Members
Show profile · Link to this post
In reply to post ID 65933
We have a release RSS feed at https://download.dokuwiki.org/archive
Read this if you don't get any useful answers.
Lies dies wenn du keine hilfreichen Antworten bekommst.
topic: Download and install Extension Manager Plugin  in the forum: General Help and Support Plugins
Avatar
andi (Administrator) #8
User title: splitbrain
Member since May 2006 · 3423 posts · Location: Berlin Germany
Group memberships: Administrators, Members
Show profile · Link to this post
In reply to post ID 65917
That plugin is bundled with DokuWiki and does not need to be installed.
Read this if you don't get any useful answers.
Lies dies wenn du keine hilfreichen Antworten bekommst.
topic: Performance and Display Issues (It's making me bonkers . . .)  in the forum: General Help and Support Installation and Configuration
Avatar
andi (Administrator) #9
User title: splitbrain
Member since May 2006 · 3423 posts · Location: Berlin Germany
Group memberships: Administrators, Members
Show profile · Link to this post
In reply to post ID 65914
Yeah, there's definitely something wrong. Can you give us an URL to have a look?
Read this if you don't get any useful answers.
Lies dies wenn du keine hilfreichen Antworten bekommst.
topic: Performance and Display Issues (It's making me bonkers . . .)  in the forum: General Help and Support Installation and Configuration
Avatar
andi (Administrator) #10
User title: splitbrain
Member since May 2006 · 3423 posts · Location: Berlin Germany
Group memberships: Administrators, Members
Show profile · Link to this post
In reply to post ID 65899
What's your hoster? Any messages in your browser's developer console?
Read this if you don't get any useful answers.
Lies dies wenn du keine hilfreichen Antworten bekommst.
topic: default heading color on template (sprintdoc) + plugin (ckgedit)  in the forum: General Help and Support Templates and Layout
Avatar
andi (Administrator) #11
User title: splitbrain
Member since May 2006 · 3423 posts · Location: Berlin Germany
Group memberships: Administrators, Members
Show profile · Link to this post
In reply to post ID 65869
yeah OP should also be able to restyle ckgedit through userstyles. I believe I did so myself in the past.
Read this if you don't get any useful answers.
Lies dies wenn du keine hilfreichen Antworten bekommst.
topic: default heading color on template (sprintdoc) + plugin (ckgedit)  in the forum: General Help and Support Templates and Layout
Avatar
andi (Administrator) #12
User title: splitbrain
Member since May 2006 · 3423 posts · Location: Berlin Germany
Group memberships: Administrators, Members
Show profile · Link to this post
In reply to post ID 65785
Quote by Tin on 2019-04-24, 20:46:
And why does a user-defined  lib/tpl/sprintdoc/conf/userstyle.less file won't work?

Your userstyles do not belong into the template folder. They go directly into the main conf directory. Put it in conf/userstyle.less and it will be applied and can be used to overwrite all styles, plugins and template alike.
Read this if you don't get any useful answers.
Lies dies wenn du keine hilfreichen Antworten bekommst.
topic: SPAM Alerting (current thread)  in the forum: Offtopic Forum Help
Avatar
andi (Administrator) #13
User title: splitbrain
Member since May 2006 · 3423 posts · Location: Berlin Germany
Group memberships: Administrators, Members
Show profile · Link to this post
In reply to post ID 65757
Quote by Michaelsy on 2019-04-22, 22:05:
The user Afflospark https://forum.dokuwiki.org/user/46813 and his posts should be removed. He makes a lot of effort to make a serious impression. But at the end he only repeats answers that others have already given. I suspect, later he will edit his posts and place some spam. We already had such a strategy.

Done. I also noticed a few users today who did not spam, but resurrected old threads with non-substantial posts. I guess they are going for the same tactic.
Read this if you don't get any useful answers.
Lies dies wenn du keine hilfreichen Antworten bekommst.
topic: Failed to set up crypto for secure connection  in the forum: General Help and Support Server Setup
Avatar
andi (Administrator) #14
User title: splitbrain
Member since May 2006 · 3423 posts · Location: Berlin Germany
Group memberships: Administrators, Members
Show profile · Link to this post
Subject: Failed to set up crypto for secure connection
Because some people asked how to solve above error message and I just had this at a customer's machine...

You will need openssl support in your PHP setup and on a somewhat recent OS that should be enough. But you might be forced to work with a system you don't have much influence on. So for me the solution was to provide PHP with a custom certificate storage.

Simply download the most recent cacert.pem from https://curl.haxx.se/docs/caextract.html (put it in your php directory for example) and set up PHP to use it in your php.ini using the cafile setting:

openssl.cafile=C:\php\cacert.pem
Read this if you don't get any useful answers.
Lies dies wenn du keine hilfreichen Antworten bekommst.
topic: templates and the new menu-system  in the forum: General Help and Support Development
Avatar
andi (Administrator) #15
User title: splitbrain
Member since May 2006 · 3423 posts · Location: Berlin Germany
Group memberships: Administrators, Members
Show profile · Link to this post
In reply to post ID 65709
Quote by turnermm:
As far as I can tell, the template author must use the pre-established menu types, and plugin authors must hook into one of these to enable a link or button.

Should use. By using the pre-established menu types, the template author ensures that plugins can easily hook into these menus without known any specifics of that template. Eg. the PDF export does not need to know how the bootstrap3 template integrates the link to export a page. It simply registers a MenuItem for the PageMenu.

Now, a template author could decide to do something fancy. Eg. Instead of having a single PageMenu, the author could decide to iterate over the items in that menu and split it into two sets of items: one set for known actions that should be prominently displayed and another for the rest.

Quote by turnermm:
But there seems to be no way for a template to register a new menu type, independent of site, user, page, or mobile.

They could. A template has it's own namespace. A template author could create a new Menu inheriting from AbstractMenu and put their own set of Items in it. The getItems() method in it would trigger a custom MENU_ITEMS_ASSEMBLY event with a new $view that plugin authors could use to target this specific template (how many plugin authors would do so is another question). This new custom defined Menu can be used by the template author just like any of the four predefined ones.

Quote by turnermm:
If that's implicit here https://github.com/OpenSchulportfolio/dokuwiki-template-po…, then perhaps you could document that in the same way that events and plugins are documented.

What this template does, is modifying the existing menus by basically implementing an action plugin component within the template it self. There is a lot else going on, but the basic gist is this:

  • define your own namespaced class in the template, just to encapsulate everything neatly (Template.php)
  • in that class' constructor register a new handler on the MENU_ITEMS_ASSEMBLY event (Template.php#L33)
  • define your own method handling that event, in this case we empty the menu for anonymous users, but we could also add our own MenuItems here Template.php#L78
  • ensure this new class is instantiated immediately when the template is loaded main.php (the same is in detail.php and mediamanager.php)

The same emchanism can be used to execute template code on nearly any DokuWiki event you want.

Quote by turnermm:
In the old system, it was possible to place a link or set of links anywhere in the template using the TEMPLATE_<name>_DISPLAY hook.

I'm not sure to which event you're referring to here. Do you mean TEMPLATE_PAGETOOLS_DISPLAY et al? That has been replaced by the four menu types. But yes, you can no longer emit arbitrary HTML in those. But doing so was probably bad style before as well.

Hope this clears stuff up a little. The how to trigger actions from Template code might be worth adding to the docs maybe.
Read this if you don't get any useful answers.
Lies dies wenn du keine hilfreichen Antworten bekommst.
Close Smaller – Larger + Reply to this post:
Special characters:
Page:  1  2  3 ... 221  222  223  next 
Special queries
Go to forum
Imprint
This board is powered by the Unclassified NewsBoard software, 20150713-dev, © 2003-2015 by Yves Goergen
Current time: 2019-05-27, 13:35:23 (UTC +02:00)