This is a discussion on Meta Tag Controller - question within the osCMax v1.7 General Mods Discussion forums, part of the osCMax v1.7 Forums category; Hi all, I'm exploring the MS2 MAX package (current) and starting to edit and find out where all the includes ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| Hi all, I'm exploring the MS2 MAX package (current) and starting to edit and find out where all the includes are. One big thing I seem to be missing - where exactly is the meta tag controller? Am I supposed to be editing the meta_tag.php file on it's own? Or is there something I'm missing in the admiin section of the backend? Second question - if the meta controller is just working based off of that meta_tag.php file - has anyone sucessfully removed it and replaced it with a more dynamic mod that would be selected via the admin? Most of my work is heavy code/inc in the past - I'm trying to keep this admin part simple so that if someone else needed to use it - they could. grin. Thanks in advance. |
|
#2
| |||||
| |||||
| Actually, what you suggest is LESS dynamic than the current meta tags mod. The current mod 100% dynamically generates the tags based on the page content. You can manually edit the meta_tags.php file for each and every different page in your site to add whatever you like or modify the tags. It is actually really simple. Here is a small guide: in meta_tags.php, the code you are concerned with is : Quote:
Quote:
That will allow you to add your own specific keywords. Next, to add your own custom text, you can add it to this section: Quote:
This will add keywords and custom text sitewide. To add customization to single pages, scroll down the meta_tags.php file and edit the individual page settings. For example: Quote:
custom text here on the default index page and all pages that use the default index. Simply add the custom text in whichever case you want to add to. You can place the custom text in any of the defined variables like this: Quote:
__________________ Michael Sasek osCMax Developer
|
|
#3
| |||
| |||
| Thanks for the detailed response - I hadn't edited that page too much yet, and now I have more of a map. I thought that the page had a web based editor included in the admin - that's where I stopped before I edited anything (I kept looking for it and searching the code for it). Thanks! |
|
#4
| |||
| |||
| I'm editing the meta_tags_php file and I'm a bit confused. I now have the default index the way I want it, now I'm trying to get the products display the way I want it. It's a ying/yang...lol Products were working pretty well before the base edits, adding add'l keywords and modifying the title etc. Now all the product info is pushed to the end of the lines and is not the first item as before I began this editing process. So I'm trying to get them back to that point and then improve them. I seem to have a good understand the dynamic tags and their role, but possiblly I'm not editing the right area for the product display, as no matter what changes I make they are not being reflected when I view the source code. The area that I am modifying is the "Content_index_products" I'm trying to simply tags when the products are displayed to merely display the category, product description, and price and then list my custom keywords only. Any englightenment would be helpful. Thanks Sorry Ignore the post and mark it closed... sometimes starting over from scratch is the thing to do. I have it perfect now. |
|
#5
| |||
| |||
| Could the rest of us be enlightened? Is it possible to edit for each product? |
|
#6
| ||||
| ||||
|
__________________ Michael Sasek osCMax Developer
|
|
#7
| |||
| |||
| Yeah, thank you, but I read that. What I'm trying to find is how to define ALL my pages the same way as 'CONTENT_INDEX_DEFAULT' ...I guess I don't understand the format. Can I do the same to individual product pages? Or individual category pages? I got everything else in order - i.e. how to edit each entry, but not how to define the entry for each page. Cheers, Eric |
|
#8
| ||||
| ||||
| That is not how the mod works. It dynamically generates the tags for each of the product pages so you do not have to manually do anything. There is no way to do what you are asking with this mod. You would need to install one of the manual meta-tags mods out there...
__________________ Michael Sasek osCMax Developer
|
|
#9
| |||
| |||
| The meta tags controller does not refresh when i change either a category or product. Why? |
|
#10
| |||
| |||
| if I installed the manual header tags contribution http://www.oscommerce.com/community/contributions,207 would I have to disable dynamic header tags controller...in general which one is better? Ofcourse dynamic is easy to work with Thank you |
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| meta tags controller | pefc2525 | osCMax v2 Customization/Mods | 0 | 07-30-2006 12:52 PM |
| Header Tag Controller | rwoody | osCMax v2 Features Discussion | 7 | 10-25-2005 06:25 PM |
| FYI - Download Controller | tbone | osCMax v2 Installation issues | 0 | 07-26-2005 01:18 AM |
| download controller | afguns | osCMax v1.7 Discussion | 4 | 03-31-2004 07:45 PM |
| download controller | jloyzaga | osCMax v1.7 Discussion | 5 | 09-07-2003 04:18 PM |