I'm stumped. I'm not so sure what is the answer to that question. I'll do some research in Google and get back to you if I find an useful answer. You should email the people at iContact as they probably could give you an answer..
Thanks Phil, can you help further (I'm having a blonde moment)..
Source file has call to metatags,php.
Metatags.php has following code:.
Define("PREFIX_TITLE", "Some Nice Words: ");.
Function MetaTagTitle($id, $lid) {.
$languages_id=(int)$lid;.
$Title = TITLE; // Defaults to global TITLE definition.
$product_name_query = tep_db_query("select products_name from "TABLE_PRODUCTS_DESCRIPTION" where products_id = '"$id"' and language_id = '"(int)$languages_id"'");.
$product_name = tep_db_fetch_array($product_name_query);.
If (tep_not_null($product_name['products_name'])) {.
$Title = PREFIX_TITLE$product_name['products_name'];.
}.
$Title = str_replace('<br>', ' ', $Title);.
Return ($Title);.
}.
Back to source file which has this code (presumably using $Title info.
<TITLE><?php echo MetaTagTitle($products_id, $languages_id); ?></TITLE>.
How do I use the $_REQUEST in this example for it to work..
Thanks in anticipation..
This post has been edited by.
Lee the bean.
: 15 October 2010, 15:46..
There's nothing in the code you showed (MegaTagTitle() function) that uses r-g-v's. In the <TITLE> line, can you account for the variables $products_id and $languages_id? That is, where do they come from? If they just "magically" appear out of thin air, and came in from a form or from another page via the URL (products_id=123&languages_id=2), you would add lines.
$products_id = $_REQUEST['products_id'];.
$languages_id = $_REQUEST['languages_id'];.
Somewhere before the <TITLE> line...
Phil, you're a *star*..
Logic understood and both ammendments are now working as wonderfully as they always have (under MS2.2). I think I should be able to tackle any others that I find as I continue testing (which I'm sure I nearly have now). Cant wait to go live. Thanks for your help..
Lee..
Sounds good. If you've migrated to the final release, 2.2 RC2a (there is a 2.3 promised, but I wouldn't hold my breath), you've done about all you can until the time (if and when) 2.3 or 3.0 actually are released (they should be PHP 5.3 compatible). How are you set for your database? Sooner or later your host will move you up to MySQL 5, which will break a number of things in 2.2 (don't know about 2.3 or 3.0). Fortunately, the fixes are easy, and backwards compatible to MySQL 4:.
Http://forums.oscomm...l-5-1054-errors..

