PHP
PHP
My web provider writes that I am using an outdated and slow version of PHP on my website, and they recommend that I update PHP, by removing the following line from the .htaccess file on my web space: AddType application/x-httpd-php56 .php.
I'm using CMSimple_XH 1.6.10 with a number of plugins. Is there a risk in doing this?
I'm using CMSimple_XH 1.6.10 with a number of plugins. Is there a risk in doing this?
Re: PHP
Yes unfortunately, the website will probably stop working/start with a fatal error message.
See also the thread here.
You can find upgrade instructions here: To upgrade your website to CMSimple_XH 1.7.0, do the following
This should also work for CMSimple_XH 1.7.6.
Re: PHP
I also would recommend definitely the upgrade the whole website to 1.7.6 and then update also all possible plugins and the actual PHP (at least 7.x.). The procedure is not very complicated and you can find many posts about "how to" here in forum..
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.
Re: PHP
Thank you for your answer. I am now installing CMSimple_XH 1.7.6 and have a few questions. Template fhs-simple-2019: How to replace the XH logo with another logo? And another favicon? When making a bulleted list: How do you get the bullit drawn to stand exactly vertical under the text above (not offset to the left)?
Re: PHP
The simplest way is:
1. Prepare your own images with same dimensions as the originals.
2. Look for the original names in the template.htm and stylesheet.css and replace them with your own names.
3. Save your new images into /templates/fhs-simple-2019/images
4. For creation of your own icons, use e.g. http://www.favicomatic.com
1. Prepare your own images with same dimensions as the originals.
2. Look for the original names in the template.htm and stylesheet.css and replace them with your own names.
3. Save your new images into /templates/fhs-simple-2019/images
4. For creation of your own icons, use e.g. http://www.favicomatic.com
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.
Re: PHP
fhs-simple-2019/stylesheet.css ~Line 850
Code: Select all
ul.listUnordered ul,
ul.xh_search_results ul {
margin: 0 0 0 1em; /* change to margin: 0;*/
list-style: none;
}
Re: PHP
Unfortunately not so simple for me (an amateur).Can't find the original names in template.htm and stylesheet.css.The simplest way is:
2. Look for the original names in the template.htm and stylesheet.css and replace them with your own names.
Re: PHP
These are the icon images (generatd by the online app):
These images are created by the application with the same names, so you only need to replace the files in the favicon folder. Basically you don't need to rename anything. Just replace the images by your new ones. You don't need to edit then anything in the template.
Here are the generated icons images and the logo images stored:
Code: Select all
<link rel="apple-touch-icon" sizes="180x180" href="<?=$pth['folder']['templateimages']?>favicon/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="<?=$pth['folder']['templateimages']?>favicon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="<?=$pth['folder']['templateimages']?>favicon/favicon-16x16.png">
<link rel="manifest" href="<?=$pth['folder']['templateimages']?>favicon/site.webmanifest">
<link rel="mask-icon" href="<?=$pth['folder']['templateimages']?>favicon/safari-pinned-tab.svg" color="#ff6600">
<link rel="shortcut icon" href="<?=$pth['folder']['templateimages']?>favicon/favicon.ico">
Here are the generated icons images and the logo images stored:
You do not have the required permissions to view the files attached to this post.
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.
Re: PHP
Code: Select all
ul.listUnordered ul,
ul.xh_search_results ul {
margin: 0;
list-style: none;
}