Posts by: juergen

Posts: 1384
Post: 11213
Topic: Yep, Typesetter is really fast

Hi folks -

I just wanted to share the results of some real-life pagespeed tests I ran over a recently made Typesetter based website.

A few caching tweaks and, voila…

Pretty much what can be achieved, I would say.

10 months ago
Post: 11212
Topic: Buttom not visible

Have you added the Gadget to your used layout(s) via Layout Editor?

edit: another reason might be a too low page height (lower than 'Page Scroll Trigger' value in plugin settings)
3rd possibility would be a JS error blocking the script.

Edited: 10 months ago
Post: 11210
Topic: Should this or has this been addressed?

Both CVEs have been disussed. See the issue on GitHub (only recently closed)

10 months ago
Post: 11206
Topic: Migration problems

When you add the following lines to template.php (at the top but after the <?php start tag), it will tell you if the GD library is available, and some detailed info in case it is.

if( \gp\tool::LoggedIn() ){
  $gd_info = is_callable('gd_info')) ? gd_info() : 'unavailable';
  msg('gd_info = ' . pre($gd_info));
}

The message will only show up when you're logged in to Typesetter.
I believe your new host doesn't have GD installed.

Edited: 10 months ago
Post: 11204
Topic: Migration problems

Probably missing PHP GD library.

Or, (unlinkely) too little php memory to process the images.
The latter typically only occurs with little RAM (let's say 24 MB) and large images (> 8 MPixel)

10 months ago
Post: 11201
Topic: Site looks different with https!

Find the line

<link href='http://fonts.googleapis.com/css?family=Dosis:200,400,600' rel='stylesheet' type='text/css' />

in the theme's template.php and change it to ...

<link href='//fonts.googleapis.com/css?family=Dosis:200,400,600' rel='stylesheet' type='text/css' />

FYI: With https the browser refuses to load insecure (non-https) 3rd-party ressources - in this case the Dosis fronts from Google.
Ommitting the protocol in the link href will inherit it from the host.

10 months ago
Post: 11199
Topic: Question about editor

Generally, with Typesetter we have frontend editing almost everywhere.
With blogging it's a bit different because SimpleBlog is a plugin. New posts will be created via the plugin's admin UI - existing posts then can be edited wysiwyg right on the page.

But SimpleBlog is merely what it's name already says - it's quite simplistic. It has by no means all the features Wordpress provides (no pingback, no threaded comments, no special content types inside posts, only categories but no taxonomies, ... to name a few.) Furthermore, only a few themes include styles for SimpleBlog. Most themes need custom blog styling.

You could just give it a go, but I fear Typesetter will not meet the demands of a blog-oriented website.

Edited: 10 months ago
Post: 11197
Topic: Locked folders?

That's because Typesetter will set permissions to folders created via PHP to 755 by default.
FTP user(s) normally will not have write access to these folders.

Depending on your server configuration ...

  • if the FTP user (or your system user, if you have shell access) is in the same group as Apache/PHP, group write permissions (775) will suffice
  • otherwise you will need write permissions for everyone (777)

 

To get write access, I recommend the following steps:
 

1 . edit /gpconfig.php

find the line (it's somewhere around 148)

define('gp_chmod_dir',0755);

and change it to

define('gp_chmod_dir',0775);


2. Log in to Typesetter

go to Admin Menu -> Tools -> Uninstall Prep and click the [ Continue ] button
(don't worry, nothing will be deleted - only file/folder permissions will be set to 777)

Then click the [ Restore ] button.
Typesetter will revert the file permissions, now the ones set in /gpconfig.php
 

3. Check if you may now write to the folders. If not, repeat steps 1. and 2. but using

define('gp_chmod_dir',0777);

 

Edited: 10 months ago
Post: 11195
Topic: I wanna use Postgresql Database! is it possible?

Generally Typesetter will not restrict you in using databases (or any other things you can do with PHP). It's merely a question of implementation.

For simple testing you could add your code directly to template.php. In the end, a plugin using hooks (like Gadget, Special Page, Admin Page or even Section Types) will most likely the better solution.

10 months ago
Post: 11192
Topic: Migration problems

Still looks as if PHP cannot write in the /data directory

Have you tried 777 permissions (to /data and all files and subdirectories)?

 

edit: you can revert gpdebug back to false. The deprecation notices in the message area derive from the Event Calendar plugin - should be adapted to PHP 7+ some time but for now, they're only notices -  not related to the current issues.

Edited: 11 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