|
ECB SEO SHOP SOFTWARE - IMEDES SOFTWARE DOWNLOADS
*****************************************
* *
* INSTALLATION-GUIDE *
* *
*****************************************
* @package Newsmanager *
* @compatible SP2.1 *
*****************************************
--------------
NEW FILES:
--------------
admin/images/icons/de_icon.gif
admin/images/icons/en_icon.gif
admin/images/icons/icons/de_icon.gif
admin/images/icons/icons/en_icon.gif
admin/images/icons/info.jpg
admin/images/icons/red_dot.jpg
admin/includes/news_info_images.php
admin/news.php
inc/xtc_image_button_news.inc.php
includes/functions/database.php
includes/modules/news.php
includes/news_info_images.php
lang/english/admin/images/button_back.gif
lang/english/admin/images/button_news_config.gif
lang/english/admin/images/button_news_new.gif
lang/english/admin/images/button_save.gif
lang/english/admin/news.php
lang/german/admin/images/button_back.gif
lang/german/admin/images/button_news_config.gif
lang/german/admin/images/button_news_new.gif
lang/german/admin/images/button_save.gif
lang/german/admin/news.php
media/content/newsarchiv.php
news_add.inc.php
shopnews.php
templates/xtc4/boxes/box_news.html
templates/xtc4/module/news.html
templates/xtc4/module/news_add.html
templates/xtc4/module/news_archiv.html
templates/xtc4/module/news_search.html
templates/xtc4/module/shopnews.html
templates/xtc4/source/boxes/news.php
--------------
NEW DIRS:
--------------
images/news
imedes_library
includes/classes/adodb_full
media/files
media/news
--------------
CHANGED FILES:
--------------
admin/includes/application_top.php
admin/includes/column_left.php
admin/includes/configure.php
admin/includes/functions/sessions.php
admin/includes/modules/export/image_processing.php
admin/includes/stylesheet.css
inc/xtc_image_submit.inc.php
inc/xtc_wysiwyg.inc.php
includes/application_top.php
includes/center_modules.php
includes/configure.php
includes/database_tables.php
includes/filenames.php
includes/functions/sessions.php
lang/english/admin/configuration.php
lang/english/admin/english.php
lang/english/english.php
lang/english/lang_english.conf
lang/german/admin/configuration.php
lang/german/admin/german.php
lang/german/german.php
lang/german/lang_german.conf
templates/xtc4/index.html
templates/xtc4/module/main_content.html
templates/xtc4/source/boxes.php
-------------
INSTALLATION:
-------------
1. Datenkbankerweiterungen durchführen
CREATE TABLE `modul_news` (
`news_id` int(10) unsigned NOT NULL auto_increment,
`customer_id` int(11) unsigned NOT NULL default '0',
`date` datetime default '0000-00-00 00:00:00',
`status` int(1) NOT NULL default '0',
`show_date` int(1) NOT NULL default '0',
`group_permission_0` tinyint(1) NOT NULL,
`group_permission_1` tinyint(1) NOT NULL,
`group_permission_2` tinyint(1) NOT NULL,
`group_permission_3` tinyint(1) NOT NULL,
`group_permission_4` tinyint(1) NOT NULL,
`group_permission_5` tinyint(1) NOT NULL,
`group_permission_6` tinyint(1) NOT NULL,
PRIMARY KEY (`news_id`),
KEY `customer_id` (`customer_id`)
);
CREATE TABLE `modul_news_description` (
`news_id` int(10) NOT NULL default '0',
`language_id` int(1) NOT NULL default '0',
`title` varchar(150) NOT NULL default '',
`subtitle` varchar(150) default NULL,
`shorttext` varchar(250) default NULL,
`text` text NOT NULL,
`image` varchar(64) default NULL,
`download_file` varchar(64) default NULL,
`download_file_title` varchar(132) NULL,
PRIMARY KEY (`news_id`,`language_id`)
);
ALTER TABLE admin_access add (news int(1) NOT NULL default '0');
UPDATE `admin_access` SET `news` = '1' WHERE customers_id = 1;
INSERT INTO `configuration` VALUES
('', 'NEWS_LIMIT_STARTPAGE', '5', 3, 1, NULL, '2005-07-09 00:00:00', NULL, NULL),
('', 'NEWS_MODUL_ON', 'true', 3, 1, NULL, '0000-00-00 00:00:00', NULL,
'xtc_cfg_select_option(array(''true'', ''false''),'),
('', 'NEWS_IMAGE_INFO_WIDTH', '80', 4, 36, NULL, '0000-00-00 00:00:00', NULL, NULL),
('', 'NEWS_IMAGE_INFO_HEIGHT', '100', 4, 37, NULL, '0000-00-00 00:00:00', NULL, NULL);
2. new_files kopieren.
3.folgende Verzeichnis per chmod auf 777 ändern:
images/news
images/news/news_images
images/news/original_images
media/files
media/news
4. changed_files kopieren, oder bei nicht standard-version folgende änderungen durchführen:
-admin/includes/application_top.php
---------------------------------------------------------------------------------------------------
finde folgendes:
// define the database table names used in the project
und füge danach ein:
define('FILENAME_MODULE_NEWS','news.php');
define('TABLE_NEWS_NEWS', 'modul_news');
define('TABLE_NEWS_NEWS_DESCRIPTION', 'modul_news_description');
---------------------------------------------------------------------------------------------------
Achtung!!!! Diese folgende Änderung ist nur notwendig, wenn Sie bisher noch KEINE Bibliothek von Imedes
erworben haben, welches unter einer Bezahllizenz steht. Falls Sie nicht sicher sind, dann schauen Sie
einfach in den Quellcode der entsprechenden Datei oder sprechen uns einfach an
finde folgendes:
// include needed functions
require_once(DIR_FS_INC . 'xtc_db_connect.inc.php');
require_once(DIR_FS_INC . 'xtc_db_close.inc.php');
require_once(DIR_FS_INC . 'xtc_db_error.inc.php');
require_once(DIR_FS_INC . 'xtc_db_query.inc.php');
require_once(DIR_FS_INC . 'xtc_db_queryCached.inc.php');
require_once(DIR_FS_INC . 'xtc_db_perform.inc.php');
require_once(DIR_FS_INC . 'xtc_db_fetch_array.inc.php');
require_once(DIR_FS_INC . 'xtc_db_num_rows.inc.php');
require_once(DIR_FS_INC . 'xtc_db_data_seek.inc.php');
require_once(DIR_FS_INC . 'xtc_db_insert_id.inc.php');
require_once(DIR_FS_INC . 'xtc_db_free_result.inc.php');
require_once(DIR_FS_INC . 'xtc_db_fetch_fields.inc.php');
require_once(DIR_FS_INC . 'xtc_db_output.inc.php');
require_once(DIR_FS_INC . 'xtc_db_input.inc.php');
require_once(DIR_FS_INC . 'xtc_db_prepare_input.inc.php');
require_once(DIR_FS_INC . 'xtc_get_ip_address.inc.php');
require_once(DIR_FS_INC . 'xtc_setcookie.inc.php');
require_once(DIR_FS_INC . 'xtc_validate_email.inc.php');
require_once(DIR_FS_INC . 'xtc_not_null.inc.php');
require_once(DIR_FS_INC . 'xtc_add_tax.inc.php');
require_once(DIR_FS_INC . 'xtc_get_tax_rate.inc.php');
require_once(DIR_FS_INC . 'xtc_get_qty.inc.php');
require_once(DIR_FS_INC . 'xtc_product_link.inc.php');
require_once(DIR_FS_INC . 'xtc_cleanName.inc.php');
und ersetze es mit:
// include needed functions
require_once('../'.DIR_WS_FUNCTIONS.'database.php');
//require_once(DIR_FS_INC . 'xtc_db_connect.inc.php');
//require_once(DIR_FS_INC . 'xtc_db_close.inc.php');
//require_once(DIR_FS_INC . 'xtc_db_error.inc.php');
//require_once(DIR_FS_INC . 'xtc_db_query.inc.php');
//require_once(DIR_FS_INC . 'xtc_db_queryCached.inc.php');
//require_once(DIR_FS_INC . 'xtc_db_perform.inc.php');
//require_once(DIR_FS_INC . 'xtc_db_fetch_array.inc.php');
//require_once(DIR_FS_INC . 'xtc_db_num_rows.inc.php');
//require_once(DIR_FS_INC . 'xtc_db_data_seek.inc.php');
//require_once(DIR_FS_INC . 'xtc_db_insert_id.inc.php');
//require_once(DIR_FS_INC . 'xtc_db_free_result.inc.php');
//require_once(DIR_FS_INC . 'xtc_db_fetch_fields.inc.php');
//require_once(DIR_FS_INC . 'xtc_db_output.inc.php');
//require_once(DIR_FS_INC . 'xtc_db_input.inc.php');
require_once(DIR_FS_INC . 'xtc_db_prepare_input.inc.php');
require_once(DIR_FS_INC . 'xtc_get_ip_address.inc.php');
require_once(DIR_FS_INC . 'xtc_setcookie.inc.php');
require_once(DIR_FS_INC . 'xtc_validate_email.inc.php');
require_once(DIR_FS_INC . 'xtc_not_null.inc.php');
require_once(DIR_FS_INC . 'xtc_add_tax.inc.php');
require_once(DIR_FS_INC . 'xtc_get_tax_rate.inc.php');
require_once(DIR_FS_INC . 'xtc_get_qty.inc.php');
require_once(DIR_FS_INC . 'xtc_product_link.inc.php');
require_once(DIR_FS_INC . 'xtc_cleanName.inc.php');
---------------------------------------------------------------------------------------------------
Achtung!!!! Diese folgende Änderung ist nur notwendig, wenn Sie bisher noch KEINE Bibliothek von Imedes
erworben haben, welches unter einer Bezahllizenz steht. Falls Sie nicht sicher sind, dann schauen Sie
einfach in den Quellcode der entsprechenden Datei oder sprechen uns einfach an
finde folgendes:
// make a connection to the database... now
xtc_db_connect() or die('Unable to connect to database server!');
und ersetze es mit:
// make a connection to the database... now
require_once (DIR_FS_CATALOG.'imedes_library/db_connect_alt_admin.php');
db_connect_alt() or die('Unable to connect to database server!');
global $ADODB_FETCH_MODE;
$ADODB_FETCH_MODE=ADODB_FETCH_ASSOC;
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-admin/includes/column_left.php
---------------------------------------------------------------------------------------------------
finde folgendes:
if (($_SESSION['customers_status']['customers_status_id'] == '0') && ($admin_access['csv_backend'] == '1')) echo '<a href="' . xtc_href_link('csv_backend.php') . '" class="menuBoxContentLink"> -' . BOX_IMPORT . '</a><br>';
und füge danach ein:
if (($_SESSION['customers_status']['customers_status_id'] == '0') && ($admin_access['news'] == '1')) echo'<a href="' . xtc_href_link(FILENAME_MODULE_NEWS) . '" class="menuBoxContentLink"> -' .BOX_MODULE_NEWS . '</a><br>';
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-admin/includes/configure.php
---------------------------------------------------------------------------------------------------
finde folgendes:
define('DIR_WS_CATALOG_POPUP_IMAGES', DIR_WS_CATALOG_IMAGES .'product_images/popup_images/');
und füge danach ein:
define('DIR_FS_CATALOG_ORIGINAL_NEWS_IMAGES', DIR_FS_CATALOG_IMAGES . 'news/original_images/');
define('DIR_FS_CATALOG_INFO_NEWS_IMAGES', DIR_FS_CATALOG_IMAGES . 'news/news_images/');
define('DIR_WS_CATALOG_ORIGINAL_NEWS_IMAGES', DIR_WS_CATALOG_IMAGES . 'news/original_images/');
define('DIR_WS_CATALOG_INFO_NEWS_IMAGES', DIR_WS_CATALOG_IMAGES . 'news/news_images/');
define('DIR_FS_CATALOG_DOWNLOAD_FILES', DIR_FS_CATALOG . 'media/files/');
define('DIR_WS_CATALOG_DOWNLOAD_FILES', DIR_WS_CATALOG . 'media/files/');
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-admin/includes/functions/sessions.php
---------------------------------------------------------------------------------------------------
Achtung!!!! Diese folgende Änderung ist nur notwendig, wenn Sie bisher noch KEINE Bibliothek von Imedes
erworben haben, welches unter einer Bezahllizenz steht. Falls Sie nicht sicher sind, dann schauen Sie
einfach in den Quellcode der entsprechenden Datei oder sprechen uns einfach an
finde folgendes:
function _sess_write($key, $val) {
global $SESS_LIFE;
und ersetze es mit:
function _sess_write($key, $val) {
global $SESS_LIFE;
if(!is_object($db)){// Vermutlich wird das $db objekt gelöscht, bevor die Session geschrieben wird
global$db;
require_once (DIR_FS_CATALOG.'imedes_library/db_connect_alt_admin.php');
db_connect_alt() or die('Unable to connect to database server!');
$db->Execute("SET NAMES 'latin1'");
$db->Execute("SET CHARACTER_SET_CLIENT=latin1");
$db->Execute("SET CHARACTER_SET_RESULTS=latin1");
}
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-admin/includes/modules/export/image_processing.php
---------------------------------------------------------------------------------------------------
finde folgendes:
}
function display() {
und füge davor ein:
if($dir_perf = opendir(DIR_FS_CATALOG_ORIGINAL_NEWS_IMAGES)){
while ($file_perf = readdir($dir_perf)) {
if (is_file(DIR_FS_CATALOG_ORIGINAL_NEWS_IMAGES . $file_perf)
and ($file_perf !="index.html")
and (strtolower($file_perf) != "thumbs.db")){
$files_perf[]=array(
'id' => $file_perf,
'text' =>$file_perf);
}
}
closedir($dir_perf);
}
for($i=0; $n=sizeof($files_perf), $i<$n; $i++) {
$news_image_name = $files_perf[$i]['text'];
if($files_perf[$i]['text'] != 'thumbs.db' && $files_perf[$i]['text'] != 'index.html') {
require(DIR_WS_INCLUDES . 'news_info_images.php');
}
}
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-admin/includes/stylesheet.css
---------------------------------------------------------------------------------------------------
finde folgendes:
.smallText { font-family: Verdana, Arial, sans-serif; font-size: 10px; }
.main { font-family: Verdana, Arial, sans-serif; font-size: 12px; }
.errorText { font-family: Verdana, Arial, sans-serif; font-size: 10px; color: #ff0000; }
und füge danach ein:
.pageHeading_news { font-family: Arial, Verdana, sans-serif; font-size: 16px; color: #000000; font-weight: bold;}
.news_header {background-color:#dddddd; font-family:Verdana, Arial, sans-serif; font-size: 11px;color: #000000;font-weight:bold; border:1px solid #fff; }
.news_content {background-color:#fff; font-family:Verdana, Arial, sans-serif; font-size: 11px;color:#7F7B7B;}
.news_content2 {background-color:#f8f8f8; font-family:Verdana, Arial, sans-serif; font-size: 11px;color:#7F7B7B;}
.news_field {background-color:#eeeeee;}
.news_heading {background-color:#eeeeee; font-family:Verdana, Arial, sans-serif; font-size: 11px;color:#666666;font-weight: bold;}
.news_link {font-family: Verdana, Arial, sans-serif; font-size:11px; color:#000000; font-weight:bold;}
.news_link:hover {font-family: Verdana, Arial, sans-serif; font-size:11px; color:#000000; font-weight:bold;}
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-inc/xtc_image_submit.inc.php
---------------------------------------------------------------------------------------------------
finde folgendes:
return $image_submit;
}
und füge danach ein:
function xtc_image_submit_news($image, $alt='', $parameters='') {
$image_submit = '<input type="image" src="' . xtc_parse_input_field_data(DIR_WS_LANGUAGES . $_SESSION['language'] . '/admin/images/'. $image, array('"' => '"')) . '" alt="' . xtc_parse_input_field_data($alt, array('"' => '"')) . '"';
if (xtc_not_null($alt)) $image_submit .= ' title=" ' . xtc_parse_input_field_data($alt, array('"' => '"')) . ' "';
if (xtc_not_null($parameters)) $image_submit .= ' ' . $parameters;
$image_submit .= ' />';
return $image_submit;
}
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-inc/xtc_wysiwyg.inc.php
---------------------------------------------------------------------------------------------------
finde folgendes:
// WYSIWYG editor gv_mail textarea named message
case 'gv_mail':
$val ='<script type="text/javascript" src="'.$js_src.'"></script>
und füge davor ein: }
// NEWS CONTENT
case 'news_content':
$val ='var oFCKeditor = new FCKeditor( \'text['.$langID.']\', \'100%\', \'400\' );
oFCKeditor.BasePath = "'.$path.'" ;
oFCKeditor.Config["LinkBrowserURL"] = "'.$filemanager.$file_path.'" ;
oFCKeditor.Config["ImageBrowserURL"] = "'.$filemanager.$image_path.'" ;
oFCKeditor.Config["AutoDetectLanguage"] = false ;
oFCKeditor.Config["DefaultLanguage"] = "'.$lang.'" ;
oFCKeditor.ReplaceTextarea();
';
break;
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-includes/application_top.php
---------------------------------------------------------------------------------------------------
Achtung!!!! Diese folgende Änderung ist nur notwendig, wenn Sie bisher noch KEINE Bibliothek von Imedes
erworben haben, welches unter einer Bezahllizenz steht. Falls Sie nicht sicher sind, dann schauen Sie
einfach in den Quellcode der entsprechenden Datei oder sprechen uns einfach an
finde folgendes:
// Database
require_once (DIR_FS_INC.'xtc_db_connect.inc.php');
require_once (DIR_FS_INC.'xtc_db_close.inc.php');
require_once (DIR_FS_INC.'xtc_db_error.inc.php');
require_once (DIR_FS_INC.'xtc_db_perform.inc.php');
require_once (DIR_FS_INC.'xtc_db_query.inc.php');
require_once (DIR_FS_INC.'xtc_db_queryCached.inc.php');
require_once (DIR_FS_INC.'xtc_db_fetch_array.inc.php');
require_once (DIR_FS_INC.'xtc_db_num_rows.inc.php');
require_once (DIR_FS_INC.'xtc_db_data_seek.inc.php');
require_once (DIR_FS_INC.'xtc_db_insert_id.inc.php');
require_once (DIR_FS_INC.'xtc_db_free_result.inc.php');
require_once (DIR_FS_INC.'xtc_db_fetch_fields.inc.php');
require_once (DIR_FS_INC.'xtc_db_output.inc.php');
require_once (DIR_FS_INC.'xtc_db_input.inc.php');
require_once (DIR_FS_INC.'xtc_db_prepare_input.inc.php');
require_once (DIR_FS_INC.'xtc_get_top_level_domain.inc.php');
und ersetze es mit:
// Database
require_once(DIR_WS_FUNCTIONS.'database.php');
// require_once (DIR_FS_INC.'xtc_db_connect.inc.php');
// require_once (DIR_FS_INC.'xtc_db_close.inc.php');
// require_once (DIR_FS_INC.'xtc_db_error.inc.php');
// require_once (DIR_FS_INC.'xtc_db_perform.inc.php');
// require_once (DIR_FS_INC.'xtc_db_query.inc.php');
// require_once (DIR_FS_INC.'xtc_db_queryCached.inc.php');
// require_once (DIR_FS_INC.'xtc_db_fetch_array.inc.php');
// require_once (DIR_FS_INC.'xtc_db_num_rows.inc.php');
// require_once (DIR_FS_INC.'xtc_db_data_seek.inc.php');
// require_once (DIR_FS_INC.'xtc_db_insert_id.inc.php');
// require_once (DIR_FS_INC.'xtc_db_free_result.inc.php');
// require_once (DIR_FS_INC.'xtc_db_fetch_fields.inc.php');
// require_once (DIR_FS_INC.'xtc_db_output.inc.php');
// require_once (DIR_FS_INC.'xtc_db_input.inc.php');
require_once (DIR_FS_INC.'xtc_db_prepare_input.inc.php');
require_once (DIR_FS_INC.'xtc_get_top_level_domain.inc.php');
---------------------------------------------------------------------------------------------------
Achtung!!!! Diese folgende Änderung ist nur notwendig, wenn Sie bisher noch KEINE Bibliothek von Imedes
erworben haben, welches unter einer Bezahllizenz steht. Falls Sie nicht sicher sind, dann schauen Sie
einfach in den Quellcode der entsprechenden Datei oder sprechen uns einfach an
finde folgendes:
// make a connection to the database... now
xtc_db_connect() or die('Unable to connect to database server!');
und ersetze es mit:
// make a connection to the database... now
require_once (DIR_FS_CATALOG.'imedes_library/db_connect_alt.php');
db_connect_alt() or die('Unable to connect to database server!');
global $ADODB_FETCH_MODE;
$ADODB_FETCH_MODE=ADODB_FETCH_ASSOC;
---------------------------------------------------------------------------------------------------
Achtung!!!! Diese folgende Änderung ist nur notwendig, wenn Sie bisher noch KEINE Bibliothek von Imedes
erworben haben, welches unter einer Bezahllizenz steht. Falls Sie nicht sicher sind, dann schauen Sie
einfach in den Quellcode der entsprechenden Datei oder sprechen uns einfach an
finde folgendes:
// include the language translations
require (DIR_WS_LANGUAGES.$_SESSION['language'].'/'.$_SESSION['language'].'.php');
und ersetze es mit:
// include the language translations
require (DIR_WS_LANGUAGES.$_SESSION['language'].'/'.$_SESSION['language'].'.php');
$db->Execute("SET NAMES 'latin1'");
$db->Execute("SET CHARACTER_SET_CLIENT=latin1");
$db->Execute("SET CHARACTER_SET_RESULTS=latin1");
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-includes/center_modules.php
---------------------------------------------------------------------------------------------------
finde folgendes:
require(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS);
und füge davor ein:
require(DIR_WS_MODULES . FILENAME_NEWS_NEWS);
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-includes/configure.php
---------------------------------------------------------------------------------------------------
finde folgendes:
define('DIR_WS_POPUP_IMAGES', DIR_WS_IMAGES .'product_images/popup_images/');
und füge danach ein:
define('DIR_WS_CATALOG_ORIGINAL_NEWS_IMAGES', DIR_WS_IMAGES . 'news/original_images/');
define('DIR_WS_CATALOG_INFO_NEWS_IMAGES', DIR_WS_IMAGES . 'news/news_images/');
define('DIR_WS_CATALOG_DOWNLOAD_FILES', DIR_WS_CATALOG . 'media/files/');
define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');
define('DIR_FS_CATALOG_ORIGINAL_NEWS_IMAGES', DIR_FS_CATALOG_IMAGES . 'news/original_images/');
define('DIR_FS_CATALOG_INFO_NEWS_IMAGES', DIR_FS_CATALOG_IMAGES . 'news/news_images/');
define('DIR_FS_CATALOG_DOWNLOAD_FILES', DIR_FS_CATALOG . 'media/files/');
define('DIR_WS_CATALOG_DOWNLOAD_FILES', DIR_WS_CATALOG . 'media/files/');
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-includes/database_tables.php
---------------------------------------------------------------------------------------------------
finde folgendes:
define('TABLE_CAMPAIGNS_IP','campaigns_ip');
und füge danach ein:
define('TABLE_NEWS_NEWS', 'modul_news');
define('TABLE_NEWS_NEWS_DESCRIPTION', 'modul_news_description');
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-includes/filenames.php
---------------------------------------------------------------------------------------------------
finde folgendes:
define('FILENAME_BANNER', 'banners.php');
und füge danach ein:
define('FILENAME_NEWS', 'news.php'); // NEWS
define('FILENAME_NEWS_NEWS', 'news.php'); // NEWS
define('FILENAME_SHOP_NEWS', 'shopnews.php');
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-includes/functions/sessions.php
---------------------------------------------------------------------------------------------------
Achtung!!!! Diese folgende Änderung ist nur notwendig, wenn Sie bisher noch KEINE Bibliothek von Imedes
erworben haben, welches unter einer Bezahllizenz steht. Falls Sie nicht sicher sind, dann schauen Sie
einfach in den Quellcode der entsprechenden Datei oder sprechen uns einfach an
finde folgendes:
function _sess_write($key, $val) {
global $SESS_LIFE;
und ersetze es mit:
function _sess_write($key, $val) {
global $SESS_LIFE;
if(!is_object($db)){// Vermutlich wird das $db objekt gelöscht, bevor die Session geschrieben wird
global$db;
require_once (DIR_FS_CATALOG.'imedes_library/db_connect_alt.php');
db_connect_alt() or die('Unable to connect to database server!');
$db->Execute("SET NAMES 'latin1'");
$db->Execute("SET CHARACTER_SET_CLIENT=latin1");
$db->Execute("SET CHARACTER_SET_RESULTS=latin1");
}
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-lang/english/admin/configuration.php
---------------------------------------------------------------------------------------------------
finde folgendes:
define('DISPLAY_REVOCATION_ON_CHECKOUT_DESC','Display right of revocation on checkout_confirmation?');
und füge danach ein:
define('NEWS_LIMIT_STARTPAGE_TITLE', 'Number of new on the starting side');
define('NEWS_LIMIT_STARTPAGE_DESC', 'Specify maximum number of new on your Shop Startseite.');
define('NEWS_MODUL_ON_TITLE', 'News module activate');
define('NEWS_MODUL_ON_DESC', 'Activating or deactivating the news module on the starting side.');
define('NEWS_IMAGE_INFO_WIDTH_TITLE', 'Width of the news images');
define('NEWS_IMAGE_INFO_WIDTH_DESC', 'Maximum width of the news images on the starting side');
define('NEWS_IMAGE_INFO_HEIGHT_TITLE', 'Height of the news images');
define('NEWS_IMAGE_INFO_HEIGHT_DESC', 'Maximum height of the news images on the starting side');
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-lang/english/admin/english.php
---------------------------------------------------------------------------------------------------
finde folgendes:
?>
und füge davor ein:
define('BOX_MODULE_NEWS','News Manager V1.1');
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-lang/english/english.php
---------------------------------------------------------------------------------------------------
finde folgendes:
?>
und füge davor ein:
define('TEXT_DISPLAY_NUMBER_OF_NEWS', 'Show <b>%d</b> - <b>%d</b> (of <b>%d</b>)');
define('TEXT_NO_NEWS', 'Still no News available');
define('TEXT_NO_NEWS_FOUND', 'No news found');
define('TEXT_NEWS_INVALID_FROM_DATE', '* invalid date (from)');
define('TEXT_NEWS_INVALID_TO_DATE', '* invalid date (to)');
define('NAVBAR_TITLE_NEWS', 'News');
define('NAVBAR_TITLE_NEWS_ARCHIV', 'News archive');
define('NAVBAR_TITLE_NEWS_SEARCH', 'News search');
define('NAVBAR_TITLE_NEWS_ADD', 'Add news');
define('BUTTON_SAVE', 'Save');
define('TEXT_NEWS_ADD_TITLE_EMPTY', 'You must enter a title');
define('TEXT_NEWS_ADD_SHORTTEXT_EMPTY', 'You must enter a shorttext');
define('TEXT_NEWS_ADD_TEXT_EMPTY', 'You must enter a text');
define('TEXT_NEWS_ADDED', 'The news have been saved and will be activated soon');
define('TEXT_NEWS_LAST_WEEK', 'Last week');
define('TEXT_NEWS_LAST_MONTH', 'Last month');
define('TEXT_NEWS_LAST_YEAR', 'Last year');
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-lang/english/lang_english.conf
---------------------------------------------------------------------------------------------------
füge am Ende ein:
[news]
read_more = 'read more ...'
heading_news = 'News'
text_date = 'create '
text_download_file = 'Downloadfile: '
heading_news_archiv = 'News archive'
heading_news_search = 'News search'
heading_news_add = 'Add news'
text_search_link = 'Back to searchresults'
title_keywords = 'Enter your keywords:'
title_date = 'Date:'
text_back = 'Back'
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-lang/german/admin/configuration.php
---------------------------------------------------------------------------------------------------
finde folgendes:
?>
und füge davor ein:
define('NEWS_LIMIT_STARTPAGE_TITLE', 'Newsanzahl auf der Startseite');
define('NEWS_LIMIT_STARTPAGE_DESC', 'Legen Sie maximale Newsanzahl auf Ihrer Shop-Startseite fest.');
define('NEWS_MODUL_ON_TITLE', 'Newsmodul aktivieren');
define('NEWS_MODUL_ON_DESC', 'Aktivieren oder Deaktivieren des Newsmoduls auf der Startseite.');
define('NEWS_IMAGE_INFO_WIDTH_TITLE', 'Breite der Newsbilder');
define('NEWS_IMAGE_INFO_WIDTH_DESC', 'Maximale Breite der Newsbilder auf der Startseite');
define('NEWS_IMAGE_INFO_HEIGHT_TITLE', 'Höhe der Newsbilder');
define('NEWS_IMAGE_INFO_HEIGHT_DESC', 'Maximale Höhe der Newsbilder auf der Startseite');
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-lang/german/admin/german.php
---------------------------------------------------------------------------------------------------
finde folgendes:
?>
und füge davor ein:
define('BOX_MODULE_NEWS','News Manager V1.1');
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-lang/german/german.php
---------------------------------------------------------------------------------------------------
finde folgendes:
?>
und füge davor ein:
define('TEXT_DISPLAY_NUMBER_OF_NEWS', 'Zeige <b>%d</b> bis <b>%d</b> (von <b>%d</b>)');
define('TEXT_NO_NEWS', 'Noch keine News vorhanden');
define('TEXT_NO_NEWS_FOUND', 'Keine News vorhanden');
define('TEXT_NEWS_INVALID_FROM_DATE', '* ungültiges Datum (von)');
define('TEXT_NEWS_INVALID_TO_DATE', '* ungültiges Datum (bis)');
define('NAVBAR_TITLE_NEWS', 'News');
define('NAVBAR_TITLE_NEWS_ARCHIV', 'News Archiv');
define('NAVBAR_TITLE_NEWS_SEARCH', 'News Suche');
define('NAVBAR_TITLE_NEWS_ADD', 'News hinzufügen');
define('BUTTON_SAVE', 'Speichern');
define('TEXT_NEWS_ADD_TITLE_EMPTY', 'Der Titel muß angegeben werden');
define('TEXT_NEWS_ADD_SHORTTEXT_EMPTY', 'Eine Einleitung muß angegeben werden');
define('TEXT_NEWS_ADD_TEXT_EMPTY', 'Der Newstext muß angegeben werden');
define('TEXT_NEWS_ADDED', 'Die News wurden eingetragen und werden in kürze von uns freigeschaltet');
define('TEXT_NEWS_LAST_WEEK', 'Letzte Woche');
define('TEXT_NEWS_LAST_MONTH', 'Letzten Monat');
define('TEXT_NEWS_LAST_YEAR', 'Letztes Jahr');
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-lang/german/lang_german.conf
---------------------------------------------------------------------------------------------------
finde folgendes:
text_my_page = 'Mehr auf Ihrer privaten Seite'
text_in_category = 'In '
text_pwd = 'Passwort'
und füge danach ein:
heading_news = 'News'
text_news_archiv = 'Archiv'
text_news_search = 'Suchen'
text_news_add = 'Hinzufügen'
---------------------------------------------------------------------------------------------------
und am Ende einfügen:
[news]
read_more = 'weiter lesen ...'
heading_news = 'News'
heading_news_archiv = 'News Archiv'
heading_news_search = 'News Suche'
heading_news_add = 'News hinzufügen'
text_date = 'verfasst am '
text_download_file = 'Downloaddatei: '
text_search_link = 'Zurück zum Suchergebnis'
title_keywords = 'Geben Sie Ihre Suchbegriffe ein:'
title_date = 'Zeitraum:'
text_back = 'Zurück'
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-templates/xtc4/index.html
---------------------------------------------------------------------------------------------------
finde folgendes:
<td>{$box_CART}{$box_LOGIN}{$box_ADMIN}{$box_NEWSLETTER}{$box_BESTSELLERS}{$box_INFOBOX} {$box_CURRENCIES} {$box_LANGUAGES}{$box_MANUFACTURERS_INFO}{$box_MANUFACTURERS} </td>
und ersetze es mit:
<td>{$box_CART}{$box_NEWS}{$box_LOGIN}{$box_ADMIN}{$box_NEWSLETTER}{$box_BESTSELLERS}{$box_INFOBOX} {$box_CURRENCIES} {$box_LANGUAGES}{$box_MANUFACTURERS_INFO}{$box_MANUFACTURERS} </td>
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-templates/xtc4/module/main_content.html
---------------------------------------------------------------------------------------------------
finde folgendes:
{$MODULE_error}
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td class="pageHeading"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>{$title}</td>
</tr>
</table></td>
</tr>
<tr>
<td class="pageHeading"> </td>
</tr>
<tr>
<td class="main">{$text}<br /></td>
</tr>
<tr>
<td class="main">{$MODULE_new_products}</td>
</tr>
und ersetze es mit:
{$MODULE_error}
<table width="100%" border="0" cellpadding="0" cellspacing="0">
{if $title}
<tr>
<td class="pageHeading" align="left">{$title}</td>
</tr>
{/if}
{if $text}
<tr>
<td class="main" valign="top" align="left">{$text}<br /></td>
</tr>
{/if}
{if $MODULE_news}
<tr>
<td class="main"><br />{$MODULE_news}</td>
</tr>
{/if}
<tr>
<td class="main">{$MODULE_new_products}</td>
</tr>
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-templates/xtc4/source/boxes.php
---------------------------------------------------------------------------------------------------
finde folgendes:
include(DIR_WS_BOXES . 'currencies.php');
}
und füge danach ein:
require(DIR_WS_BOXES . 'news.php');
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
|