Marshall
Ecommerce Template Guru
USA
1916 Posts |
Posted - 11/09/2021 : 20:18:50
PHP v 7.4.4 The dynamic page title and meta description is not working for the categories using the category number for the explicitid and catid. I thought this problem was fix.
Marshall CENLYT Productions - ms designs Affordable Web Design Custom Ecommerce Designs Responsive Websites Cenlyt.com
|
Vince
Administrator
42874 Posts |
Posted - 11/10/2021 : 03:02:30
|
Marshall
Ecommerce Template Guru
USA
1916 Posts |
Posted - 11/10/2021 : 04:05:05
Will do Vince.
Marshall CENLYT Productions - ms designs Affordable Web Design Custom Ecommerce Designs Responsive Websites Cenlyt.com
|
Marshall
Ecommerce Template Guru
USA
1916 Posts |
Posted - 11/10/2021 : 13:26:31
I updated the inc/metainfo.php file which showed a date of 10/23/2021 in the download and the problem was not resolved. This is an example of the typical <head> content for static category pages. <?php include "vsadmin/db_conn_open.php" ?> <?php include "vsadmin/inc/languagefile.php" ?> <?php include "vsadmin/includes.php" ?> <?php include "vsadmin/inc/incfunctions.php" ?> <?php include "vsadmin/inc/metainfo.php" ?> <?php $explicitid=129; $catid=129; ?> <title><?php print $pagetitle;?><?php print $TitleTag; ?></title> <meta name="description" content="<?php print str_replace('"','"',$sectiondescription)?><?php print $DescTag; ?>">
MarshallCENLYT Productions - ms designs Affordable Web Design Custom Ecommerce Designs Responsive Websites Cenlyt.com
|
Vince
Administrator
42874 Posts |
Posted - 11/10/2021 : 14:43:20
Hi Marshall That could be the problem then as you need the $explicitid before the metainfo include line. You don't need to set the $catid separately either with the new changes. <?php include "vsadmin/db_conn_open.php" ?> <?php include "vsadmin/inc/languagefile.php" ?> <?php include "vsadmin/includes.php" ?> <?php include "vsadmin/inc/incfunctions.php" ?> <?php $explicitid=129; ?> <?php include "vsadmin/inc/metainfo.php" ?> <title><?php print $pagetitle;?><?php print $TitleTag; ?></title> <meta name="description" content="<?php print str_replace('"','"',$sectiondescription)?><?php print $DescTag; ?>"> Vince Click Here for Shopping Cart SoftwareClick Here to sign up for our newsletterClick Here for the latest updater
|
Marshall
Ecommerce Template Guru
USA
1916 Posts |
Posted - 11/10/2021 : 16:27:23
Changed it to this <?php include "vsadmin/db_conn_open.php" ?> <?php include "vsadmin/inc/languagefile.php" ?> <?php include "vsadmin/includes.php" ?> <?php include "vsadmin/inc/incfunctions.php" ?> <?php $explicitid=129; $catid=129; ?> <?php include "vsadmin/inc/metainfo.php" ?>
<title><?php print $pagetitle;?><?php print $TitleTag; ?></title> <meta name="description" content="<?php print str_replace('"','"',$sectiondescription)?><?php print $DescTag; ?>">
and still no joy. MarshallCENLYT Productions - ms designs Affordable Web Design Custom Ecommerce Designs Responsive Websites Cenlyt.com
|
Vince
Administrator
42874 Posts |
Posted - 11/11/2021 : 01:00:13
|
Marshall
Ecommerce Template Guru
USA
1916 Posts |
Posted - 11/11/2021 : 04:26:46
Will do.
Marshall CENLYT Productions - ms designs Affordable Web Design Custom Ecommerce Designs Responsive Websites Cenlyt.com
|
Vince
Administrator
42874 Posts |
Posted - 11/11/2021 : 11:35:08
Hi Marshall I'm afraid there was another problem in the metainfo.php file which I've corrected now. Can you have a look and make sure everything is ok and I'll get the updater updated. Also, the way to set static pages will be to set one of these parameters... $catid=1; // For a static category page or category of products $manid=1; // For a static manufacturer page $prodid='xxx'; // For a static product detail page. The 'xxx' will be the product ID and not the product name One of the features of an earlier updater was to allow you to set an $explicitid for static pages that would work for both the meta tags and the products / category pages also but that isn't possible. What I've done though is make it so if you set a static $catid, $manid or $prodid before the metainfo include file then the $explicitid is also set so you don't have to set two parameters. Vince Click Here for Shopping Cart SoftwareClick Here to sign up for our newsletterClick Here for the latest updater
|
Marshall
Ecommerce Template Guru
USA
1916 Posts |
Posted - 11/11/2021 : 11:48:05
Cannot check as the site is down.
Marshall CENLYT Productions - ms designs Affordable Web Design Custom Ecommerce Designs Responsive Websites Cenlyt.com
|
Vince
Administrator
42874 Posts |
Posted - 11/11/2021 : 12:50:52
|
Marshall
Ecommerce Template Guru
USA
1916 Posts |
Posted - 11/11/2021 : 19:09:59
Have no idea what caused the problem but it has been resolved, or it resolved itself. The dynamic titles are working fine now so thank you very much for that. Your work is much appreciated.
Marshall CENLYT Productions - ms designs Affordable Web Design Custom Ecommerce Designs Responsive Websites Cenlyt.com
Edited by - Marshall on 11/11/2021 19:10:22
|
|
|