Not logged in. · Lost password · Register
Page:  1  2  next 

All posts by florious (20)

topic: topbarsyntax Plugin - PHP 7.3 Compatibility  in the forum: General Help and Support Plugins
Avatar
florious #1
User title: Floarea
Member since Jun 2014 · 20 posts
Group memberships: Members
Show profile · Link to this post
Subject: topbarsyntax Plugin - PHP 7.3 Compatibility
I know, the world is divided between php7 and non php7 users. My most stable system I use php 5.3.5, but some plugins begin to not work anymore.

Maybe it could be a good idea to insert in DW the download button in two sections: ante and post php7. I bet that in 2029 30%from users like me will still use php 5.6, or even lower..

Please update topbarsyntax Plugin for PHP 7.3, changing at least the following lines in Syntax.php

function handle($match, $state, $pos, &$handler
in
function handle($match, $state, $pos, Doku_Handler $handler

si

function render($mode, &$renderer, $data
in
function render($mode, Doku_Renderer $renderer, $data
topic: Actions based upon Dependencies in Bureaucracy?  in the forum: General Help and Support Plugins
Avatar
florious #2
User title: Floarea
Member since Jun 2014 · 20 posts
Group memberships: Members
Show profile · Link to this post
In reply to post ID 60965
I am interested to find a solution too. Did you found some workaround finally?
topic: Table formatting  in the forum: General Help and Support Plugins
Avatar
florious #3
User title: Floarea
Member since Jun 2014 · 20 posts
Group memberships: Members
Show profile · Link to this post
In reply to post ID 65373
Thanks for you solution.

It is working like promised :) but:
Exporting to dw2pdf using, everything is ok.

Exporting to dw2pdf using cssperpage, will ignore the css. How can we  solve this? (i use to copy wrap.css to dw2pdf, style.local.css file for pdf export/pprint)
topic: Using a color variable in embedded html  in the forum: General Help and Support Templates and Layout
Avatar
florious #4
User title: Floarea
Member since Jun 2014 · 20 posts
Group memberships: Members
Show profile · Link to this post
In reply to post ID 48033
I was not able to force  the color to fill the cell all the way down in a Table using wrap. The following solution is working quite ok:

.wrap_table-nocell-border-red table.inline {
    width: auto;
    border: 2px solid #FED1CD;
    border-collapse: collapse;
    background-color: #FFF5F5;
}
/*HEADER*/
.wrap_table-nocell-border-red table.inline th {
    border: 0px solid #FFFFFF;
    background-color: #FED1CD;
}
/*Corpul tabelului*/
.wrap_table-nocell-border-red table.inline td {
    border: 0px solid #FFFFFF;
}
/* pt. umplere culoare celula  */
.wrap_table-nocell-border-red table p, td {
    padding:0%;
    margin:0px;
}

.wrap_cell-blue {background-color: #d7ecff; border:0.2px solid #d7ecff; }
.wrap_cell-green {background-color: #A3FD63; border:0.2px solid #A3FD63; }
.wrap_cell-red {background-color: #FF577E; border:0.2px solid #FF577E; }
.wrap_cell-orange {background-color: #FF961F; border:0.2px solid #FF961F; }

From What I know so far, Cellbg is a plugin that solve complete and perfect the table cell color.
topic: Table formatting  in the forum: General Help and Support Plugins
Avatar
florious #5
User title: Floarea
Member since Jun 2014 · 20 posts
Group memberships: Members
Show profile · Link to this post
In reply to post ID 47277
Today, still the only reliable solution I found is cellbg plugin.
topic: Bureaucracy and optional fields in templates  in the forum: General Help and Support Plugins
Avatar
florious #6
User title: Floarea
Member since Jun 2014 · 20 posts
Group memberships: Members
Show profile · Link to this post
In reply to post ID 49620
<form>
action template myns:mytemplate otherns:

fieldset "New Page" /^[^\/:]+$/
textbox  "Pagename" @


fieldset  "Upload a picture, if you want."
yesno     "Click to upload the first picure"

fieldset  "" "Click to upload the first picure"
file "Upload a file" !

hidden "acoldesch" "={{"
hidden "acolinch" "=}}"
hidden "foldedin" "=++Poza|"
hidden "foldedout" "=++"


fieldset  "Upload a second picture if you want."
yesno     "Click to upload the second picure"

fieldset  "" "Click to upload the second picure"
file "Upload second file" !

hidden "acoldesch" "={{"
hidden "acolinch" "=}}"
hidden "foldedin" "=++Poza|"
hidden "foldedout" "=++"

....

submit  "SAve"
</form>
....

Corresponding Template:
===== @@Pagename@@ =====
@@foldedin| @@@@acoldesch| @@@@Upload a file| @@@@acolinch| @@@@foldedout| @@
@@foldedin| @@@@acoldesch| @@@@Upload second file| @@@@acolinch| @@@@foldedout| @@

---------

The same thing you can do via pagemode plugin
topic: Pagemod destination depending on form input  in the forum: General Help and Support Plugins
Avatar
florious #7
User title: Floarea
Member since Jun 2014 · 20 posts
Group memberships: Members
Show profile · Link to this post
In reply to post ID 54211
Bravo SFITCS  and frommi2

It work your solution on DW Release 2016-06-26a "Elenor of Tsort"

Update of your file via Extension Manager Does not work, it create a separate file, but I copied it manually, not a big deal.

Thanks for the Hack :)
This post was edited on 2019-04-11, 23:31 by florious.
topic: Creating a list of Employees using Struct Plugin.  in the forum: General Help and Support Plugins
Avatar
florious #8
User title: Floarea
Member since Jun 2014 · 20 posts
Group memberships: Members
Show profile · Link to this post
In reply to post ID 58586
Yes, would be nice some of the big boys of DW to help us :) No success here too...
topic: Configuration Manager - plugins in alphabetical order (Sort the plugins in Alphabetical order in Configuration Manager)  in the forum: General Help and Support Installation and Configuration
Avatar
florious #9
User title: Floarea
Member since Jun 2014 · 20 posts
Group memberships: Members
Show profile · Link to this post
Subject: Configuration Manager - plugins in alphabetical order
How to sort the plugins in Alphabetical order in Configuration Manager?

I have an old Dokuwiki where the in Configuration Manager the plugins are nice ordered in alphabetical order.
How can I achieve this in the latest dowuwiki?
topic: Moving media? (any way to move media with a page when a page is moved to a new namespace?)  in the forum: General Help and Support Features and Functionality
Avatar
florious #10
User title: Floarea
Member since Jun 2014 · 20 posts
Group memberships: Members
Show profile · Link to this post
In reply to post ID 5179
Subject: Yes, you can rename and move pages in Dokuwiki moving the media accordingly.
Yes, you can rename and move pages in Dokuwiki moving the media accordingly without to loose the media path connection.

Just install Move Plugin

https://www.dokuwiki.org/plugin:move
topic: Back in 2014, a broken internal link  was marked with the "red" colour. I miss it so much! (Can anybody bring it back for me please?  :-D)  in the forum: General Help and Support Installation and Configuration
Avatar
florious #11
User title: Floarea
Member since Jun 2014 · 20 posts
Group memberships: Members
Show profile · Link to this post
In reply to post ID 54880
Thank you for your Replay. Unfortunately, in a clean, latest stable and untouched DW, if I insert the following image:
{{:wiki:dokuwiki-noimage-image.png?200|}}

The result will be a perfectly white page, no error, nothing!
Not nice.

If I don't see the error right away, the image will be never seen again until it will be accidentally discovered and corrected.
How to bring the old behavior where I was able to see a red, yellow, green whatever color or warning telling me there is a broken  internal link (or external) ? Thank you.
topic: Back in 2014, a broken internal link  was marked with the "red" colour. I miss it so much! (Can anybody bring it back for me please?  :-D)  in the forum: General Help and Support Installation and Configuration
Avatar
florious #12
User title: Floarea
Member since Jun 2014 · 20 posts
Group memberships: Members
Show profile · Link to this post
Subject: Back in 2014, a broken internal link  was marked with the "red" colour. I miss it so much!
Upgrading the DW I was not aware that some of my picture in the working page actually disappeared because it was written down with some mistakes, or outside DW backdoor introduced and the path incorrect written or the media objects was manually changed in server, etc.  The uploaded media does not show in page anymore in the red telling me that I have there some mistakes, actually a broken link. Instead, DW hide all my mistakes and all media broken links.

Please help me to set the latest DW version to show in the page if media link is broken, mostly internal media and not to hide it, it does not help me right away that (there is no point to discuss here about any plugin).
Thanks for your nice work here around  :-)
topic: Nice Urls: Apache rewrite. Pages OK but links are broken. (Somehow, the DW pictures, attachments, etc do not show up, they are broken. If I paste the native original DW http adress, links are OK.)  in the forum: General Help and Support Installation and Configuration
Avatar
florious #13
User title: Floarea
Member since Jun 2014 · 20 posts
Group memberships: Members
Show profile · Link to this post
In reply to post ID 51506
Thanks for the idea, but, no. This is the DW link pointing to nowhere:
http://www.berniceya.com/dkinfo/en/lib/exe/fetch…?media=…

What does this shows us? I think that the RewriteRoule is not working all the way.
Because if we try the link in a mixed DW -  nice way, the link is not broken anymore:

http://berniceya.com/dkinfo/lib/exe/fetch.…?media=pictog…
(from:http://berniceya.com/dkinfo/en:start) - But this link is a kind of hybrid link, the first part rewritten and the second part not. Or at least so seems this it to me.

Side by side:
1
http://www.berniceya.com/dkinfo/en/lib/exe/fetch.php?media=pictograms:social:15-social:twitter.png
2
http://www.berniceya.com/dkinfo/lib/exe/fetch.php?media=pictograms:social:15-social:twitter.png
1 - Not working and not nice either
2 - Working - but the link written hybrid by hand.

Now we can see that if we remouve en the link works, this means that RewriteRoule cannot look on the root of media, cannot escape out of en folder (witch is on root)

Do we need a RewriteRule to force the browser to look outside the en folder? Another ideas?
topic: Nice Urls: Apache rewrite. Pages OK but links are broken. (Somehow, the DW pictures, attachments, etc do not show up, they are broken. If I paste the native original DW http adress, links are OK.)  in the forum: General Help and Support Installation and Configuration
Avatar
florious #14
User title: Floarea
Member since Jun 2014 · 20 posts
Group memberships: Members
Show profile · Link to this post
In reply to post ID 51484
I tried of course RewriteBase /dkinfo. There is something else I cannot see.

But the story is somehow complicated because this is about a series of social pictograms of this tipe:
<html><div><a href="https://twitter.com/berniiceya"><img title="Twitter" src="lib/exe/fetch.php?cache=&media=pictograms:social:elegantmediaicons:twitter.png" alt="Twitter" width="35" height="35" /></a></html>

In fact this html link is on the sidebarfooter.html of the sidebar (bootrap 3 template): http://berniceya.com/dkinfo/
As far I tested, the internal link are functional, but this link is not (a kind of clone link between html and DW)
topic: Nice Urls: Apache rewrite. Pages OK but links are broken. (Somehow, the DW pictures, attachments, etc do not show up, they are broken. If I paste the native original DW http adress, links are OK.)  in the forum: General Help and Support Installation and Configuration
Avatar
florious #15
User title: Floarea
Member since Jun 2014 · 20 posts
Group memberships: Members
Show profile · Link to this post
Subject: Nice Urls: Apache rewrite. Pages OK but links are broken.
Somehow, the DW pictures, attachments, etc do not show up, are broken. If I paste the native original DW adress, links are OK.

1.
DW - Admin - Advanced::
userewrite - nice URLs - Htacces
Use slash as namespace separator in URLs - enabled

2.
public_html/dkinfo/.htaccess:
## Uncomment these rules if you want to have nice URLs using
## $conf['userewrite'] = 1 - not needed for rewrite mode 2
RewriteEngine on
#
RewriteRule ^_media/(.*)              lib/exe/fetch.php?media=$1  [QSA,L]
RewriteRule ^_detail/(.*)             lib/exe/detail.php?media=$1  [QSA,L]
RewriteRule ^_export/([^/]+)/(.*)     doku.php?do=export_$1&id=$2  [QSA,L]
RewriteRule ^$                        doku.php  [L]
RewriteCond %{REQUEST_FILENAME}       !-f
RewriteCond %{REQUEST_FILENAME}       !-d
RewriteRule (.*)                      doku.php?id=$1  [QSA,L]
RewriteRule ^index.php$               doku.php
#
## Not all installations will require the following line.  If you do,
## change "/dokuwiki" to the path to your dokuwiki directory relative
## to your document root.
#RewriteBase /dkinfo

Where is my mistake here?
Close Smaller – Larger + Reply to this post:
Special characters:
Page:  1  2  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-07-23, 01:05:25 (UTC +02:00)