Posts by: creisi

Posts: 48
Post: 11090
Topic: Site Page Extra Bug with search

I had a problem that in search results from Site Page Extra the links not pointed to the page but to the data index. Changed the file SitePageExtraSearch.php line 19 from

$search->FindString($content, $title, $file);

to

$search->FindString($content, $file, $title);

This seems to solve the problem. Can someone confirm this?

9 months ago
Post: 11089
Topic: Bug with search with Typesetter 5.1?

I had a problem that in search results from Site Page Extra the links not pointed to the page but to the data index. Changed the file SitePageExtraSearch.php line 19 from

$search->FindString($content, $title, $file);

to

$search->FindString($content, $file, $title);

And this seems to solve the problem. Can someone confirm this?

9 months ago
Post: 11059
Topic: Cannot copy or delete sections, too many sections?
The fix works perfectly :-) Thank you very much juergen.
9 months ago
Post: 11044
Topic: Cannot copy or delete sections, too many sections?
Great, thank you juergen. Will test it on week end.
10 months ago
Post: 11037
Topic: Cannot copy or delete sections, too many sections?
Tested on two different servers now with different php versions (7.0 and 5.5) and different browsers. Same problem everywhere.
10 months ago
Post: 11024
Topic: Cannot copy or delete sections, too many sections?
Thank you juergen :-) Could it be, that it's working on some servers, depending on the settings or php-version, and on others not? But I guess, even if there's no problem on a server, it'll be just a matter of time until the amount is reached when it will become a problem. So - if it helps at all - changing server settings could only be a workaround until TS has changed to POST requests for altering, deleting and saving sections.
11 months ago
Post: 11018
Topic: Cannot copy or delete sections, too many sections?

On a page with many sections, I can't copy or delete sections. No problem on pages with less sections. Debug Info:

Backtrace
Request ?
Line 1
Column 0

Details
message expected expression, got '<'
fileName https://www.example.com/include/thirdparty/js/jquery.js?v=5.1
Line-1 <!DOCTYPE html>
Line-2 <html lang="de">
responseStatus 200
statusText OK
type POST
ajaxdata cmd=save_inline&section=undefined&req_time=1530445785&section_order%5B%5D=0&section_order%5B%5D=1&se

 

11 months ago
Post: 10798
Topic: Upgrading from php 5.6 to 7 ?

Hi hoghoj

I have several Typesetter installations on servers with php7 and never had any problems.

1 year ago
Post: 9618
Topic: Special Contact Form 3.0.2

As far as I can see, there are 3 files in the directory data/_addondata/xxx (xxx stands for the directory name created by typesetter/plugin) which are relevant:

  • config.php
    items array of the form
  • contact_form.php
    php for form
  • template.php
    html code of the form

I am not sure, but I think, it should work to copy those three files.

Edited: 3 years ago
Post: 9588
Topic: problem mobile navigation

Hi Marcel

Try:

<?php
$page->head_js[] = 'http://cdnjs.cloudflare.com/ajax/libs/modernizr/2.6.2/modernizr.min.js.2';
$page->head_js[] = '/www/scripts/jquery.slicknav2.js';
$page->jQueryCode .= '$("#menu2").slicknav2();';
?>

Just put it somewhere at the beginning of your template.php, it will then be added to the correct sections. You don't need to wrap your code into <script>.

You also don't need the to wrap your code into $(document).ready( function(), because everything added with $page->jQueryCode will only be executed after the document.ready event fired.

3 years 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