Posts by: juergen

Posts: 1384
Post: 11263
Topic: Word Wrap

"Simple Blog", "Simple Event Calendar", and "Simple Button"

None of them messes with CKEditor configuration, so I'm a bit clueless where the   come from.
Do they already exist when you switch to "Source" mode in CKEditor right after you input some text (don't think so).

So here's some guesswork:

  • Do you have HTMLtidy installed on your server and enabled it in Typesetter Configuration? If so try to disable it.
  • Maybe also try different browser (FF 60 was still shortly after their "Quantum" overhaul and I remember it had some minor bugs then, but nothing you encounter)
9 months ago
Post: 11260
Topic: Word Wrap

CKEditor has replaced EVERY blank space in the text with   . 

That's rather strange. While CKEditor replaces multiple blanks with   entities, I never encountered single blank replacement with Firefox (Firefox will not even replace Alt+160 inputs with   entities, which would be desirable). Chrome/Blink based browsers do that sometimes when pasting text from word processors, but I never encountered it with typed regular blanks.

This would appear to be the source of the problem.

It certainly is.

How do I fix it?

It depends. If all blanks will always get replaced upon saving, we first need to find the source of this behavior. What plugins do you have installed?

As soon as this is fixed, I'd do a search/replace of " " => " " in all files in /data/_pages/, /data/_extra/ and /data/_addondata/ (the latter for SimpleBlog posts) and the respective subdirs. Notepad++ and many other code editors can do that.

 

Edited: 9 months ago
Post: 11258
Topic: Word Wrap

What you're describing is not a common or known issue with Typesetter. I can only imagine 2 possible causes:

  1. The way you're transfering your content generates (or keeps existing) non-braking spaces between words. Check the HTML source code for   entities and remove them if there are any.
  2. Some rather general CSS rule prevents word-wrapping – namely enforces white-space:nowrap; In this case the guilty rule must be located and neutralized/overruled.

If you have an URL, I'll certainly be able to identify the cause.

edit: A 3rd possibilty could be a strong div.someclass { width:100%; } css rule somewhere.

Edited: 9 months ago
Post: 11256
Topic: Always redirect to https — how to?

Assumimg that your webserver is Apache:

Open the file [Your Typesetter installation directory]/.htaccess

If it already contains a <IfModule mod_rewrite.c> block (most likely the case), add the following 2 lines

  RewriteCond %{SERVER_PORT} 80
  RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [L,R=301]

right after

  RewriteEngine On

 

otherwise add this whole block:

<IfModule mod_rewrite.c>

  RewriteEngine On

  RewriteCond %{SERVER_PORT} 80
  RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [L,R=301]

</IfModule>
Edited: 9 months ago
Post: 11249
Topic: Upgrading from 1.71 to 5+

Everything else works fine.

Glad to hear.

The old theme is a little broken, but I think I can fix it.

If you get JS errors (such as '$ is not defined'), Check for <script> elements in template.php <head> section.

As of Typesetter 5, scripts including jQuery will be loaded at the end of the <body> element. If a script in the head section requires jQuery, it will fail and must be loaded/implemented via Typesetter's PHP methods ($page->head_js[] = [script path];, $page->jQueryCode .= [jQuery code];) See here.

9 months ago
Post: 11247
Topic: Upgrading from 1.71 to 5+

Hmm, 1.7 was quite a while ago.
I'd suggest to make a complete backup of the entire site first.

And then maybe just see what happens if you rename the /include directory to /include_1.7 and copy the one from current ver 5.1 over to the server.
Also do the same with /gpconfig.php
edit: And also /.htaccess
This will upgrade the CMS core.

I agree that it will most likely fail but I'd just give it a go.

 

If it doesn't work, here are all major legacy versions:

gpEasy_1.7.2.zip

gpEasy_2.0.zip

gpEasy_2.3.3.zip

gpEasy_2.4.zip

gpEasy_3.0.5.zip

gpEasy_3.5.zip

gpEasy_3.6.zip

gpEasy_4.3.4.zip

gpEasy_4.4.zip

gpEasy_4.5.zip

Typesetter_4.6.1.zip

Typesetter_5.0.zip

 

and finally the current 5.1.1-beta1 master on GitHub.

Good luck

Edited: 9 months ago
Post: 11245
Topic: OnepageToolkit strange Thing

What can be wrong?

Lots, LOL.

Seriously, OPTK is still a strange thing as such and I always have to tweak it a bit, everytime I use it myself.

Your issue *could* be related to a feature that allows to set a very last (and small) section active without being able to scroll down far enough to make it qualify for that role.

You could try to comment some lines between 253 and 260 in OnePageToolkit.js (see below) and see what happens then:

/*
    var maxScrollTop = Math.max( $(document).height() - window.innerHeight );

    if( ($(window).scrollTop() + (screenHeight - scopeHeight) / 2) >= maxScrollTop ){
      // if the window is scrolled "almost" to the max (we again use the "scope" area), make the last section in scope "active"
      var activeSection = sections.filter(".section-inScope").last();
    }else{
*/
      // otherwise (normal case) we make the first section in scope "active"
      var activeSection = sections.filter(".section-inScope").first();
/*    } */

 

Edited: 10 months ago
Post: 11242
Topic: Does the default index.php or index.html do a re-d

The page looks blank.

Depending on your server configuration, an index.html file in your document root might block index.php to be executed. If there is one, try to rename or remove it.

If the blank page issue persists, it must be sth. different and we need more information (host system, server/version, php version/modules).

 

Does the default index.php or index.html do a re-direct?

index.php will not trigger a redirect normally (but Typesetter CMS can redirect invalid links, if configured to do so)

 

10 months ago
Post: 11218
Topic: unable to upload picture
From the time you start the upload, how long does it last until you get the error.
Will it show immediately or only after some seconds?
10 months ago
Post: 11215
Topic: unable to upload picture
Could it be your disk quota (webspace full)?
10 months 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