Si despues de instalat la contribucion Define Mainpage con TinyMCE en oscommerce van a la seccion del admin -> catalog -> Define MainPage les sale este error: TEXT_FILE_DOES_NOT_EXIST
Lo que tienen que aser es ir a admin/define_mainpage.php
y buscar este codigo:
// This will cause it to look for 'mainpage.php'
$HTTP_GET_VARS['filename'] = 'mainpage.php';
y cambiarlo por este:
// This will cause it to look for 'mainpage.php'
$HTTP_GET_VARS['filename'] = 'define_mainpage.php';
Eso es todo.
En este blog voy a poner todo lo que encuentre sobre promocionar páginas web, voy a tratar de ponerlo ordenado paso a paso por si a alguien le sirve esta información que pueda seguirla como a un tutorial o curso. Saludos.
lunes, 27 de junio de 2011
viernes, 24 de junio de 2011
Compatibilidad de ckeditor y Header Tags SEO en oscommerce
Si ya instalaste la contibucion Header Tags SEO en tu oscommerce y quieres instalar la contribucion de ckeditor and filemanager
En el paso numero 4 dise:
NOTE: by doing the above you can call this function on any page newsletter.php, mail.php etc
==========================================================================
nadamas pega el scrpt pero no remplases el
por
En ves de aser eso, ve a la seccion de tu admin en el menu/ Configuración / Header Tags SEO
y en la opcion: Enable an HTML Editor
escoges: CKEditor
y en la opcion: Enable HTML Editor for Products
pones: true
Y listo ya puedes usar ckeditor en la edicion de tus productos.
En el paso numero 4 dise:
4) Open file admin/categories.php
find:
</head> |
Above add:
<script type="text/javascript" src="./ckeditor/ckeditor.js"></script> |
find:
tep_draw_textarea_field |
Replace with:
tep_draw_textarea_ckeditor |
As a example:
<td class="main"><?php echo tep_draw_textarea_ckeditor('products_description[' . $languages[$i]['id'] . ']', '70', '10',(isset($products_description[$languages[$i]['id']]) ?stripslashes($products_description[$languages[$i]['id']]) : tep_get_products_description($pInfo->products_id, $languages[$i]['id'])),'id = products_description[' .$languages[$i]['id'] . ']'); ?> |
==========================================================================
nadamas pega el scrpt pero no remplases el
por
tep_draw_textarea_ckeditor |
En ves de aser eso, ve a la seccion de tu admin en el menu/ Configuración / Header Tags SEO
y en la opcion: Enable an HTML Editor
escoges: CKEditor
y en la opcion: Enable HTML Editor for Products
pones: true
Y listo ya puedes usar ckeditor en la edicion de tus productos.
tep_draw_textarea_field |
jueves, 23 de junio de 2011
Eliminar osCsid de Ultimate SEO URLs en oscommerce
Despues de intalar la contribucion Ultimate SEO URLs en oscommerce para tener urls amigables apara los motores de buqueda aveses queda una coletilla despues de la url ( osCsid= ) para eliminar esta coletilla hay que ir al archivo catalog/icludes/configure.php
y cambiar define ('HTTP_COOKIE_DOMAIN', 'http://www.tudomino.com');
por
define ('HTTP_COOKIE_DOMAIN', 'tudominio.com.');
lo anterior es para una tienda ubicada en la carpeta rais, por ejemplo www.tutienda.com
(osea que no esta dentro de la crapeta catalog)
y cambiar define ('HTTP_COOKIE_DOMAIN', 'http://www.tudomino.com');
por
define ('HTTP_COOKIE_DOMAIN', 'tudominio.com.');
lo anterior es para una tienda ubicada en la carpeta rais, por ejemplo www.tutienda.com
(osea que no esta dentro de la crapeta catalog)
INSTALAR Google XML Sitemap SEO EN OSCOMMERCE SIN Internal Server Error
PARA QUE NO SALGA EL
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request
bla bla bla.......
EN EL PASO NUMER 2 DONDE DISE:
2) Set the file permissions on the sitemap... files to the same settings on the images directory.
OSEA (2) Establecer los permisos de archivo en el mapa ... archivos a la misma configuración en el directorio de imágenes.)
DEVES PONERLE PERMISOS A LA CARPETA googlesitemap DE 755 Y A TODOS LOS ARCHIVOS QUE TIENE DENTRO PONERLES PERMISOS DE 744
ESO ES TODO, ENCONTRE LA RESPUESTA EN UN FORO EN INGLES VOY A PEGAR LA RESPUESTA PERO TRADUCIDA CON GOOGLE:
fb4u
#2 # 2
#3 # 3
Hello Jack, thank you for your response. Hola Jack, gracias por su respuesta.
Unfortunately (in this instance), I am very sure all the files are set to 777 (which is the same as my images directory). Por desgracia (en este caso), estoy muy seguro de todos los archivos se establece en 777 (que es lo mismo que mi directorio de imágenes). I have also set the folder /googlesitemap/ to 777 but not the files within. También he creado la carpeta / googlesitemap / a 777, pero no los archivos dentro.
Thanks anyway for taking the time to reply. Gracias de todos modos por tomarte el tiempo para responder. I will have a chat to my host and see if they can see a way around this. Voy a tener una charla con mi equipo y ver si se puede ver una forma de evitar esto.
Best Regards, Saludos cordiales,
Helena Helena
#4 # 4
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request
bla bla bla.......
EN EL PASO NUMER 2 DONDE DISE:
2) Set the file permissions on the sitemap... files to the same settings on the images directory.
OSEA (2) Establecer los permisos de archivo en el mapa ... archivos a la misma configuración en el directorio de imágenes.)
DEVES PONERLE PERMISOS A LA CARPETA googlesitemap DE 755 Y A TODOS LOS ARCHIVOS QUE TIENE DENTRO PONERLES PERMISOS DE 744
ESO ES TODO, ENCONTRE LA RESPUESTA EN UN FORO EN INGLES VOY A PEGAR LA RESPUESTA PERO TRADUCIDA CON GOOGLE:
fb4u
- Group: Community Member Grupo: Miembros de la Comunidad
- Posts: 36 Mensajes: 36
- Joined: 26-July 07 Registrado: 26-July 07
- Real Name: Helena Lim Nombre verdadero: Helena Lim
Posted 31 March 2009, 01:31 Publicado 31 de marzo de 2009 1:31
Hello everyone, I need some help please. Hola a todos, necesito ayuda por favor.
When I enter the following in my browser, Cuando entro en el siguiente en mi navegador,
I get the following error: Me sale el siguiente error:
Could someone please give me a hint or pointer as to what is going on and what I need to do next? ¿Podría alguien por favor me dan una pista o un puntero en cuanto a lo que está pasando y lo que tengo que hacer ahora?
Thank you! ¡Gracias!
Helena Helena
When I enter the following in my browser, Cuando entro en el siguiente en mi navegador,
I get the following error: Me sale el siguiente error:
Quote Cita
Internal Server Error Error interno del servidor
The server encountered an internal error or misconfiguration and was unable to complete your request. El servidor encontró un error interno o mala configuración y no pudo completar su solicitud.
Please contact the server administrator, webmaster@clearlychosen.com.au and inform them of the time the error occurred, and anything you might have done that may have caused the error. Por favor, póngase en contacto con el administrador del servidor, webmaster@clearlychosen.com.au y les informará de la hora se produjo el error, y todo lo que pudo haber hecho que pudo haber causado el error.
More information about this error may be available in the server error log. Más información acerca de este error puede estar disponible en el registro de error del servidor.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. Además, un error 404 Not Found se encontró al intentar utilizar un ErrorDocument para manejar la petición.
Apache/2.2.8 (Unix) mod_ssl/2.2.8 OpenSSL/0.9.8b mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 Server at www.clearlychosen.com.au Port 80 Apache/2.2.8 (Unix) mod_auth_passthrough/2.1 mod_bwlimited/1.4 mod_ssl/2.2.8 OpenSSL/0.9.8b FrontPage/5.0.2.2635 Server en el puerto 80 www.clearlychosen.com.au
The server encountered an internal error or misconfiguration and was unable to complete your request. El servidor encontró un error interno o mala configuración y no pudo completar su solicitud.
Please contact the server administrator, webmaster@clearlychosen.com.au and inform them of the time the error occurred, and anything you might have done that may have caused the error. Por favor, póngase en contacto con el administrador del servidor, webmaster@clearlychosen.com.au y les informará de la hora se produjo el error, y todo lo que pudo haber hecho que pudo haber causado el error.
More information about this error may be available in the server error log. Más información acerca de este error puede estar disponible en el registro de error del servidor.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. Además, un error 404 Not Found se encontró al intentar utilizar un ErrorDocument para manejar la petición.
Apache/2.2.8 (Unix) mod_ssl/2.2.8 OpenSSL/0.9.8b mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 Server at www.clearlychosen.com.au Port 80 Apache/2.2.8 (Unix) mod_auth_passthrough/2.1 mod_bwlimited/1.4 mod_ssl/2.2.8 OpenSSL/0.9.8b FrontPage/5.0.2.2635 Server en el puerto 80 www.clearlychosen.com.au
- I have the latest version of this contrib as suggested by Jack_mcs. Tengo la última versión de este contrib como sugiere Jack_mcs.
- All the xml file permissions are set to 777 Todos los permisos de los archivos xml se establecen en 777
- my version of osc is v2.2 RC2a mi versión de la OSC es v2.2 RC2a
- I also have Header Tags SEO v3.1.2 installed (in case that might be affecting this?) También tengo las etiquetas de cabecera SEO v3.1.2 instalado (en el caso de que pudiera influir en esto?)
Could someone please give me a hint or pointer as to what is going on and what I need to do next? ¿Podría alguien por favor me dan una pista o un puntero en cuanto a lo que está pasando y lo que tengo que hacer ahora?
Thank you! ¡Gracias!
Helena Helena
♥ ∞ ♥ ∞ ♥ ∞ ♥ ∞ ♥ ∞ ♥ ∞ ♥ ∞ ♥ ∞ ♥ ♥ ∞ ♥ ∞ ♥ ∞ ♥ ∞ ♥ ∞ ♥ ∞ ♥ ∞ ♥ ∞ ♥
Helena Helena
Netwebbing - lots of free, simple tutorials • shCREDO - articles to all things health-ful • JEM Library - articles and info. Netwebbing - un montón de tutoriales gratuitos, sencillos • shCREDO - artículos para todas las cosas de la salud-ful • JEM Biblioteca - artículos e información. on jewelry making • ClearlyChosen - Swarovski, Sterling silver & more (osCommerce e-commerce store) en la elaboración de joyas • ClearlyChosen - Swarovski, plata de ley y más (osCommerce tienda de comercio electrónico)
Helena Helena
Netwebbing - lots of free, simple tutorials • shCREDO - articles to all things health-ful • JEM Library - articles and info. Netwebbing - un montón de tutoriales gratuitos, sencillos • shCREDO - artículos para todas las cosas de la salud-ful • JEM Biblioteca - artículos e información. on jewelry making • ClearlyChosen - Swarovski, Sterling silver & more (osCommerce e-commerce store) en la elaboración de joyas • ClearlyChosen - Swarovski, plata de ley y más (osCommerce tienda de comercio electrónico)
0 0
#2 # 2
Jack_mcs Jack_mcs
- Group: Community Member Grupo: Miembros de la Comunidad
- Posts: 23,058 Mensajes: 23.058
- Joined: 16-October 03 Registrado: 16-octubre 03
- Real Name: Jack Nombre verdadero: Jack
- Gender: Male Sexo: Hombre
Posted 31 March 2009, 01:42 Publicado 31 de marzo de 2009 1:42
An Internal Server error can be caused by many things, one of which is permissions settings. Un error interno del servidor puede ser causada por muchas cosas, uno de los cuales es la configuración de permisos. Are you sure they should be set to 777? ¿Estás seguro de que debe establecerse en 777? Try setting them to whatever the ones on the images directory are set to. Prueba a poner a todo lo que los que están en el directorio de imágenes se establecen. If that still fails and the site is working well othewise, then you will need to ask your host to take a look at it. Si éste tampoco funciona y el sitio está funcionando bien othewise, entonces usted tendrá que preguntar a su anfitrión para echar un vistazo a él.
Jack Gato
Jack Gato
Recommended SEO Addons : SEO recomienda Addons:
Most Important: Header Tags SEO - Ultimate SEO V 2.2d Lo más importante: las etiquetas de cabecera SEO - SEO última V 2.2d
All SEO Addons: Recommended SEO Addons Todos los Agregados SEO: SEO Addons recomendados
Support Links : Enlaces de apoyo:
Finding relevant link exchanges - Headers Already Sent - What does it cost? - What's my version? - How to change titles? - Preventing HotLinking Encontrar los intercambios pertinentes link - headers already sent - ¿Cuánto cuesta? - ¿Cuál es mi versión? - ¿Cómo cambiar los títulos? - Evitar hotlinking
Most Important: Header Tags SEO - Ultimate SEO V 2.2d Lo más importante: las etiquetas de cabecera SEO - SEO última V 2.2d
All SEO Addons: Recommended SEO Addons Todos los Agregados SEO: SEO Addons recomendados
Support Links : Enlaces de apoyo:
Finding relevant link exchanges - Headers Already Sent - What does it cost? - What's my version? - How to change titles? - Preventing HotLinking Encontrar los intercambios pertinentes link - headers already sent - ¿Cuánto cuesta? - ¿Cuál es mi versión? - ¿Cómo cambiar los títulos? - Evitar hotlinking
0 0
#3 # 3
fb4u fb4u
- Group: Community Member Grupo: Miembros de la Comunidad
- Posts: 36 Mensajes: 36
- Joined: 26-July 07 Registrado: 26-July 07
- Real Name: Helena Lim Nombre verdadero: Helena Lim
Posted 31 March 2009, 05:32 Publicado 31 de marzo de 2009 05:32
An Internal Server error can be caused by many things, one of which is permissions settings. Un error interno del servidor puede ser causada por muchas cosas, uno de los cuales es la configuración de permisos. Are you sure they should be set to 777? ¿Estás seguro de que debe establecerse en 777? Try setting them to whatever the ones on the images directory are set to. Prueba a poner a todo lo que los que están en el directorio de imágenes se establecen. If that still fails and the site is working well othewise, then you will need to ask your host to take a look at it. Si éste tampoco funciona y el sitio está funcionando bien othewise, entonces usted tendrá que preguntar a su anfitrión para echar un vistazo a él.
Jack Gato
Jack Gato
Hello Jack, thank you for your response. Hola Jack, gracias por su respuesta.
Unfortunately (in this instance), I am very sure all the files are set to 777 (which is the same as my images directory). Por desgracia (en este caso), estoy muy seguro de todos los archivos se establece en 777 (que es lo mismo que mi directorio de imágenes). I have also set the folder /googlesitemap/ to 777 but not the files within. También he creado la carpeta / googlesitemap / a 777, pero no los archivos dentro.
Thanks anyway for taking the time to reply. Gracias de todos modos por tomarte el tiempo para responder. I will have a chat to my host and see if they can see a way around this. Voy a tener una charla con mi equipo y ver si se puede ver una forma de evitar esto.
Best Regards, Saludos cordiales,
Helena Helena
♥ ∞ ♥ ∞ ♥ ∞ ♥ ∞ ♥ ∞ ♥ ∞ ♥ ∞ ♥ ∞ ♥ ♥ ∞ ♥ ∞ ♥ ∞ ♥ ∞ ♥ ∞ ♥ ∞ ♥ ∞ ♥ ∞ ♥
Helena Helena
Netwebbing - lots of free, simple tutorials • shCREDO - articles to all things health-ful • JEM Library - articles and info. Netwebbing - un montón de tutoriales gratuitos, sencillos • shCREDO - artículos para todas las cosas de la salud-ful • JEM Biblioteca - artículos e información. on jewelry making • ClearlyChosen - Swarovski, Sterling silver & more (osCommerce e-commerce store) en la elaboración de joyas • ClearlyChosen - Swarovski, plata de ley y más (osCommerce tienda de comercio electrónico)
Helena Helena
Netwebbing - lots of free, simple tutorials • shCREDO - articles to all things health-ful • JEM Library - articles and info. Netwebbing - un montón de tutoriales gratuitos, sencillos • shCREDO - artículos para todas las cosas de la salud-ful • JEM Biblioteca - artículos e información. on jewelry making • ClearlyChosen - Swarovski, Sterling silver & more (osCommerce e-commerce store) en la elaboración de joyas • ClearlyChosen - Swarovski, plata de ley y más (osCommerce tienda de comercio electrónico)
0 0
#4 # 4
fb4u fb4u
- Group: Community Member Grupo: Miembros de la Comunidad
- Posts: 36 Mensajes: 36
- Joined: 26-July 07 Registrado: 26-July 07
- Real Name: Helena Lim Nombre verdadero: Helena Lim
Posted 31 March 2009, 12:44 Publicado 31 de marzo de 2009 12:44
Solution Solución
Ok I must have done something only a newbie silly like me would do. Ok debo haber hecho algo que sólo un tonto novato como yo lo haría.
I thought that the 777 permission also included the googlesitemap directory. Pensé que el permiso 777 también se incluye el directorio googlesitemap.
But the excellent support at my host company corrected that to permission 744 and everything has run Beautifully. Sin embargo, el excelente apoyo a mi empresa de acogida que corregir con el permiso 744 y todo ha funcionado perfectamente.
Thanks Jack for your support and Chemo for the contrib. Gracias a Jack por su apoyo y quimioterapia para el contrib.
Ok I must have done something only a newbie silly like me would do. Ok debo haber hecho algo que sólo un tonto novato como yo lo haría.
I thought that the 777 permission also included the googlesitemap directory. Pensé que el permiso 777 también se incluye el directorio googlesitemap.
But the excellent support at my host company corrected that to permission 744 and everything has run Beautifully. Sin embargo, el excelente apoyo a mi empresa de acogida que corregir con el permiso 744 y todo ha funcionado perfectamente.
Thanks Jack for your support and Chemo for the contrib. Gracias a Jack por su apoyo y quimioterapia para el contrib.
♥ ∞ ♥ ∞ ♥ ∞ ♥ ∞ ♥ ∞ ♥ ∞ ♥ ∞ ♥ ∞ ♥ ♥ ∞ ♥ ∞ ♥ ∞ ♥ ∞ ♥ ∞ ♥ ∞ ♥ ∞ ♥ ∞ ♥
Helena Helena
Netwebbing - lots of free, simple tutorials • shCREDO - articles to all things health-ful • JEM Library - articles and info. Netwebbing - un montón de tutoriales gratuitos, sencillos • shCREDO - artículos para todas las cosas de la salud-ful • JEM Biblioteca - artículos e información. on jewelry making • ClearlyChosen - Swarovski, Sterling silver & more (osCommerce e-commerce store) en la elaboración de joyas • ClearlyChosen - Swarovski, plata de ley y más (osCommerce tienda de comercio electrónico)
Helena Helena
Netwebbing - lots of free, simple tutorials • shCREDO - articles to all things health-ful • JEM Library - articles and info. Netwebbing - un montón de tutoriales gratuitos, sencillos • shCREDO - artículos para todas las cosas de la salud-ful • JEM Biblioteca - artículos e información. on jewelry making • ClearlyChosen - Swarovski, Sterling silver & more (osCommerce e-commerce store) en la elaboración de joyas • ClearlyChosen - Swarovski, plata de ley y más (osCommerce tienda de comercio electrónico)
miércoles, 22 de junio de 2011
instalar Header Tags SEO en oscommerce con sts
EL PASO 1 TE LO DEBES DE SALTAR
FILE CHANGES:
1) ******** NOTE: STS USERS ONLY - Skip to step 1A. *********
******** NOTE: BTS USERS ONLY - Skip to step 1B. *********
Your shop is an STS shop if there is an includes/sts_templates/ directory.
Your shop is a BTS shop if there is a templates directory in the root directory.
For Header Tags to work on a page of your site, that page must have the code
change mentioned below installed. At a minimum, the following files should be
changed:
index.php
product_info.php
Any other file in the root directory (the same location where your index.php
file is located) that you want Header Tags to work with should also be changed.
For example, if you want your privacy page to have its own title and meta tags,
then you should make this change to the privacy.php file. Only files that
contain <title><?php echo TITLE; ?></title> can be altered. Since the <TITLE>
tag is different in popup_image.php and is not handled by Header Tags SEO,
there is no need to modify that file.
In each file you want to edit, make the following modification:
FIND:
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>">
<title><?php echo TITLE; ?></title>
REPLACE with the following then continue with Step 2:
<?php
/*** Begin Header Tags SEO ***/
if ( file_exists(DIR_WS_INCLUDES . 'header_tags.php') ) {
require(DIR_WS_INCLUDES . 'header_tags.php');
} else {
?>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>">
<title><?php echo TITLE; ?></title>
<?php
}
/*** End Header Tags SEO ***/
?>
NO DEVES DE PONER ESE CODIGO EN EL admin.php NI EN EL product_info.php SI PONES EL CODIGO TE VA A DAR UN ERROR CUANDO ENTRES A admin/Header Tags SEO
CADA VES QUE CAMBIES LA PLANTILLA DEL OSCOMMERCE STS DEVES REPETIR EL PASO 1A
1A) ********* FOR STS USERS ONLY *********
STS should be installed first.
=============================================
In includes/modules/sts_inc/general.php,
REPLACE:
$sts->template['headertags']= "<title>" . TITLE ."</title>";
WITH:
if (!isset($sts->template['headertags'])) $sts->template['headertags']= "<title>" . TITLE ."</title>";
$sts->template['headertags_logotext'] = tep_not_null($header_tags_array['logo_text']) ? $header_tags_array['logo_text'] : STORE_NAME;
$sts->template['text_viewing'] = TEXT_VIEWING;
$sts->template['text_viewing_title'] = '<a title="' . $header_tags_array['title'] . '" href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $product_info['products_id'], 'NONSSL') . '"/# ' . $header_tags_array['title'] . '">' . $header_tags_array['title'] . '</a>';
=============================================
In includes/header.php,
FIND:
// START STS 4.1
$sts->restart_capture ('applicationtop2header'); // Capture header from the actual script, needed to take out javascript
// END STS 4.1
ADD BENEATH:
/*** Begin Header Tags SEO ***/
// We include header_tags.php early on to make $header_tags_array available to subsequent scripts
if ( file_exists(DIR_WS_INCLUDES . 'header_tags.php') ) {
require(DIR_WS_INCLUDES . 'header_tags.php');
}
$sts->restart_capture ('headertags');
/*** End Header Tags SEO ***/
=============================================
In your template file (like includes/sts_templates/test/sts_template.html),
REPLACE
<img border="0" src="images/store_logo.png"></td>
WITH
<img border="0" src="images/store_logo.png" alt="$headertags_logotext"></td>
=============================================
In any of the includes/sts_templates/ template files, be sure to place the following in
the <head> section:
<!--$headcontent-->
FILE CHANGES:
1) ******** NOTE: STS USERS ONLY - Skip to step 1A. *********
******** NOTE: BTS USERS ONLY - Skip to step 1B. *********
Your shop is an STS shop if there is an includes/sts_templates/ directory.
Your shop is a BTS shop if there is a templates directory in the root directory.
For Header Tags to work on a page of your site, that page must have the code
change mentioned below installed. At a minimum, the following files should be
changed:
index.php
product_info.php
Any other file in the root directory (the same location where your index.php
file is located) that you want Header Tags to work with should also be changed.
For example, if you want your privacy page to have its own title and meta tags,
then you should make this change to the privacy.php file. Only files that
contain <title><?php echo TITLE; ?></title> can be altered. Since the <TITLE>
tag is different in popup_image.php and is not handled by Header Tags SEO,
there is no need to modify that file.
In each file you want to edit, make the following modification:
FIND:
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>">
<title><?php echo TITLE; ?></title>
REPLACE with the following then continue with Step 2:
<?php
/*** Begin Header Tags SEO ***/
if ( file_exists(DIR_WS_INCLUDES . 'header_tags.php') ) {
require(DIR_WS_INCLUDES . 'header_tags.php');
} else {
?>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>">
<title><?php echo TITLE; ?></title>
<?php
}
/*** End Header Tags SEO ***/
?>
NO DEVES DE PONER ESE CODIGO EN EL admin.php NI EN EL product_info.php SI PONES EL CODIGO TE VA A DAR UN ERROR CUANDO ENTRES A admin/Header Tags SEO
CADA VES QUE CAMBIES LA PLANTILLA DEL OSCOMMERCE STS DEVES REPETIR EL PASO 1A
1A) ********* FOR STS USERS ONLY *********
STS should be installed first.
=============================================
In includes/modules/sts_inc/general.php,
REPLACE:
$sts->template['headertags']= "<title>" . TITLE ."</title>";
WITH:
if (!isset($sts->template['headertags'])) $sts->template['headertags']= "<title>" . TITLE ."</title>";
$sts->template['headertags_logotext'] = tep_not_null($header_tags_array['logo_text']) ? $header_tags_array['logo_text'] : STORE_NAME;
$sts->template['text_viewing'] = TEXT_VIEWING;
$sts->template['text_viewing_title'] = '<a title="' . $header_tags_array['title'] . '" href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $product_info['products_id'], 'NONSSL') . '"/# ' . $header_tags_array['title'] . '">' . $header_tags_array['title'] . '</a>';
=============================================
In includes/header.php,
FIND:
// START STS 4.1
$sts->restart_capture ('applicationtop2header'); // Capture header from the actual script, needed to take out javascript
// END STS 4.1
ADD BENEATH:
/*** Begin Header Tags SEO ***/
// We include header_tags.php early on to make $header_tags_array available to subsequent scripts
if ( file_exists(DIR_WS_INCLUDES . 'header_tags.php') ) {
require(DIR_WS_INCLUDES . 'header_tags.php');
}
$sts->restart_capture ('headertags');
/*** End Header Tags SEO ***/
=============================================
In your template file (like includes/sts_templates/test/sts_template.html),
REPLACE
<img border="0" src="images/store_logo.png"></td>
WITH
<img border="0" src="images/store_logo.png" alt="$headertags_logotext"></td>
=============================================
In any of the includes/sts_templates/ template files, be sure to place the following in
the <head> section:
<!--$headcontent-->
Suscribirse a:
Comentarios (Atom)