Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Add a new field in the catagories admin system


Mazer

Recommended Posts

Posted

Hello all,

 

We have a V2.2 RC2 with Header Tags SEO & SEO URLs 5. On the categories page there is a place to insert meta information, the problem is that the section Header Tags Category Title applies to both the meta infotmation and the page header (<h1>) I would like to add in a field to the admin page where we can enter unique information for them seperately. I am finding it hard to locate where the form is and the query that inserts it into the db and where the info is printed out.

 

Any help would be great! Thanks in advance.

Posted

I have managed to add the new field in the database and admin system that allows me to so what I want with SEO URLs 5.

 

Now I need help with the includes/header_tags.php & includes/fuctions/header_tags.php on how to output the new field in the $header_tags_array() but only on the categories page.

 

Ideally my output (bottom of includes/header_tags.php) should be:

 

if($header_tags_array['meta']){
 echo ' <title>' . $header_tags_array['meta'] . '</title>' . "\n";
}else{
 echo ' <title>' . $header_tags_array['title'] . '</title>' . "\n";
}

 

Does anyone have any hints on how to modify these two files to include my newly added field in the output array.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...