Community Add-Ons
Krika News v1.0
for osCommerce Online Merchant v2.2
Krika news v1.0 is a news editor working for oscommerce:
Features:
- It recognices all languages that you have installed in your oscommerce.
- The news are saved in independent text files in each language. The database is not modified
- Edition menu of news in the administration tools.
- Central box visualizes the news in the catalog.
IMPORTANT:
I am sorry but my English is very bad as you can see.So that the instructions are in Spanish. In a few days I put them up in English.
-------------------------------------------------
Krika news v1.0 es un módulo de noticias que soporta todos los idiomas y no usa base de datos. Guarda las noticias en archivos de texto, con soporte Html.
Incluye un editor de noticias en el administrador.
Las instrucciones están en castellano, y he incluído dos capturas de pantalla para que se hagan una idea de cómo es.
Legend:
Download
Report
This version solve the problem with slashes, that cause a lot of conflicts with images, text colors, etc.
Only admin/action_news.php is changed.
Regards from spain.
Visit spanish oscommerce forums
http://oscommerce.qadram.com/modules.php?name=Forums
Hi all...
There were problems creating links and other stuff with tinyMCE and krika 1.1 from nicko... there were solved.
Now i integrated in the zip the tinyMCE with spanish and english lang. The setup is configured to show spanish for default.
For update only overwrite files of admin folder.
Visit us...
Comunidad oscommerce en español
==========================
http://oscommerce.qadram.com/modules.php?name=Forums
A quick English translation of the file located at catalog/includes/languages/english/edit_news.php. This download only includes this file which can replace the same file in the complete package submitted by nicko107. All credit should go to previous authors and google translations.
COMPLETE PACK
-------------
Krika News v1.1
Include all fixes and versions
FEATURES:
------------
This contribution add a new module for main page of catalog for display news, have a editor in admin section, and can select to active or not active the module in admin page.
This version add:
- Added Tiny_mce wysiwig HTML editor based in contribution:
*TinyMCE WYSIWYG HTML EDITOR by Sputnik77
http://www.oscommerce.com/community/contributions,4563
(that contribution replace all textareas of catalog by the tiny_mce editor. Thanks for this great contribution!)
Which this editor can published more easy the content of news in Krika News module in admin section.
Some browser navigators have disable the javascripts and don´t display this editor, can enable it in options of your browser only for admin. In the case that are disable javascript only display in textarea mode without Tiny_mce editor.
- Rewriter of instrucctions.
- Include the option to used the scroll version, create by Pablo Encabo www.plasticoymetal.com
DEMO:
-------
http://www.oscommerce-demo.com/demo01/
SUPPORT FORUM OF THIS VERSION 1.1:
----------------------------------
http://forums.oscommerce.com/index.php?showtopic=230309
Include screenshots of module and admin page to active the module and edit news.
Include a folder with all files that modified this contribution to upload to news shops without modifications in his files.
Instructions in english and spanish
And a version with scroll in news.
Instructions to easy update for olders versions to this version 1.1
-----------
PACK COMPLETO
-------------
Incluye todos las correciones y versiones anteriores.
CARACTERISTICAS DE ESTA VERSION:
-------------------------------
Fecha de Creacion: 29/09/2006
- Añadido el editor Tiny_mce wysiwig HTML basado en la contribucion:
*TinyMCE WYSIWYG HTML EDITOR de Sputnik77
http://www.oscommerce.com/community/contributions,4563
(esta contribucion sustituye los textarea por el editor tiny_mce)
Este editor permite tener un menu para modificar el texto o añadir cambios al texto a insertar. En algunos navegadores que tengan
desabilitado el javascript no se vera, en este caso se puede habilitar para la direccion del admin temporalmente o de forma fija
en la configuracion de javascript en las opciones del navegador, en caso de no tenerlo habilitado se muestra la casilla normal
de insercion de texto sin editor.
- Se han reescrito las instrucciones.
- Incluye la opcion de usar el archivo con scroll, creado por Pablo Encabo www.plasticoymetal.com
DEMO:
-------
http://www.oscommerce-demo.com/demo01/
FORO DE ESTA VERSION 1.1 EN ESPAÑOL:
-----------------------------------
http://foros.oscommerce-tutoriales.com/index.php/topic,114.0.html
FOROS DE SOPORTE DE OSCOMMERCE EN ESPAÑOL:
------------------------------------------
http://oscommerce.qadram.com
Incluye imagenes de muestra del modulo en el catalogo, y de la parte de administracion del admin para activar este modulo y editar las noticias con el editor Tiny_mce
Incluye carpeta con todos los archivos que modifica esta contribucion para subir a tiendas nuevas que no tengan archivos modificados o contribuciones instaladas.
Instrucciones en español e ingles.
Incluye la version con scroll.
Incluye instrucciones para actualizar de forma facil desde versiones anteriores a esta version 1.1
Hello, changing in catalog/includes/modules/news.php with this other, you can view news in a scroll box. its configured to a news height of 160 px, and the scroll is from bottom to upper, you can change if you want. Please BACKUP
You can see it online in
www.plasticoymetal.com
Pablo Encabo
P.D. The other file doesnt includes the good readme.
Hola. Cambiando en catalog/includes/modules/news.php por este otro fichero, puedes ver las news en un box con scroll. Esta configurado para ser visto a un alto de 160 pixels, el scroll de abajo a arriba, pero puedes cambiarlo. Por favor BACKUP
Podeis verlo en funcionamiento en
www.plasticoymetal.com
Pablo Encabo
P.D. El anterior fichero no incluia el readme correcto.
Hello, changing in catalog/includes/modules/news.php with this other, you can view news in a scroll box. its configured to a news height of 160 px, and the scroll is from bottom to upper, you can change if you want. Please BACKUP
You can see it online in
www.plasticoymetal.com
Pablo Encabo
Hola. Cambiando en catalog/includes/modules/news.php por este otro fichero, puedes ver las news en un box con scroll. Esta configurado para ser visto a un alto de 160 pixels, el scroll de abajo a arriba, pero puedes cambiarlo. Por favor BACKUP
Podeis verlo en funcionamiento en
www.plasticoymetal.com
Pablo Encabo
Machine translation of instructions to English:
It uses the contributions under your risk, recalls to do a backup of your files. Krika news v1.0 this designed and tested for the version 2.2ms2
INSTRUCTIONS OF INSTALACION:
-----------------------------. STEPS TO CARRY OUT IN THE ADMIN | -----------------------------.
1.- It MODIFIES ALL THE FILES OF LANGUAGES THAT HAVE IN admin/includes/languages/, BY DEFECT ARE THREE: espanol.php, english.php and german.php
THE CHANGE TO CARRY OUT IN CASE OF THESE THREE LANGUAGES IS THE FOLLOWING one:
In admin/includes/languages/espanol.php to add this line: defines ('BOX_TOOLS_NEWS', 'to Publish News');
In admin/includes/languages/english.php to add this line: defines ('BOX_TOOLS_NEWS', 'Edit News');
In admin/includes/languages/german.php to add this line: defines ('BOX_TOOLS_NEWS', 'Nachrichten');
2.- It OPENS THE FILE admin/includes/filenames. php AND ADDS THE FOLLOWING one LINEA:
it defines ('FILENAME_EDIT_NEWS', 'edit_news.php');
3.- COPY ALL THE FILES INCLUDED IN THIS CONTRIBUCION IN ITS CORRESPONDING one PATH:
admin/includes/boxes/tools.php admin/edit_news. php admin/form_news. php admin/action_news. php file
admin/includes/languages/espanol/edit_news.php file admin/includes/languages/english/edit_news.php file
admin/includes/languages/german/edit_news.php
------------------------------------------------------------------------------- . You NOTE: - THE FILES admin/includes/languages/english/edit_news.php AND Admin/includes/languages/german/edit_news.php I HAVE NOT TRANSLATED THEM AL LANGUAGE THAT CORRESPONDS, I HAVE LEFT THEM BY DEFECT in Spanish, I INVITE YOU TO THAT THE TRADUZCAIS AND ME ENVIEIS THE TRADUCCION
- IF BEFORE USING THIS CONTRIBUCION ALREADY HABIAS INSTALLED ANOTHER THAT HAVE YOU MODIFIED THE FILE tools.php, INSTEAD OF RISING THE FILE INCLUDED IN THIS CONTRIBUCION AND TO SUBSTITUTE IT FOR YOUR PRESENT tools.php, OPENS YOUR FILE tools.php AND INSERTS THIS LINE WHERE CORRESPOND:
'<a href="' . tep_href_link(FILENAME_EDIT_NEWS) . '" class="menuBoxContentLink">'. PIT_TOOLS_NEWS. '</a><br>'.
-------------------------------. STEPS TO CARRY OUT IN THE CATALOG | -------------------------------.
1.- It OPENS THE FILE INDEX.PHP AND PLACES THIS CODIGO WHERE you CREATE CONVENIENT:
Include (DIR_WS_MODULATE. FILENAME_NEWS);
It NOTES: IT IDEAL IS TO PUT IT JUST UNDER THE "TEXT_MAIN", BUT FOR THE DESPISTADILLOS I COPIED THEM AN ENTIRE PIECE WHERE I HAVE IT PLACED I, AND ASI THAT be CLARIFIED WITH THE REFERENCE. ..:
<td class="main"><?php echo TEXT_MAIN; ?><br>
<?php include(DIR_WS_MODULES . FILENAME_NEWS); ?>
</td>
2.- you DIRECT YOU TO ALL THE index.php OF ALL THE FOLDERS OF LANGUAGES (includes/languages/espanol/index.php, includes/languages/english/index.php, etc..) And it adds these alone lines modifying the translations in each file:
/*Here you should indicate the name of the news text file, if does not exist, should create it, the name of the file should have this format: 'Tuidioma_news.txt' Recalls to put in mayuscula the first letter. If you have doubts see al administrative of news and the name of the files will indicate you
that have to create, according to the languages that have in the store */
$news_text = (implode ('', file ('Español_news.txt')));
//here you define the texts in your language defines ('TABLE_HEADING_NEWS', 'Finalize news'); defines
('TEXT_NEWS', $news_text);
3.- COPY THE FILE THAT is INCLUDED IN THE FOLDER OF THIS CONTRIBUCION includes/modulate/news. php WHERE CORRESPONDS
4.- COPY OR CREATES THE FILES OF TEXT IN THE FOLDER OF THE I CATALOGUE, WITH THE NAMES INDICATED: Spanish_news. txt English_news. txt
Deustch_news. txt
It NOTES: IF you HAVE OTHER DIFFERENT LANGUAGES SIMPLY CREATES THE NEW FILES RESPECTING THE FORM: Language_news. txt (the text "Language" is obtained of the registration "name" of the board "languages", for which should be respected just as this writing in the database) by example "French_news.txt"
5.- NOW it OPENS catalog/includes/filenames. php AND ADDS WHERE BE CONVENIENT:
it defines ('FILENAME_NEWS', 'news.php');
6.- THAT IS ALL, IF ME I HAVE NOT EXPLAINED WELL I FEEL IT XD. NOW I ADVISE TO OPEN FIRST THE ADMINISTRATOR AND TO GO TO TOOLS -> WHERE A MENU SHOULD APPEAR CALLED "TO PUBLISH NEWS", IF EXISTS ALGUN PROBLEM DUE TO AN INSTALACION INCORRECT, CONTINUES THE ERROR MESSAGES AND they HELPED YOU TO SOLVE THE PROBLEM. It VERIFIES ADEMAS THAT THE NEWS TEXT FILES HAVE PERMISSION OF READING AND WRITING. LUCK!
------------------------------------------------------------------------ . ----------------------------------------------------------------------- .
END. Module carried out by Fco Jesus Martin of the Saw Hdez. www.infortronic.com
El mismo modulo de noticias pero esta vez actualizado con htmlarea para modificar las noticias a su gusto.
Krika news v1.0 is a news editor working for oscommerce:
Features:
- It recognices all languages that you have installed in your oscommerce.
- The news are saved in independent text files in each language. The database is not modified
- Edition menu of news in the administration tools.
- Central box visualizes the news in the catalog.
IMPORTANT:
I am sorry but my English is very bad as you can see.So that the instructions are in Spanish. In a few days I put them up in English.
-------------------------------------------------
Krika news v1.0 es un módulo de noticias que soporta todos los idiomas y no usa base de datos. Guarda las noticias en archivos de texto, con soporte Html.
Incluye un editor de noticias en el administrador.
Las instrucciones están en castellano, y he incluído dos capturas de pantalla para que se hagan una idea de cómo es.
