Problems with QuickEdit

mandrake88
Newbie
Newbie
Beiträge: 2
Registriert: Mi 9. Jan 2013, 20:19
phpbb.com: mandrake88

Problems with QuickEdit

Beitrag von mandrake88 » Mi 9. Jan 2013, 21:13

Hi!

I'm having problems for make the quickedit work on absolution theme 1.1.1 (https://www.phpbb.com/customise/db/style/absolution/)
The problem is that the theme have a diferent postrow structure, so this instruction can't be done:
Find

Code: Alles auswählen

<div class="postbody">
In-line Find

Code: Alles auswählen

class="postbody"
In-line Add after

Code: Alles auswählen

 id="post{postrow.POST_ID}"
I added this extra div for solve the problem:

Code: Alles auswählen

<!-- BEGIN postrow -->
<div id="post{postrow.POST_ID}"> 
//postrow code
</div>
<!-- END postrow -->
but the result is not that good as u can see

http://i.minus.com/i71tTGS1y2dRj.png

Any idea of how can i workaround this?

Benutzeravatar
Marc
Administrator
Administrator
Beiträge: 619
Registriert: Di 2. Sep 2008, 23:48
phpbb.com: Marc
Wohnort: Munich

Re: Problems with QuickEdit

Beitrag von Marc » Fr 11. Jan 2013, 19:19

Your solution also doesn't make any sense to be honest. You actually don't need that edit in Absolution. However, you'll need to change this line in quickedit_header.html:

Code: Alles auswählen

var quickedit_div = '#post\%d div.content';
To this:

Code: Alles auswählen

var quickedit_div = '#p\%d div.content';
Bild

mandrake88
Newbie
Newbie
Beiträge: 2
Registriert: Mi 9. Jan 2013, 20:19
phpbb.com: mandrake88

Re: Problems with QuickEdit

Beitrag von mandrake88 » Di 15. Jan 2013, 20:34

It's not working, when i click in the quickedit button nothing happens, i tried switching to prosilver and the quickedit works fine, so the mod is installed correctly, the problem is in the style edits. Maybe that edit work for the old version of absolution, the 1.1 version is a whole new style, is completely different