Re: Correct syntax for dynamic styles

2014-08-19 Thread Dirk Frederickx
Dave, JSPWiki actually supports both syntaxes, you can freely mix them. The original syntax uses %% to close the style section. However, as things can get unreadable when nesting styles, the /% markup was introduced. (eg %%information .. /%) The latter is preferred as this is a much more

Fwd: Haddock template and bugs

2015-06-23 Thread Dirk Frederickx
Hi David, Would it be possible to refresh digital spider.com.au/testwiki with the latest Haddock template ? It would be really helpful to help testing the template on more browsers platforms. dirk -- Forwarded message -- From: Dirk Frederickx dirk.frederi...@gmail.com Date

Re: Haddock template and bugs

2015-06-26 Thread Dirk Frederickx
Dave, Txs! I'll have a look into those. dirk On Fri, Jun 26, 2015 at 2:07 PM, Dave Koelmeyer dave.koelme...@davekoelmeyer.co.nz wrote: On 23/06/15 08:42, Dirk Frederickx wrote: Dave, all, I just posted a large update of the HADDOCK template. (2.10.2-svn-17) It stabilises the plain

Re: Haddock template and bugs

2015-06-27 Thread Dirk Frederickx
Dave, All seems fine to me w.r.t your setup. From the logs you shared, it is clear the HADDOCK.JS fails during startup. (e.Findpages fails) The result is that all js driven functionality does not get active; you can view the pages; but not use any of the dynamic styles, ajax searches etc.

Re: Haddock template and bugs

2015-06-27 Thread Dirk Frederickx
more testing, and ran into the same issues Dave already mentioned. Let me know if you need more diagnostic info regards, Harry On 27 June 2015 at 10:40, Dirk Frederickx dirk.frederi...@gmail.com wrote: Dave, All seems fine to me w.r.t your setup. From the logs you shared, it is clear

Re: Haddock template and bugs

2015-05-26 Thread Dirk Frederickx
Dave, Yes, whenever HADDOCK gets more stabilised it's a candidate to become the new default. Feedback is much appreciated ! -- plse file your bugs in Jira. Obviously, as the Plain Vanilla skin is today's default, please report any issues as well. The plain editor in HADDOCK is not yet avail.

Re: Haddock editor icons missing?

2015-06-29 Thread Dirk Frederickx
Dave, You are not missing icons; the HADDOCK editor toolbar has been simplified as much as possible. I noticed however that in your toolbar the last but one icon should be a SEARCH icon, in stead of the ℬ . My tests on Firefox render all icons correctly. (FF 38, running of OS X) Can you check

Re: [ANNOUNCE] Dave Koelmeyer as new JSPWiki PMC/Committer

2016-04-06 Thread Dirk Frederickx
HI Dave, Welcome on board ! dirk On Wed, Apr 6, 2016 at 7:32 PM, Harry Metske wrote: > Welcome to the team Dave! > > Kind regards, > Harry > Op 6 apr. 2016 14:51 schreef "Juan Pablo Santos Rodríguez" < > juanpablo.san...@gmail.com>: > > > Hi all, > > > > We're glad to

Re: Blog entry name formats hardcoded to ddMMyy?

2017-01-23 Thread Dirk Frederickx
Hi John, You are right: the weblog-entry-plugin is kind of "half cooked" and can use some rework to remove the hard-coded assumptions it makes. (like the data in the page-name, but also how comments on posts are being handled, etc.) Note that the HADDOCK Template contains logic on several

Re: Writing math formulae in JSPWiki (Math Jax?)

2016-12-17 Thread Dirk Frederickx
Hi Pedro, JSPWiki support for math formulae would indeed be an excellent addition. I did a quick implementation of MathJax on top of the Haddock Template, with support for Tex/LaTeX and AsciiMath. It works great, but you need to be careful when mixing wiki-markup and math markup. Check out

Re: Writing math formulae in JSPWiki (Math Jax?)

2016-12-21 Thread Dirk Frederickx
Pedro, Good to hear it worked :-) Enjoy. Txs, dirk On Wed, Dec 21, 2016 at 11:37 AM, Pedro C. Alvarez wrote: > Hi all, > > > > We tried Haddock template in JSPWiki: > > (https://jspwiki-wiki.apache.org/Wiki.jsp?page=Haddock% > 20Math%20Behavior)[1] > > but we had

Re: How to get My Wiki to look like JSPWiki

2017-12-16 Thread Dirk Frederickx
Jim, Probably something is wrong with your deployment. Apart from jspwiki.templateDir=haddock, you should not change anything else. Check if the "haddock.css" file can be found. (sometimes clearing cookies could be helpful as well) To troubleshoot: In your browser, select "view developer

Re: Can't find jskwiki.properties

2018-05-31 Thread Dirk Frederickx
One major advantage of the user-properties file is that its settings (eg location of your page repository, ...) are retained when deploying a new version of jspwiki war. dirk On Thu, May 31, 2018 at 3:00 PM Paul Uszak wrote: > Are you convinced that this is the typical use case that

Re: Automatically redirect on logout

2018-07-01 Thread Dirk Frederickx
Hello Amit, Please check-out the latest jspwiki commit 2.10.5-git-05 : The haddock editor has now a page restore functionality to recover unsaved page edits. When your session or login timer expires, or your accidentally close a browser tab without saving, etc... your last changes are now

Re: Automatically redirect on logout

2018-07-09 Thread Dirk Frederickx
this version on https://jspwiki-wiki.apache.org > > regards, > Harry > > > On Sun, 1 Jul 2018 at 16:27, Dirk Frederickx > wrote: > > > Hello Amit, > > > > Please check-out the latest jspwiki commit 2.10.5-git-05 : > > > > The haddock editor

Re: Automatically redirect on logout

2018-07-10 Thread Dirk Frederickx
Harry, Txs! Looks much better now :-) dirk On Tue, Jul 10, 2018 at 1:09 PM Harry Metske wrote: > done > > cheers, > Harry > > On Mon, 9 Jul 2018 at 21:25, Dirk Frederickx > wrote: > > > Hi Harry, > > > > I just discovered an error with the "r

Re: Evaluating Haddock for production

2018-04-20 Thread Dirk Frederickx
gt; > On Sun, Apr 15, 2018 at 11:57 PM, Juan Pablo Santos Rodríguez < > > juanpablo.san...@gmail.com> wrote: > > > > > Hi Dirk, > > > > > > didn't knew about themes, looks impressive! > > > > > > wrt, changing the logo, is i

Re: Evaluating Haddock for production

2018-04-20 Thread Dirk Frederickx
n anycase, > no error checking), but more or less that was > the idea. I'll try to get a look at it this weekend, as it seems easy > enough.. > > br, > juan pablo > > > > On Fri, Apr 20, 2018 at 7:30 PM, Dirk Frederickx < > dirk.frederi...@gmail.com> > wrote: >

Re: Evaluating Haddock for production

2018-04-16 Thread Dirk Frederickx
KI-363 (adding a pointer to the latter > article on there right now) > > > thx + br, > juan pablo > > On Sun, Apr 15, 2018 at 9:22 PM, Dirk Frederickx < > dirk.frederi...@gmail.com> > wrote: > > > Hi Dietrich, > > > > Txs for the valuable feedback !

Re: Evaluating Haddock for production

2018-04-15 Thread Dirk Frederickx
Hi Dietrich, Txs for the valuable feedback ! Much appreciated. (1) should the Haddock template replace the existing default template in the long term? >> Probably it will. >> For now we keep both, but only the Haddock template is actively being developed. (2) are there efforts, to port the

Re: Are "hands-off" blocks possible?

2019-04-02 Thread Dirk Frederickx
ee there's CSS to alter the colors. > > > > Thanks a lot! > > > > Out of curiosity: is there any way to achieve what I originally asked? I > > see myself wanting to have this in JSPWiki in some way sooner or later. > > > > Ulf > > > > On Tue, Apr

Re: Editor conflicts

2019-02-15 Thread Dirk Frederickx
Peter, Tx for reporting this bug. The WYSIWYG issue you see is related with a feature added to the PLAIN editor to recover unsaved edited pages. (unsaved content is cached in the browser until the next time you come back) Apparently when switching from PLAIN to WYSIWYG (or back) that cache

Re: Editor conflicts

2019-02-16 Thread Dirk Frederickx
Peter Could you please check 2.11.0-M2-git-09 ; with fixes for the wysiwyg editor dirk On Fri, Feb 15, 2019 at 10:42 AM Dirk Frederickx wrote: > Peter, > > Tx for reporting this bug. > > The WYSIWYG issue you see is related with a feature added to the PLAIN > editor to reco

Re: How to show trail on the topleft

2019-06-10 Thread Dirk Frederickx
Michael, The trail dropdown menu is automatically shown at the top left of the navigation bar when you have at least one item in the recently visited pages stack. So, visit a few pages, and you will see the trail menu appearing. dirk On Sat, Jun 8, 2019 at 2:14 PM Michael Xu <8957...@qq.com>

Re: Login issues after upgrade - mgr.isContainerAuthenticated() has incorrect value

2019-07-04 Thread Dirk Frederickx
n 7/4/2019 5:10 AM, Dirk Frederickx wrote: > > Plz try deploying 2.11.0-M5-git-05 > > > > On Thu, Jul 4, 2019 at 10:28 AM Dirk Frederickx < > dirk.frederi...@gmail.com> > > wrote: > > > >> Jerry, Ulf, > >> > >> I can try to push a quic

Re: Adding meta tags to page headers

2019-07-10 Thread Dirk Frederickx
Ulf, Thanks for using JSPWiki, and giving us good idea to improve it. Try installing 2.11.0-M5-git-06; which has now support for the KEYWORDS meta tag. Just add [{SET keywords=tag1,tag2}] to you page, and you will see the keywords in the INFO dropdown, and also as meta tags in the rendered

Re: Role Protecting Certain Wiki Sections?

2019-07-10 Thread Dirk Frederickx
Hi Jerry, AFAIK you can only protect whole pages in JSPWiki, with a page ACL. EG: [{ALLOW edit Authenticated }] You could put sensitive sections inside an IF plugin which will only render for certain Users or certain user Groups. See https://jspwiki-wiki.apache.org/Wiki.jsp?page=IfPlugin for

Re: Redirecting from one page to another, and displaying alternative page names

2019-07-09 Thread Dirk Frederickx
Ulf, To rename a page, press the "MORE INFO" button. You'll see a RENAME and DELETE button, only if you have the access-rights to do so. Typically you should be logged in to be able to rename a page. Renaming a page also automatically changes the referring links to this page. dirk On

Re: Login issues after upgrade - mgr.isContainerAuthenticated() has incorrect value

2019-07-03 Thread Dirk Frederickx
Jerry, Ulf, Probably the namespace used by org.apache.wiki.auth.authorizer.WebContainerAuthorizer.java is incorrect, as it still points to java.sun.com : private static final String J2EE_SCHEMA_25_NAMESPACE = " http://java.sun.com/xml/ns/javaee;; The web.xml points to

Re: Login issues after upgrade - mgr.isContainerAuthenticated() has incorrect value

2019-07-04 Thread Dirk Frederickx
a.sun.com and the web.xml points > > to the javaee. What change do I make? Should I change the web.xml to > > point to the sun site? I can't really change the > > WebContainerAuthorizer code without doing a full rebuild. I don't > > have a build environment set up. &

Re: Global %%add-css blocks

2019-07-08 Thread Dirk Frederickx
request to http://localhost:8080/JSPWiki/invalid, though , which results in > a 404. > > > On Sat, Jul 6, 2019 at 9:47 PM Dirk Frederickx > wrote: > >> Ulf, >> >> This should work in 2.11.0.M3 >> >> The HTML you show is the html as it is

Re: Adding or Modifying a Change Note

2019-12-10 Thread Dirk Frederickx
Hi, Currently indeed the change-note on a page-edit is an optional field. It is not hard to make it a required field; if you are ready to modify a JSP. Here is how: 1) Open /templates/default/editors/plain.jsp 2) Add a 'required' attribute to the CHANGENOTE input field 3) Add a

Re: Edit preview interferes with JavaScript

2020-06-22 Thread Dirk Frederickx
Hi Ulf, Adding javascript this way to a page will not work. It will show the javascript as text on your page. You may want to check an older plugin ( https://www.ecyrd.com/JSPWiki/wiki/JSPluginScripts) who allows you to do this, but not sure if this would still work. Anyway, editing the page

Re: Edit preview interferes with JavaScript

2020-06-23 Thread Dirk Frederickx
bute. To know more about the “sameSite“ attribute, read > https://developer.mozilla.org/docs/Web/HTTP/Headers/Set-Cookie/SameSite > > Is that on someone's radar already, or should I open a JIRA ticket for it? > > > On Mon, Jun 22, 2020 at 9:59 PM Dirk Frederickx > > wrote:

Re: attachment security policy

2020-12-24 Thread Dirk Frederickx
Hi Gary, Seems like the LeftMenu is not accessible (read/write) in case the user is not authenticated. Maybe it has an ACL which is too restrictive? [{ALLOW }] It should be something like this: [{ALLOW edit Admin}] [{ALLOW view All}] Br, dirk On Thu, Dec 24, 2020 at 9:20 AM Gary

wro4j upgrade

2021-01-03 Thread Dirk Frederickx
Hi Juan, In the latest commit, the wro4j version was bumped from 1.8.0 to 1.10.1. Unfortunately this requires JSPWiki to step-up its minimum JAVA versions to 9. Was this intentional ? dirk

Re: Custom context variable

2021-05-13 Thread Dirk Frederickx
> > >> > > > In that case result is:> > > >> > > > > > http://172.28.3.166:8080/currentwiki/Wiki.jsp?page=https%3A//mlgame.ru%3Fpage%3D%25s> > > > > >> > > > In both the cases I get "currentwiki"

Re: Custom context variable

2021-05-07 Thread Dirk Frederickx
https://mydomain.is to > jspwiki-custom.properties > In Header.jsp link specified: href="" > > In result link is http://172.28.3.166:8080/current/Wiki.jsp?page=Portal > Expected https://mydomain.is > > What am I doing wrong? > > > On 2021/05/05 11:00:01,

Re: Custom context variable

2021-05-13 Thread Dirk Frederickx
tml or simply http://mydomain.is > > This option is very needed for our project. Help me please. > > > On 2021/05/11 20:28:20, Dirk Frederickx wrote: > > Try::> > > jspwiki-custom.properties: jspwiki.interWikiRef.Portal = > https://mydomain.is> > > ?pa

Re: Custom context variable

2021-05-11 Thread Dirk Frederickx
stom.properties: jspwiki.interWikiRef.Portal = > https://mydomain.is > > Header.jsp: href="" > > In result link is: > http://172.28.3.166:8080/currentwiki/Wiki.jsp?page=Portal%3Ahtml > > Expected: http:/mydomain.is/html > > > On 2021/05/07 10:46:26, Dirk

Re: Any way for 2.11x to insert arbitrary page by URL

2021-04-27 Thread Dirk Frederickx
Hi, The %%viewer class currently has hard-code height & width sizes set. Normally you should be able to scroll the content, when it doesn't fit. I quickly checked the page you try to view; but it seems it is blocking the scrolling of its content. *** If you want you can overwrite the default

Re: Custom context variable

2021-05-01 Thread Dirk Frederickx
context separately (like > > > the CopyrightNotice.txt, for example), which will be contain external > > > page link, and use that variable in Header.jsp.> > > > > > > On 2021/04/28 19:10:11, Dirk Frederickx wrote:> > > > Hi,> >> >

Re: haddock %%tabbedSection, %%tab-cyrillic

2021-04-28 Thread Dirk Frederickx
Sure, see https://jspwiki-wiki.apache.org/Wiki.jsp?page=Accordion dirk On Wed, Apr 28, 2021 at 11:35 AM Alex Rydzewski wrote: > Tell me please, does exist new syntax for %%leftAccordion? > > On 2021/04/28 05:47:18, Dirk Frederickx wrote: > > Hello,,> > >

Re: Custom context variable

2021-04-28 Thread Dirk Frederickx
Hi, Can you describe a bit more in detail what you are trying to achieve? dirk On Wed, Apr 28, 2021 at 5:21 PM Alex Rydzewski wrote: > Good day! > > I did read the explanation > https://jspwiki-wiki.apache.org/Wiki.jsp?page=WikiVariable and do not > uderstand, how create custom variable for

Re: Image magnifying glass effect

2021-04-28 Thread Dirk Frederickx
Hi Check out https://jspwiki-wiki.apache.org/Wiki.jsp?page=Image%20Styles. dirk On Wed, Apr 28, 2021 at 8:52 AM Alex Rydzewski wrote: > Kind times! > > Tell me please how to apply magnifying glass effect to an images just > like the haddock picture on that page.: >

Re: haddock %%tabbedSection, %%tab-cyrillic

2021-04-27 Thread Dirk Frederickx
Hello,, Can you try to use the alternate (newer) syntax for TABs ? The old syntax (%%tab-NewOfTab) needs to convert a css-class into a string for the name of the TAB, which apparently doesn't handle cyrillic charsets properly. This is the new syntax. (see

Re: Custom context variable

2021-05-05 Thread Dirk Frederickx
by which need for me so that direct to > another external http site. Each of the jspwiki instance has its own > link. For example. jspwiki.ru must contain link to blablabla.ru, > jspwiki.en contain link to blbl.en, and so on... > > > On 2021/05/01 16:45:43, Dirk Frederickx wrote: > >

Re: Custom context variable

2021-05-05 Thread Dirk Frederickx
to M dirk On Wed, May 5, 2021 at 9:42 AM Alex Rydzewski wrote: > Hello, Dirk! > > Do I can use that variable in template code? > > > On 2021/05/05 06:23:14, Dirk Frederickx wrote: > > Hi Alex> > > > > Tx for the additional information.> >

Re: hiding/displaying list items based on cookie values

2021-09-12 Thread Dirk Frederickx
Hi Gary, Tx for using JSPWiki ! For this use-case you may want to explore the use of %%collapse (for collapsible lists) or %%collapsebox. %%collapse # Book Title 1 ## Spoiler content 1 # Book Title 2 ## Spoiler content 2 /% By default the ordered-list (#) inside a %%collapse style are closed

Re: hiding/displaying list items based on cookie values

2021-09-19 Thread Dirk Frederickx
;Gary > > On 9/12/2021 7:49 AM, Gary Kephart wrote: > > Hmm. A bit more clunky, in that the readers will have to do this on > > every page instead of just one, but yeah, we could do it that way. > > > > Thanks, > > Gary > > > > On

Re: Table plugin and horizontal scrollbar

2021-10-15 Thread Dirk Frederickx
Hi Gary, Try adding this to your page: %%add-css .page-content { overflow: auto; } /% This should make your page scroll horizontally when the content, in this case a table with many columns, doesn't fit. Check following alternative solutions, when you need to show large sets of images:

Re: ordered list - icon size, clickable text?

2021-11-20 Thread Dirk Frederickx
Hi Gary, 1) The size of the clickable icon can be increased by changing the font-size of the .collapse-btn element. %%add-css .collapse-btn { font-size:1.5em;} /% 2) The text itself cannot be made clickable. This is by design, cause the text could itself contain clickable links or images. 3)

Re: Replacing site logo does not work well on all platforms

2021-11-21 Thread Dirk Frederickx
Hi Gary, Seems like an access-right issue when the browser accesses [LeftMenu/logo_sm.png]. Make sure the left-menu is fully read-accessible for all users. dirk On Mon, Nov 22, 2021 at 5:01 AM Gary Kephart wrote: > JSPWiki, > > > I've followed the directions provided on your website to

Re: Dark mode and custom CSS

2021-12-11 Thread Dirk Frederickx
You can do the following: .tab-pane { background-color:var(--background-lighter, #f0f0f0); } The dark-mode style uses variables. If the variable is not defined (light mode), the var(..) false back to #f0f0f0. KR dirk On Sat, Dec 11, 2021 at 1:09 AM Gary Kephart wrote: > I've added this

Re: template / skin still work

2022-04-06 Thread Dirk Frederickx
Hi Juergen, The default jspwiki template is now based on the Haddock Template. It doesn't support skins. Instead it introduces the notion of Themes via the use of %%add-css. Please check https://jspwiki-wiki.apache.org/Wiki.jsp?page=Category.Themes KR dirk On Wed, Apr 6, 2022 at 4:50 PM

Re: template / skin still work

2022-04-09 Thread Dirk Frederickx
So I tried it. > > Greetings, > Juergen > > Am Mi., 6. Apr. 2022 um 23:22 Uhr schrieb Dirk Frederickx > : > > > > Hi Juergen, > > > > The default jspwiki template is now based on the Haddock Template. > > It doesn't support skins. Instead i

Re: Preventing seeing the page source

2023-08-21 Thread Dirk Frederickx
Hi Ulf, In NAV.JSP, go to the section starting with <%-- VIEW RAW PAGE SOURCE --%> Then, put a block around the enclosed block. That way, the menu-item "VIEW PAGE SOURCE" will only show up for AUTHENTICATED users. Grtz, dirk On Mon, Aug 21, 2023 at 10:42 PM Juan Pablo Santos Rodríguez <