Jump to content



Latest News: (loading..)

- - - - -

[Addon} Modular SEO Header Tags


  • Please log in to reply
357 replies to this topic

#341   ianhaney

ianhaney
  • Members
  • 851 posts
  • Real Name:Ian Haney
  • Gender:Male

Posted 09 December 2012 - 03:12 PM

Thank you so much worked perfect, thank you so much for all your help and support

Ian

#342   marcochiana

marcochiana
  • Members
  • 13 posts
  • Real Name:Marco

Posted 28 December 2012 - 08:06 AM

Hello,
thanks fo the add, it work perfectly.
But now I'd like to add MANUFACTURER META DESCRIPTION - INSERT which file i need to try to modify to create this?
I think to start to create a new file beginning from CATEGORY DESCRIPTION INSERT , I need to modify only this or other files?

Thanks
Marco

#343 ONLINE   kymation

kymation

    Believers

  • Community Sponsor
  • 6,692 posts
  • Real Name:Jim Keebaugh
  • Gender:Male
  • Location:Aberdeen WA USA

Posted 28 December 2012 - 07:24 PM

That would be a good start, but you have more work to do. You need to add a field to the manufacturers_info database table to hold the information. You need to add code to the admin manufacturer's page to add the description text. Then of course you need to modify your new module to retrieve this information.

Regards
Jim
My Addons

Banners Box 2.3.x  Support
Categories Accordion Box 2.3.x  Support
Categories Images Box 2.2x  2.3.x  Support
Closest Shipper 2.2x  Support
Document Manager 2.2x  Support
Generic Box 2.3.x  Support
Get 1 Free 2.2x  Support
jQuery Banner Rotator 2.2x  2.3.x  Support
Modular Front Page 2.3.x  Support
Modular SEO Header Tags 2.3.x  Support
MVS 2.2x  Support
PDF Datasheet 2.3.x  Support
Price Updater 2.2x
Products Specifications 2.2x  2.3.x  Development Version  Support  Bugs/Suggestions
Request a Review 2.2x - 2.3.x  Support
Similar Products Box 2.2x
Specials Image Overlay 2.3x Support
Theme Switcher 2.3.x  Support

#344   marcochiana

marcochiana
  • Members
  • 13 posts
  • Real Name:Marco

Posted 05 January 2013 - 02:08 PM

Hello Jim,
I add a field HEAD_TITLE in TABLE_MANUFACTURERS_INFO, I create manufacturers_process.php and manufacturers_insert.php I can insert new manufacturer with title and display in my ecommerce, All works well except for case "Edit" I can't display and change the field head_title, I think the problem is in manufacturers_insert.php
This is the code where i think there's the problem, can you help me? For you is correct or there's something wrong??

Thanks in advance for your help

switch ($action) {
    case 'edit':

if( $head_title_field == true ) {
      $head_title = array();
    for ($i = 0, $n = sizeof($languages); $i < $n; $i++) {
        $languages_id = ( int )$languages[$i]['id'];
  $manufacturers_title_query_raw = "
    select
  head_title
    from
  " . TABLE_MANUFACTURERS_INFO . "
    where
  manufacturers_id = '" . ( int )$cInfo->manufacturers_id . "'
  and languages_id = '" . $languages_id . "'
  ";
  // print 'manufacturers Title Query: ' . $manufacturers_title_query_raw;
  $manufacturers_title_query = tep_db_query( $manufacturers_title_query_raw );
  $manufacturers_title = tep_db_fetch_array( $manufacturers_title_query );

  $head_title[$languages_id] = $manufacturers_title['head_title'];
    }
  }

#345 ONLINE   kymation

kymation

    Believers

  • Community Sponsor
  • 6,692 posts
  • Real Name:Jim Keebaugh
  • Gender:Male
  • Location:Aberdeen WA USA

Posted 05 January 2013 - 05:52 PM

I don't see anything wrong there. Some things to check:

1. Where is $head_title_field set? Is it being set to true?

2. Does the $cInfo array contain the manufacturers_id? What is it being set to?

Regards
Jim
My Addons

Banners Box 2.3.x  Support
Categories Accordion Box 2.3.x  Support
Categories Images Box 2.2x  2.3.x  Support
Closest Shipper 2.2x  Support
Document Manager 2.2x  Support
Generic Box 2.3.x  Support
Get 1 Free 2.2x  Support
jQuery Banner Rotator 2.2x  2.3.x  Support
Modular Front Page 2.3.x  Support
Modular SEO Header Tags 2.3.x  Support
MVS 2.2x  Support
PDF Datasheet 2.3.x  Support
Price Updater 2.2x
Products Specifications 2.2x  2.3.x  Development Version  Support  Bugs/Suggestions
Request a Review 2.2x - 2.3.x  Support
Similar Products Box 2.2x
Specials Image Overlay 2.3x Support
Theme Switcher 2.3.x  Support

#346   marcochiana

marcochiana
  • Members
  • 13 posts
  • Real Name:Marco

Posted 05 January 2013 - 08:07 PM

Thanks for your help Jim,
not $cInfo  but $mInfo

Marco

#347   marcochiana

marcochiana
  • Members
  • 13 posts
  • Real Name:Marco

Posted 06 January 2013 - 02:37 PM

Hello, this is the code of my manufaturers_process.php. I can save the information in NEW manufacturers but I Can't save the information of Head_title in Database, when in Edit manufacturers
Can you help me?? My php is not too good

Thanks in advance

    // Input titles and meta descriptions from the MANUFACTURERS sidebar
switch( $action ) {      
    case 'insert' :
    case 'save' :
  if ($manufacturers_field_exists == true) {
    if (isset ($_POST['manufacturers_id']))
  $manufacturers_id = tep_db_prepare_input($_POST['manufacturers_id']);

    if (isset ($_POST['head_title']) || isset ($_POST['head_description']) || isset ($_POST['head_keywords'])) {
  if ($action == 'insert') {
    $sql_data_array = array (
    'manufacturers_id' => $manufacturers_id,
                'date_added' => 'now()'
   // 'languages_id' => $language_id
          
   );

    tep_db_perform(TABLE_MANUFACTURERS, $sql_data_array);
    $manufacturers_id = tep_db_insert_id();
  }

  $languages = tep_get_languages();
  for ($i = 0, $n = sizeof($languages); $i < $n; $i++) {
    $language_id = ( int ) $languages[$i]['id'];
        
    $sql_data_array = array ();
    if (isset ($_POST['head_title'])) {
               $sql_data_array['head_title'] = tep_db_prepare_input($_POST['head_title'][$language_id]);
    }

    if (isset ($_POST['head_description'])) {
  $sql_data_array['head_description'] = tep_db_prepare_input($_POST['head_description'][$language_id]);
    }

    if (isset ($_POST['head_keywords'])) {
  $sql_data_array['head_keywords'] = tep_db_prepare_input($_POST['head_keywords'][$language_id]);
    }
  
    if ($action == 'insert') {
  $insert_sql_data = array (
    'manufacturers_id' => $manufacturers_id,
    'languages_id' => $language_id  
  );

  $sql_data_array = array_merge($sql_data_array, $insert_sql_data);
  
  tep_db_perform(TABLE_MANUFACTURERS_INFO, $sql_data_array);

    } elseif ($action == 'save') {
tep_db_perform(TABLE_MANUFACTURERS_INFO, $sql_data_array, 'update', "manufacturers_id = '" . (int) $manufacturers_id . "' and languages_id = '" .   $language_id . "'");  //mprocess


}
  } // for ($i=0

  $action = 'save';
    } // if( isset( $_POST
  } // if ($manufacturers_field_exists
  break;

    case 'move' :
  // Nothing to do; the code just renumbers the row
  break;

    case 'delete' :
  // Nothing to do; the row is deleted.
  break;

  } // switch( $action )

#348 ONLINE   kymation

kymation

    Believers

  • Community Sponsor
  • 6,692 posts
  • Real Name:Jim Keebaugh
  • Gender:Male
  • Location:Aberdeen WA USA

Posted 06 January 2013 - 06:55 PM

This is wrong:

 } elseif ($action == 'save') {
tep_db_perform(TABLE_MANUFACTURERS_INFO, $sql_data_array, 'update', "manufacturers_id = '" . (int) $manufacturers_id . "' and languages_id = '" . $language_id . "'"); //mprocess
}

There's a block of code missing that defines $sql_data_array and steps through the languages, not to mention the whole section that updates TABLE_MANUFACTURERS.

You're going to have to debug this yourself. I can't do much by looking at the code here.

Regards
Jim
My Addons

Banners Box 2.3.x  Support
Categories Accordion Box 2.3.x  Support
Categories Images Box 2.2x  2.3.x  Support
Closest Shipper 2.2x  Support
Document Manager 2.2x  Support
Generic Box 2.3.x  Support
Get 1 Free 2.2x  Support
jQuery Banner Rotator 2.2x  2.3.x  Support
Modular Front Page 2.3.x  Support
Modular SEO Header Tags 2.3.x  Support
MVS 2.2x  Support
PDF Datasheet 2.3.x  Support
Price Updater 2.2x
Products Specifications 2.2x  2.3.x  Development Version  Support  Bugs/Suggestions
Request a Review 2.2x - 2.3.x  Support
Similar Products Box 2.2x
Specials Image Overlay 2.3x Support
Theme Switcher 2.3.x  Support

#349 ONLINE   Gergely

Gergely
  • Community Team
  • 531 posts
  • Real Name:Gergely Tóth
  • Gender:Male

Posted 21 January 2013 - 06:30 PM

@kymation

Hi Jim,

as I visit server logs often find apple-touch-icon-precomposed.png and apple-touch-icon.png file not find. These header tags would be nice to get less robot stress for websites.

If somebody would like it could do a very basic header tag module for it.

<LINK REL="apple-touch-icon" HREF="/apple-touch-icon.png" />
<LINK REL="apple-touch-icon-precomposed" HREF="/apple-touch-icon.png" />

By this way our sites wont be apple compatible, but pressing a change. :)

http://blog.karlribas.com/2012/05/how-to-create-apple-touch-icon-for-your.html


Regards
Gergely

Edited by Gergely, 21 January 2013 - 06:31 PM.

Header Footer Content Modules
SCM
v3

and some rewrites :-)

#350 ONLINE   kymation

kymation

    Believers

  • Community Sponsor
  • 6,692 posts
  • Real Name:Jim Keebaugh
  • Gender:Male
  • Location:Aberdeen WA USA

Posted 22 January 2013 - 09:31 PM

Apple sure likes to do things different from everyone else. Yes, a module would be a good idea. A module would be welcome. Feel free to add one to the existing collection on Modular SEO Header Tags or upload your own separate addon.

Regards
Jim
My Addons

Banners Box 2.3.x  Support
Categories Accordion Box 2.3.x  Support
Categories Images Box 2.2x  2.3.x  Support
Closest Shipper 2.2x  Support
Document Manager 2.2x  Support
Generic Box 2.3.x  Support
Get 1 Free 2.2x  Support
jQuery Banner Rotator 2.2x  2.3.x  Support
Modular Front Page 2.3.x  Support
Modular SEO Header Tags 2.3.x  Support
MVS 2.2x  Support
PDF Datasheet 2.3.x  Support
Price Updater 2.2x
Products Specifications 2.2x  2.3.x  Development Version  Support  Bugs/Suggestions
Request a Review 2.2x - 2.3.x  Support
Similar Products Box 2.2x
Specials Image Overlay 2.3x Support
Theme Switcher 2.3.x  Support

#351   Dazza1610

Dazza1610
  • Members
  • 2 posts
  • Real Name:Darren
  • Gender:Male
  • Location:Berkshire

Posted 25 January 2013 - 05:25 PM

Hi  There

I was wondering if there was an optimum configuration for this? I mean as in what should be turned on or off to get teh best results, I understand the Keywords meta tag is pretty pointless as engines no longer use them so this would be turned off, could someone point me in the right direction as to what should be on or off?

Also, is there an optimum sort order? ie in which would be the best order to have the meta tags in?:
for example:
<title>HP B0F44ET#ABU HP DC8300 USDT PC/i5-3470S CPU/500GB/4GB GB) RAM/Microsoft Win 7 Edition 64bit</title>
<meta name="description" content="HP B0F44ET#ABU HP DC8300 USDT PC/i5-3470S CPU/500GB/4GB GB) RAM/Microsoft Win 7 Edition 64bit/>

Thanks for any replies..
Magento Sucks - Oscommerce Rocks.

#352 ONLINE   Gergely

Gergely
  • Community Team
  • 531 posts
  • Real Name:Gergely Tóth
  • Gender:Male

Posted 04 February 2013 - 03:55 PM

Hi all!

I put apple touch icon header tag module into addons. You can download it. My friends tested the view and told some important information to me.

Quote

Application Icon
114x114 (iPhone 4)
57x57 (older iPhones)
72x72 (iPad)

I dont know if 129x129pixel is a real size.

Important info is that safari web browser ask this web icons in i-phones.

Edited by Gergely, 04 February 2013 - 03:57 PM.

Header Footer Content Modules
SCM
v3

and some rewrites :-)

#353   bcwebsitedesigner

bcwebsitedesigner
  • Members
  • 3 posts
  • Real Name:Chris

Posted 20 February 2013 - 05:05 AM

i would like to use this with the define_content module, pulling the content's title into the title meta, has anyone done this yet?

#354 ONLINE   kymation

kymation

    Believers

  • Community Sponsor
  • 6,692 posts
  • Real Name:Jim Keebaugh
  • Gender:Male
  • Location:Aberdeen WA USA

Posted 20 February 2013 - 05:08 AM

You'll have to tell us what define_content module you're talking about.

Regards
Jim
My Addons

Banners Box 2.3.x  Support
Categories Accordion Box 2.3.x  Support
Categories Images Box 2.2x  2.3.x  Support
Closest Shipper 2.2x  Support
Document Manager 2.2x  Support
Generic Box 2.3.x  Support
Get 1 Free 2.2x  Support
jQuery Banner Rotator 2.2x  2.3.x  Support
Modular Front Page 2.3.x  Support
Modular SEO Header Tags 2.3.x  Support
MVS 2.2x  Support
PDF Datasheet 2.3.x  Support
Price Updater 2.2x
Products Specifications 2.2x  2.3.x  Development Version  Support  Bugs/Suggestions
Request a Review 2.2x - 2.3.x  Support
Similar Products Box 2.2x
Specials Image Overlay 2.3x Support
Theme Switcher 2.3.x  Support

#355   Matjaz

Matjaz
  • Members
  • 8 posts
  • Real Name:Matjaz
  • Gender:Male
  • Location:Slovenia

Posted 07 April 2013 - 08:49 AM

I have a problem.
From modules ht_front_description/keywords I made reflective modules for other filename. But in all filenames this way doesn't work. Like in specials, reviews it works, in products_new, products_reviews_info it doesnt. In html code on the page meta marks cant be seen. Whats the catch?

#356 ONLINE   kymation

kymation

    Believers

  • Community Sponsor
  • 6,692 posts
  • Real Name:Jim Keebaugh
  • Gender:Male
  • Location:Aberdeen WA USA

Posted 07 April 2013 - 11:56 PM

I have no idea what you did wrong. Sorry, but this is beyond the level of support that I can provide in this forum.

Regards
Jim
My Addons

Banners Box 2.3.x  Support
Categories Accordion Box 2.3.x  Support
Categories Images Box 2.2x  2.3.x  Support
Closest Shipper 2.2x  Support
Document Manager 2.2x  Support
Generic Box 2.3.x  Support
Get 1 Free 2.2x  Support
jQuery Banner Rotator 2.2x  2.3.x  Support
Modular Front Page 2.3.x  Support
Modular SEO Header Tags 2.3.x  Support
MVS 2.2x  Support
PDF Datasheet 2.3.x  Support
Price Updater 2.2x
Products Specifications 2.2x  2.3.x  Development Version  Support  Bugs/Suggestions
Request a Review 2.2x - 2.3.x  Support
Similar Products Box 2.2x
Specials Image Overlay 2.3x Support
Theme Switcher 2.3.x  Support

#357 ONLINE   supermario11

supermario11
  • Members
  • 1 posts
  • Real Name:mario

Posted Today, 07:00 PM

Dear Jim,

I get errors when i click on a product or category.
http://pecuniahortus.nl/index.php?cPath=1
http://pecuniahortus.nl/product_info.php?products_id=28

They don't show, just the startpage

#358 ONLINE   kymation

kymation

    Believers

  • Community Sponsor
  • 6,692 posts
  • Real Name:Jim Keebaugh
  • Gender:Male
  • Location:Aberdeen WA USA

Posted Today, 07:09 PM

It looks to me like you have several modules installed that are working correctly. Only the Description and Keywords tags are blank. Which modules did you install?

Regards
Jim
My Addons

Banners Box 2.3.x  Support
Categories Accordion Box 2.3.x  Support
Categories Images Box 2.2x  2.3.x  Support
Closest Shipper 2.2x  Support
Document Manager 2.2x  Support
Generic Box 2.3.x  Support
Get 1 Free 2.2x  Support
jQuery Banner Rotator 2.2x  2.3.x  Support
Modular Front Page 2.3.x  Support
Modular SEO Header Tags 2.3.x  Support
MVS 2.2x  Support
PDF Datasheet 2.3.x  Support
Price Updater 2.2x
Products Specifications 2.2x  2.3.x  Development Version  Support  Bugs/Suggestions
Request a Review 2.2x - 2.3.x  Support
Similar Products Box 2.2x
Specials Image Overlay 2.3x Support
Theme Switcher 2.3.x  Support