Posts by: juergen

Posts: 1462
Post: 11115
Topic: Gallery Sorting Order of recent added: on top page

In the official CMS distributions, JavaScripts are sort of minified, therefore it's very hard to find the right functions and modify them.

With Typesetter 5.0.x  –  to make new images appear at the beginning of a gallery, edit /include/js/inline_edit/gallery_edit_202.js and change the following two lines.

line 111: change …

a && (a = $("<img>").attr("src", a), a = $("<a>").append(a), b = $('<div class="expand_child"><span><a data-cmd="gp_gallery_caption" class="fa fa-pencil"></a><a data-cmd="gp_gallery_rm" class="fa fa-remove"></a></span></div>').data("original", b).append(a).appendTo(l), f.hasClass("gp_to_remove") && b.addClass("gp_to_remove"));

… to …

a && (a = $("<img>").attr("src", a), a = $("<a>").append(a), b = $('<div class="expand_child"><span><a data-cmd="gp_gallery_caption" class="fa fa-pencil"></a><a data-cmd="gp_gallery_rm" class="fa fa-remove"></a></span></div>').data("original", b).append(a).prependTo(l), f.hasClass("gp_to_remove") && b.addClass("gp_to_remove"));

and

line 118: change …

f ? f.replaceWith(a) : h.append(a);

… to …

f ? f.replaceWith(a) : h.prepend(a);

 

Note: Line numbers and variable names may be different in different versions of Typesetter, even between 5.0, 5.0.2 and 5.0.3 due to the minification of the scripts. Hope you'll find them anyway.

2 years ago
Post: 11113
Topic: Page/ section cannot be edited directly

No, unfortunately this info doesn't help further. It only tells me what I already know from your former post.

The error occurs because of a <a class=".ExtraEditLink" [...]> element that lacks a href attribute – something that shouldn't occur normally. So we need to check where it comes from. Thats's what my code snippet for the JS console was about.

A CMS login will certainly shorten the process. Please send it to jk(at)grafikrausz(dot)at
 

2 years ago
Post: 11111
Topic: Persistent log in using Chrome...

I'm using default TAN HEADER DARK GREEN as my theme

Which version of Typesetter (or gpEasy) are you using? 'TAN HEADER' was a default theme 7 years ago and can't even be downloaded anymore.

2 years ago
Post: 11110
Topic: Please help for installation
Typesetter doesn't create a /conf, /inc or /bin directory but a /data directory. Only for the latter PHP needs write permissions. Maybe this link helps.
2 years ago
Post: 11106
Topic: Installtion problem

The check routine is here

/include/install/install.php, line 577-602

… certainly for some reason.

2 years ago
Post: 11104
Topic: Is this project still alive?

My point of view:

If you're going to use gmail to send your contact form data, why not just use google forms then (which would also make it clear that a 3rd party is reading along)?

Why should we obey a private company that is overdoing security to evade support costs and bind users to their apps and services?

If the contact email is not sent with the sender address, the sender's email should be attached to the mail text as information in the future.

Well, it is in the reply-to field where it belongs.

2 years ago
Post: 11102
Topic: Page/ section cannot be edited directly

Hmmm.

Would you mind to paste this jQuery code

$('.ExtraEditLink').each(function(){ console.log( '#' + $(this).attr('id') + ': title = "' + ($(this).attr('title') || 'NO TITLE') + '", href = "' + ($(this).attr('href') || 'DOES NOT EXIST!') + '"' ); });

into the JavaScript Console's command prompt and check the results?
There must be at least one line saying sth. like…

#ExtraEditLinkX : title = "Some Title", href = "DOES NOT EXIST"

 

edit: you must be logged in for it

Edited: 2 years ago
Post: 11100
Topic: Page/ section cannot be edited directly

Are you using any plugins?

Maybe "File Include Source Link"? If so, please uninstall it - it's obsolete and might be the cause.

I can't imgine any other reason at the moment but we'll certainly track it down.

2 years ago
Post: 11098
Topic: Page/ section cannot be edited directly

Do you get any JavaScript errors when trying to edit such a section? (IE11 press F12 and activate the 'Console' tab)

Will copied sections then remain editable or do you always need to create a new copy?

Does it happen to all or only certain section types?

2 years ago
Post: 11095
Topic: Dropotron

From where do You get the 2 main-menu?

The 2nd one from init.js, which aparrently works as expected, also in Firefox. If it doesn't work in Firefox at your side, there must be sth. fundamentally flawed with your setup.

edit: For the menu behavior: Seems to work but I don't know how it's exactly supposed to work.

Edited: 2 years ago

News

elFinder 2.1.50 in Upcoming Release
12/28/2019

A new release for Typesetter is in the works with a lot of improvements including the ... Read More

Typesetter 5.1
8/12/2017

Typesetter 5.1 is now available for download. 5.1 includes bug fixes, UI/UX improvements, ... Read More

More News

HH-Support

Company located in T├│rshavn, Faroe Islands. * Webpage Design * Consultant & Provider of a wide range of programs for visually impaired and dyslextics.

Find out more about our Provider Spotlight

Log In

  Register