Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Page Edit Options
#26
(2016-10-21, 03:33:07)shawn_a Wrote: might be a conlfict with another plugin, i get no syntax errors.

you'd have to see what the source is at that error line.

I have this :
Uncaught SyntaxError: missing ) after argument list

at the line :
$("#editpages").html('<tr><th>Pages ***code***code**** clone Page" /></a></td></tr>');

All the line is marked, so i don't know where the ")" is missing...
Reply
#27
Hi, problem fixed with the help of Asemion,

Plugin works fine in english, Not with FR lang !

So Asemion gave me the fix below :

Open file for editing:
plugins/DM_PE_pageedit.php
and find this line of code (~ line 40):
$menu.=DM_PE_getPages('','',0);
after this line insert new line and paste this code:
$menu=str_replace("'", "\'", $menu);


Works in French BUT NOT with i18n navigation apparently...

So, N00dles, can you help about this compatibility with i18n ?
Reply
#28
sounds like it is not escaping quotes
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply




Users browsing this thread: 2 Guest(s)