Posts by: juergen

Posts: 1384
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?

1 year 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: 1 year ago
Post: 11093
Topic: Dropotron

Probably because of duplicate IDs

<nav id="main-menu" class="wrap" role="navigation" data-smartmenus-id="153616066521893">
        <div class="gpArea_FullMenu GPAREA">
               <ul class="sm sm-blue" id="main-menu" role="group" aria-hidden="true" aria-labelledby="sm-153616066521893-1" aria-expanded="false">
                        <li class="li_0" id="link0">
                                <a>…</a>
                         </li>
                         …
               </ul>
        </div>
</nav>

 

Edited: 1 year ago
Post: 11091
Topic: Dropotron

Assuming there is a <ul class="sm">...</ul> element in the DOM,

$('ul.sm').attr('id', 'main-menu');

will make it <ul class="sm" id="main-menu">...</ul>

If this already does'nt work, there must be
A) some other JS error preventing the execution
or
B) init.js is executed too early, depending how it's loaded.
 

$().ready(function () {
  $(".mainmenu li").each(function(n) {
    $(this).attr("id", "link" + n);
  });
});

won't work this way. Try …

$(function(){
  $("#main-menu li").each(function(n) {
    $(this).attr("id", "link" + n);
  });
});


But I'd go this route:

$(function(){

  $('ul.sm').first()
    .attr('id', 'main-menu')
      .find('li').each(function(n){
        $(this).attr("id", "link" + n);
      });

});

This will add a main-menu ID only to the first <u class="sm"> and link0, link1, link2, ... IDs to the all its <li> elements, even ones in nested child <ul>s.

I fear that's not what you're after. So what exactly do you need the IDs for?

1 year ago
Post: 11086
Topic: Dropotron in ExtremeSurfing Template

Try this one ExtremeSurfing_1_1.zip

I changed a few things:

  • Dropotron version 1.43 included (1.0 is not compatible with jQuery 1.11 anymore)
  • Loading of jquery.dropotron.min.js moved from settings.php to template.php
  • Menu output changed from 'TopTwoMenu' to 'FullMenu' (to see 3rd menu levels+)

But I did not make it responsive.

With Typesetter 5.1.1-b1 it works in all major desktop browsers including IE11 (not checked on mobiles).

Edited: 1 year ago
Post: 11082
Topic: secure typsetter with fail2ban

Typesetter itself will ban a IP user for (I believe) 10 minutes after 5 failed login attempts.

edit: See /include/tool/Session.php, line 74

Edited: 1 year ago
Post: 11080
Topic: Dropotron in ExtremeSurfing Template

but why has it functioned with the above initiation ?

and why can i not put it into a init.js ?

I don't know, need to test it myself.

Edited: 1 year ago
Post: 11078
Topic: Dropotron in ExtremeSurfing Template

If the JS errors are gone, it must be the initialization. Playing with the options might help, maybe openerClass: "haschildren"

'menu_top' is the default class name for the navigation <ul> unless redefined via $GP_MENU_CLASSES

1 year ago
Post: 11076
Topic: Dropotron in ExtremeSurfing Template
$page->head_js[] = rawurldecode($page->theme_path).'/jquery.dropotron-1.0.js';
$page->jQueryCode .= '$(".menu_top").dropotron({alignment:"left"});';

should do the trick

Edited: 1 year ago
Post: 11072
Topic: Contact form Firefox issue

I'd consider it unlikely that the web browser itself is the cause.
A bowser extension as well as some internet security software could prevent the form submission – especially if the host doesn't use https, it would make sense.

In any case we need more information in order to clarify the issue.

Edited: 1 year ago

News

Typesetter 5.1
8/12/2017

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

Over 8 Times Faster Than Wordpress
5/3/2016

We've known for a long time that Typesetter is fast. It's something we take pride ... Read More

More News

creisi productions

Dienstleistungen von creisi productions, Luzern (Schweiz): * Konzeption, Planung und Erstellung Ihres Internet-Auftritts * Betreuung und Aktualisierung/Pflege Ihrer Website * ...

Find out more about our Provider Spotlight

Log In

  Register