Search found 12767 matches

by cmb
Tue Oct 16, 2018 10:37 am
Forum: Addons and Plugins
Topic: Plugin initiation
Replies: 2
Views: 52

Re: Plugin initiation

I'm afraid your in the wrong forum. This forum is about the Web content management system CMSimple_XH.
by cmb
Tue Oct 16, 2018 10:03 am
Forum: Bugs
Topic: Search function adds code to urls
Replies: 6
Views: 221

Re: Search function adds code to urls

Well, I agree that something like searchhi.js[1] (basically walk the DOM, and handle all text nodes[2]) is the way to move forward for XH 1.8 or maybe 2.0. For XH 1.7.3, we may consider the quick fix to replace this line with: $patterns[] = '/' . preg_quote($word, '/') . '(?![^<]*[">])/isuU'; This i...
by cmb
Tue Oct 16, 2018 9:04 am
Forum: Addons and Plugins
Topic: Simplesolutions.dk plugins updated to CMSimple XH 1.7
Replies: 23
Views: 2053

Re: Simplesolutions.dk plugins updated to CMSimple XH 1.7

I'm not sure it can bo solved in the easy way, as comments uses ajax which again requires an absolute path to your domain. It seems to me the generally simplest way to solve such issues is to avoid stand-alone PHP scripts; i.e. don't post to add-comments.php, but rather to "$sn?add_comment" or so, ...
by cmb
Fri Oct 12, 2018 2:50 pm
Forum: Templates
Topic: New: Template „fhs-left-right“
Replies: 52
Views: 7974

Re: New: Template „fhs-left-right“

Prinzipiell sind solche Attribute aber erlaubt - dumm nur, dass es mittlerweile eben das HTML-Element <canvas> gleichen Namens gibt. Ich denke, es wird in keinem Fall irgendwelche Probleme geben. Wenn du das mit dem data-Attribut (was eben auch nur eine Namensänderung darstellt) gelöst hast, dann i...
by cmb
Mon Oct 08, 2018 9:19 pm
Forum: Bugs
Topic: Search function adds code to urls
Replies: 6
Views: 221

Re: Search function adds code to urls

Adding html tags and css classes inside html tags is still a bug. Yes, it is. I was referring to `title="566 - 50x60 cm<br />"`, which I believe to have been invalid HTML 4, but is apparently valid HTML5. I used javascript to highlight search results in advanced search plugin and it worked fine wit...
by cmb
Mon Oct 08, 2018 2:33 pm
Forum: Bugs
Topic: Search function adds code to urls
Replies: 6
Views: 221

Re: Search function adds code to urls

cmb wrote:
Mon Oct 08, 2018 2:26 pm
This looks like invalid HTML, […]
Apparently, this is allowed. :(
by cmb
Mon Oct 08, 2018 2:26 pm
Forum: Bugs
Topic: Search function adds code to urls
Replies: 6
Views: 221

Re: Search function adds code to urls

<a href="userfiles/images/billedudlaan/k47_emil_nielsen/wtrmrk/2.jpg" rel="prettyPhoto[imgalbum0]" title="566 - 50x60 cm<br />"><img src="userfiles/images/billedudlaan/k47_emil_nielsen/thumb/imgalbum_2.jpg" class="thumb" alt="" title="" width="135" height="113"></a> This looks like invalid HTML, si...
by cmb
Sat Oct 06, 2018 3:56 pm
Forum: Open Development
Topic: Highlight plugin calls
Replies: 147
Views: 4969

Re: Highlight plugin calls

frase wrote:
Sat Oct 06, 2018 2:11 pm
(Jetzt habe ich auch begriffen, dass <span> eigentlich immer passt. Gut so!)
Ja, allerdings eben nur, wenn das <span> Element temporär während des Editierens eingefügt wird.
by cmb
Sat Oct 06, 2018 2:02 pm
Forum: Open Development
Topic: Highlight plugin calls
Replies: 147
Views: 4969

Re: Highlight plugin calls

Nö. Das ist nicht die letzte besprochene Version. Macht nix. Bevor es offiziell wird, wird's schon stimmen. Dann am besten PRs oder wenigstens Issues einreichen. Vorläufige Diskussion hier im Forum ist ja gut und sinnvoll, aber da geht eben doch schnell was vergessen. manu, auf dem Weg in die Ferie...
by cmb
Sat Oct 06, 2018 1:02 pm
Forum: Open Development
Topic: Highlight plugin calls
Replies: 147
Views: 4969

Re: Highlight plugin calls

frase wrote:
Sat Oct 06, 2018 10:16 am
manu wrote:
Sat Oct 06, 2018 8:47 am
Passt doch!
in meinem plugin.min.js ~Zeile 43
Habe leider etwas den Überblick verloren, welche denn jetzt die aktuellste Plugin-Version und wo sie zu finden ist. :(
Das sollte https://github.com/manu37/tinymce4/tree ... plugincall sein.