wolter Posted June 3, 2003 Posted June 3, 2003 Hi all, I just tried to install the header tags control script by Webmakers.com, but I ran into some minor errors. Can someone please help me out? First I tried to add three rows into the table products_description. Here?s where the first problem came up: I couldn?t add the second and third additional rows needed for the script (both longtext, 300 ch.). This resulted in an error message when running the products_info.php page. Does anyone know what the problem could be? Why can?t I just add the rows into the tabel? There are no other fields with the same name as far as I know. The script works fine on the other non-product related pages by the way. Hope to hear from you soon, Wolter
Wizzud Posted June 3, 2003 Posted June 3, 2003 A bit more information would be useful - like, what the error message in (presumably) phpMyAdmin said when the second and third sql statements failed? What was the sql that failed? Regards, Wizzud "It is better to remain silent and be thought a fool, than to open your mouth and remove all doubt."
wolter Posted June 3, 2003 Author Posted June 3, 2003 Thanks for the reply (sooner than I expected, great!). I already seem to have solved the problem. It wasn?t the script itself that caused the error, it was the SQL database. At first I tried to add a LONGTEXT field as stated in the README file provided, but SQL didn?t accept this. It gave an error stating that the filed lenght wasn?t correct (set to 300). Now I?ve left both LONGTEXT fields empty. This seems to work. But now I have another issue. I?d like the title and description of each page to vary. I.e., when the product_info page is called for ProductX, I?d like the title to be TITLE_FOR_ALL followed by ProductX. It would be even better if this could be altered in the admin section, but they?re still working on that feature. Does anyone knows if and how I can put the products_name variable from $product_info in the title tag? Kind regards, Wolter
Ajeh Posted June 4, 2003 Posted June 4, 2003 The functions for how the META tags are made is written by what page you are on. Just switch the order of the variables used if you want the main title then the product name.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.