Posts by: juergen

Posts: 1431
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: 1 year 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)

1 year 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.

1 year 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: 1 year 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: 1 year 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.

1 year 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: 1 year ago
Post: 11191
Topic: I want to move the Login/Logout element

Maybe I will ask many questions about using this platform.. is it okay? :) 

Sure. Hope I'll be able to help.

Or should I have to learn php a little bit to use the typesetter? 

That depends on what you want to achieve. Using Typesetter plugin hooks is not too complicated, but it's certainly more than a little bit.
So, well … it depends.

1 year ago
Post: 11188
Topic: PHP version 7.2 ???

Does Typesetter support this version, also GPEasy 4.3.4. ?

Yes, both will work.

 

edit: But I won't vouch for all themes and plugins.

 

Edited: 1 year ago
Post: 11187
Topic: I want to move the Login/Logout element

With Bootswatch Scss, open /themes/Bootswatch_Scss/template.php

right after the line include_once($path); insert

$page->jQueryCode .= '
  $("<li>")
    .appendTo("ul.navbar-nav")
    .append($("span.login_link > a"));
  $("span.login_link").remove();
';
1 year 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