If this is your first visit, check our documentation. To post, register or login.
Forums / All Other Contributions/Addons / manufacturers meta-tags(keywords and title and description)

manufacturers meta-tags(keywords and title and description)

Started by danilovig on 5 Jun 2009, 4:04 PM · Views: 15,212

Results 1 to 20 of 55
21 Jul 2009, 3:19 AM
#2
jlcaudio avatar

jlcaudio

New Zenner

Join Date:
Jul 2009
Posts:
53
Plugin Contributions:
0

Re: manufacturers meta-tags(keywords and title and description)

ok i did that addon and when i go to add my manufactures i seen this can someone tell me what i did wrong please because i can not add anymore to it

1146 Table 'jlcaudio_IC_20090717_220127.zen_meta_tags_manufacturers_description' doesn't exist
in:
[select metatags_keywords from zen_meta_tags_manufacturers_description where manufacturers_id = '2' and language_id = '1']
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.

21 Jul 2009, 9:00 AM
#3
danilovig avatar

danilovig

New Zenner

Join Date:
Nov 2007
Posts:
65
Plugin Contributions:
0

Re: manufacturers meta-tags(keywords and title and description)

Install the last version ...

/includes/extra_datafiles/meta_tags_manufacturers.php

define('TABLE_MANUFACTURERS_META', DB_PREFIX . 'meta_tags_manufacturers_description');

jlcaudio:

ok i did that addon and when i go to add my manufactures i seen this can someone tell me what i did wrong please because i can not add anymore to it

1146 Table 'jlcaudio_IC_20090717_220127.zen_meta_tags_manufacturers_description' doesn't exist
in:
[select metatags_keywords from zen_meta_tags_manufacturers_description where manufacturers_id = '2' and language_id = '1']
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.

21 Jul 2009, 5:52 PM
#4
jlcaudio avatar

jlcaudio

New Zenner

Join Date:
Jul 2009
Posts:
53
Plugin Contributions:
0

Re: manufacturers meta-tags(keywords and title and description)

yes i just look i did install the newer version and i checked the html in that file and it does say that could it be something else did i install it wrong or something

<?php /** * @package Pages * @copyright Copyright 2003-2006 Zen Cart Development Team * @copyright Portions Copyright 2003 osCommerce * @license <http://www.zen-cart.com/license/2_0.txt> GNU Public License V2.0 */ ///Bof --->Julian cortes anton Meta-tags define('TABLE_MANUFACTURERS_META', DB_PREFIX . 'meta_tags_manufacturers_description'); ///EOF-->Julian cortes anton
23 Jul 2009, 4:56 PM
#5
danilovig avatar

danilovig

New Zenner

Join Date:
Nov 2007
Posts:
65
Plugin Contributions:
0

Re: manufacturers meta-tags(keywords and title and description)

Execute Install parche sql

CREATE TABLE IF NOT EXISTS zen_meta_tags_manufacturers_description (
manufacturers_id int(11) NOT NULL,
language_id int(11) NOT NULL default '1',
metatags_title varchar(255) NOT NULL default '',
metatags_keywords text,
metatags_description text,
PRIMARY KEY (manufacturers_id,language_id)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

you've DB_PREFIX="zen"

jlcaudio:

yes i just look i did install the newer version and i checked the html in that file and it does say that could it be something else did i install it wrong or something

<?php /** * @package Pages * @copyright Copyright 2003-2006 Zen Cart Development Team * @copyright Portions Copyright 2003 osCommerce * @license <http://www.zen-cart.com/license/2_0.txt> GNU Public License V2.0 */ ///Bof --->Julian cortes anton Meta-tags define('TABLE_MANUFACTURERS_META', DB_PREFIX . 'meta_tags_manufacturers_description'); ///EOF-->Julian cortes anton
24 Jul 2009, 3:00 AM
#6
jlcaudio avatar

jlcaudio

New Zenner

Join Date:
Jul 2009
Posts:
53
Plugin Contributions:
0

Re: manufacturers meta-tags(keywords and title and description)

are you saying put that code in that you put and if so where

24 Jul 2009, 4:23 PM
#7
danilovig avatar

danilovig

New Zenner

Join Date:
Nov 2007
Posts:
65
Plugin Contributions:
0

Re: manufacturers meta-tags(keywords and title and description)

tools-->Install sql patches..

CREATE TABLE IF NOT EXISTS zen_meta_tags_manufacturers_description (
manufacturers_id int(11) NOT NULL,
language_id int(11) NOT NULL default '1',
metatags_title varchar(255) NOT NULL default '',
metatags_keywords text,
metatags_description text,
PRIMARY KEY (manufacturers_id,language_id)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

jlcaudio:

are you saying put that code in that you put and if so where

25 Jul 2009, 10:27 PM
#8
jlcaudio avatar

jlcaudio

New Zenner

Join Date:
Jul 2009
Posts:
53
Plugin Contributions:
0

Re: manufacturers meta-tags(keywords and title and description)

it came up already installed

25 Jul 2009, 10:28 PM
#9
jlcaudio avatar

jlcaudio

New Zenner

Join Date:
Jul 2009
Posts:
53
Plugin Contributions:
0

Re: manufacturers meta-tags(keywords and title and description)

Failed: 1
ERROR: Cannot create table zen_meta_tags_manufacturers_description because it already exists
Note: 1 statements ignored. See "upgrade_exceptions" table for additional details.

25 Jul 2009, 10:30 PM
#10
jlcaudio avatar

jlcaudio

New Zenner

Join Date:
Jul 2009
Posts:
53
Plugin Contributions:
0

Re: manufacturers meta-tags(keywords and title and description)

i got it i had to upload it thanks for your help can you go to my other post please and see if you can tell me what is wrong

3 Aug 2009, 5:38 PM
#11
danilovig avatar

danilovig

New Zenner

Join Date:
Nov 2007
Posts:
65
Plugin Contributions:
0

Re: manufacturers meta-tags(keywords and title and description)

you upload this file??

/admin/includes/extra_datafiles/meta_tags_manufacturers.php

define('TABLE_MANUFACTURERS_META', DB_PREFIX . 'meta_tags_manufacturers_description');

jlcaudio:

i got it i had to upload it thanks for your help can you go to my other post please and see if you can tell me what is wrong

3 Aug 2009, 5:46 PM
#12
danilovig avatar

danilovig

New Zenner

Join Date:
Nov 2007
Posts:
65
Plugin Contributions:
0

Re: manufacturers meta-tags(keywords and title and description)

i don't undestant,,,you bbdd is jlcaudio_IC_20090717_220127, and you install the query ,,,and before it says "ERROR: Cannot create table zen_meta_tags_manufacturers_description because it already exists", and it says not find the table "zen_meta_tags_manufacturers_description""

jlcaudio:

Failed: 1
ERROR: Cannot create table zen_meta_tags_manufacturers_description because it already exists
Note: 1 statements ignored. See "upgrade_exceptions" table for additional details.

7 Mar 2011, 2:02 AM
#13
netgirlz avatar

netgirlz

New Zenner

Join Date:
Aug 2009
Posts:
34
Plugin Contributions:
0

Re: manufacturers meta-tags(keywords and title and description)

there is an error in

\pro\includes\languages\english\extra_definitions\manufacturers_metatags.php

you have "TEXT_INFO_HEADING_EDIT_CATEGORY_META_TAGS" and "TEXT_INFO_HEADING_EDIT_CATEGORY_META_TAGS"

where category is mentioned it should be manufacturer

when it should be

//Metatags
  define('TEXT_INFO_HEADING_EDIT_CATEGORY_META_TAGS', 'Manufacturers Meta Tags Definitions');
  define('TEXT_INFO_HEADING_EDIT_MANUFACTURER_META_TAGS', 'Manufacturers Meta Tags Definitions');
  define('TEXT_INFO_HEADING_EDIT_CATEGORY_META_TAGS', 'Define Custom Meta Tags');
  define('TEXT_EDIT_MANUFACTURER_META_TAGS_INTRO', 'Define Custom Meta Tags');
  define('TEXT_EDIT_MANUFACTURER_META_TAGS_TITLE', 'Title:');
  define('TEXT_EDIT_MANUFACTURER_META_TAGS_KEYWORDS', 'Keywords:');
  define('TEXT_EDIT_MANUFACTURERS_META_TAGS_DESCRIPTION', 'Description:');

the spanish defines are ok

also the where the meta title goes then the field is only 4 characters wide, this should be much wider than thisn and/or auto adjust to the size of the currently define meta title

24 Dec 2011, 5:17 PM
#14
andy_dean avatar

andy_dean

New Zenner

Join Date:
Feb 2011
Posts:
9
Plugin Contributions:
0

Re: manufacturers meta-tags(keywords and title and description)

Hi!

Is this module compatible with 1.3.9h?

I've been trying to get it working for a day or two now.

When i go to the 'Manufacturers' page in the admin panel i get:

Parse error: syntax error, unexpected '}' in ....manufacturers.php on line 254

:blink:

..and if i remove the allegedly spurious '{' (which appears to be in the same place as the core file) i get pages of this...

fields['manufacturers_id'] , (int)$_SESSION['languages_id']) or zen_get_manufacturer_metatags_manu_description($manufacturers->fields['manufacturers_id'] , (int)$_SESSION['languages_id'])) {?>

:frusty:

1 Feb 2013, 2:38 PM
#15
shopmaker avatar

shopmaker

New Zenner

Join Date:
Nov 2007
Posts:
5
Plugin Contributions:
0

Re: manufacturers meta-tags(keywords and title and description)

Hi Andy. Did you ever get this sorted? I have exact same issue with 1.3.9h. Thanks. Paul.

31 Jan 2015, 7:34 PM
#16
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,140
Plugin Contributions:
56

Re: manufacturers meta-tags(keywords and title and description)

I've submitted v2.0.0 to the plugins' area for review. Following are the highlights:

  • Correct usage of PHP short tags.
  • Include database setup in an admin-level auto-installer — no more SQL installation script.
  • Delete meta-tag records if a manufacturer is deleted.
  • Update core-file and template-override basis to Zen Cart v1.5.4.
  • Standardize admin and template-override folder names for the distribution.
  • Move meta_tags.php into a template-override folder.
20 Feb 2015, 1:05 PM
#18
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,140
Plugin Contributions:
56

Re: manufacturers meta-tags(keywords and title and description)

I've just submitted v2.1.0 to the plugins:

  • Remove use of the HTML editor, since the keywords and description meta-tags are stripped of HTML content, anyway!
23 Feb 2015, 4:21 PM
#19
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,140
Plugin Contributions:
56

Re: manufacturers meta-tags(keywords and title and description)

v2.1.0 is now available for download.

7 Mar 2015, 12:42 PM
#20
toyseller avatar

toyseller

Zen Follower

Join Date:
Jun 2008
Location:
UK
Posts:
209
Plugin Contributions:
0

Re: manufacturers meta-tags(keywords and title and description)

using .... v.2.1.0
(zen cart v.1.5.4)

I kept copying and re-copying up this module thinking Id made a mistake ....

But when looking at this forum I could see that

                  includes\languages\english\extra_definitions\manufacturers_metatags.php

                  TEXT_INFO_HEADING_EDIT_CATEGORY_META_TAGS

should be TEXT_INFO_HEADING_EDIT_MANUFACTURER_META_TAGS

<?php
// -----
// Part of the Manufacturers Meta Tags plugin for Zen Cart.
//
define('TEXT_INFO_HEADING_EDIT_CATEGORY_META_TAGS', 'Manufacturers Meta Tags Definitions');
define('TEXT_EDIT_MANUFACTURER_META_TAGS_INTRO', 'Define Custom Meta Tags');
define('TEXT_EDIT_MANUFACTURER_META_TAGS_TITLE', 'Title:');
define('TEXT_EDIT_MANUFACTURER_META_TAGS_KEYWORDS', 'Keywords:');
define('TEXT_EDIT_MANUFACTURERS_META_TAGS_DESCRIPTION', 'Description:');