Jump to content
Sign in to follow this  
iankil

[Contribution] Mindsparx admin

Recommended Posts

Hello!

 

I have got a few questions about how to add links, and how to install the admin area, so i tought i´ll start a topic about it.

Mindsparx admin is a better looking admin with a new layout and a horisontal meny based on dynamicdrive.com's Chrome Css drop Menu, you can see what it looks like here:

 

http://www.mindsparx.org/mindsparx_admin/

 

and the contrib is here: http://addons.oscommerce.com/info/6440

 

The installation shouldn't takes more than 10 minutes for an experienced oscommerce user.

 

All the links is now moved to the header and how to add them is explained at the end of the Install file, there is also a few links to the most used contribution, and if you have any links that you created please add them here for others to use.

 

Cheers!

Edited by iankil

My contributions

Mindsparx admin for 2.2

Mindsparx admin for 2.3

Mindsparx admin for 3.0

Mindsparx specials 2.2

Starproduct pimped for 2.2

Starproduct pimped for 2.3

Mindsparx template osc Sport 2.2

Mindsparx template Horizon 2.3

+ a few more...

Share this post


Link to post
Share on other sites

in admin layout... what is the difference between Coustumers: and Customers... y saw 2 boxes whith this headers

Share this post


Link to post
Share on other sites

One of them is misspelled in my lang file and the other one chould be costumers online ;) i´ll change that


My contributions

Mindsparx admin for 2.2

Mindsparx admin for 2.3

Mindsparx admin for 3.0

Mindsparx specials 2.2

Starproduct pimped for 2.2

Starproduct pimped for 2.3

Mindsparx template osc Sport 2.2

Mindsparx template Horizon 2.3

+ a few more...

Share this post


Link to post
Share on other sites
One of them is misspelled in my lang file and the other one chould be costumers online ;) i´ll change that

 

customers :rolleyes:


My contributions

Mindsparx admin for 2.2

Mindsparx admin for 2.3

Mindsparx admin for 3.0

Mindsparx specials 2.2

Starproduct pimped for 2.2

Starproduct pimped for 2.3

Mindsparx template osc Sport 2.2

Mindsparx template Horizon 2.3

+ a few more...

Share this post


Link to post
Share on other sites

wow.....great job with the admin section.....its a million times more eye appealing....I havent installed it yet, but will soon. I'll post my feedback asap.


Vetty

Chief Creative Officer

ONO Tea |

Share this post


Link to post
Share on other sites

Hi there,

 

Great contribution !!

 

But I have a problem: what kind of login for administrators is being used? I can't login anymore because the tables are different. At the moment I use Access with Level Account (v. 2.2) but I think the Mindsparx admin is using a different one.

 

could you please tell me which login-script is being used so I can install that one?

 

Kind regards,

 

Marcus

Share this post


Link to post
Share on other sites

Hi and thanks ;)

 

The login page is from the latest osc release v2.2 Release Candidate 2a, the only changes i have done is for design. The loginpage that i provided is not needed for the admin to work it’s just a designed version, so you could probably use your old one and hopefully that should work...

 

/Janne


My contributions

Mindsparx admin for 2.2

Mindsparx admin for 2.3

Mindsparx admin for 3.0

Mindsparx specials 2.2

Starproduct pimped for 2.2

Starproduct pimped for 2.3

Mindsparx template osc Sport 2.2

Mindsparx template Horizon 2.3

+ a few more...

Share this post


Link to post
Share on other sites

hi, my English is not well so i'm very sorry for any language mistakes :)

 

My first problem is about admin/login.php . mys structure of this file is diffrent. could you make me a good one ?

 

here is my code of login.php

 

<?php

/*

$Id: login.php,v 1.17 2003/02/14 12:57:29 dgw_ Exp $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2002 osCommerce

 

Released under the GNU General Public License

*/

 

require('includes/application_top.php');

 

if (isset($HTTP_GET_VARS['action']) && ($HTTP_GET_VARS['action'] == 'process')) {

$email_address = tep_db_prepare_input($HTTP_POST_VARS['email_address']);

$password = tep_db_prepare_input($HTTP_POST_VARS['password']);

 

// Check if email exists

$check_admin_query = tep_db_query("select admin_id as login_id, admin_groups_id as login_groups_id, admin_firstname as login_firstname, admin_email_address as login_email_address, admin_password as login_password, admin_modified as login_modified, admin_logdate as login_logdate, admin_lognum as login_lognum from " . TABLE_ADMIN . " where admin_email_address = '" . tep_db_input($email_address) . "'");

if (!tep_db_num_rows($check_admin_query)) {

$HTTP_GET_VARS['login'] = 'fail';

} else {

$check_admin = tep_db_fetch_array($check_admin_query);

// Check that password is good

if (!tep_validate_password($password, $check_admin['login_password'])) {

$HTTP_GET_VARS['login'] = 'fail';

} else {

if (tep_session_is_registered('password_forgotten')) {

tep_session_unregister('password_forgotten');

}

 

$login_id = $check_admin['login_id'];

$login_groups_id = $check_admin[login_groups_id];

$login_firstname = $check_admin['login_firstname'];

$login_email_address = $check_admin['login_email_address'];

$login_logdate = $check_admin['login_logdate'];

$login_lognum = $check_admin['login_lognum'];

$login_modified = $check_admin['login_modified'];

 

tep_session_register('login_id');

tep_session_register('login_groups_id');

tep_session_register('login_first_name');

 

//$date_now = date('Ymd');

tep_db_query("update " . TABLE_ADMIN . " set admin_logdate = now(), admin_lognum = admin_lognum+1 where admin_id = '" . $login_id . "'");

 

if (($login_lognum == 0) || !($login_logdate) || ($login_email_address == 'admin@localhost.pl') || ($login_modified == '0000-00-00 00:00:00')) {

tep_redirect(tep_href_link(FILENAME_ADMIN_ACCOUNT));

} else {

tep_redirect(tep_href_link(FILENAME_DEFAULT));

}

 

}

}

}

 

require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_LOGIN);

?>

<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">

<html <?php echo HTML_PARAMS; ?>>

<head>

<meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>">

<title><?php echo TITLE; ?></title>

<style type="text/css"><!--

a { color:#080381; text-decoration:none; }

a:hover { color:#aabbdd; text-decoration:underline; }

a.text:link, a.text:visited { color: #ffffff; text-decoration: none; }

a:text:hover { color: #000000; text-decoration: underline; }

a.sub:link, a.sub:visited { color: #dddddd; text-decoration: none; }

A.sub:hover { color: #dddddd; text-decoration: underline; }

.sub { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; font-weight: bold; line-height: 1.5; color: #dddddd; }

.text { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; font-weight: bold; color: #000000; }

.smallText { font-family: Verdana, Arial, sans-serif; font-size: 10px; }

.login_heading { font-family: Verdana, Arial, sans-serif; font-size: 12px; color: #ffffff;}

.login { font-family: Verdana, Arial, sans-serif; font-size: 12px; color: #000000;}

//--></style>

</head>

<body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0" bgcolor="#FFFFFF">

 

<table border="0" width="600" height="100%" cellspacing="0" cellpadding="0" align="center" valign="middle">

<tr>

<td><table border="0" width="600" height="440" cellspacing="0" cellpadding="1" align="center" valign="middle">

<tr bgcolor="#000000">

<td><table border="0" width="600" height="440" cellspacing="0" cellpadding="0">

<tr bgcolor="#ffffff" height="50">

<td height="50"><?php echo tep_image(DIR_WS_IMAGES . 'oscommerce.gif', 'osCommerce', '204', '50'); ?></td>

<td align="right" class="text" nowrap><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . HEADER_TITLE_ADMINISTRATION . '</a> | <a href="' . tep_catalog_href_link() . '">' . HEADER_TITLE_ONLINE_CATALOG . '</a> | <a href="http://www.oscommerce.pl" target="_blank">' . HEADER_TITLE_SUPPORT_SITE . '</a>'; ?>  </td>

</tr>

<tr bgcolor="#874826">

<td colspan="2" align="center" valign="middle">

<?php echo tep_draw_form('login', 'login.php','action=process'); ?>

<table width="280" border="0" cellspacing="0" cellpadding="2">

<tr>

<td class="login_heading" valign="top"> <b><?php echo HEADING_RETURNING_ADMIN; ?></b></td>

</tr>

<tr>

<td height="100%" valign="top" align="center">

<table border="0" height="100%" cellspacing="0" cellpadding="1" bgcolor="#666666">

<tr><td><table border="0" width="100%" height="100%" cellspacing="3" cellpadding="2" bgcolor="#F0F0FF">

<?php

if ($HTTP_GET_VARS['login'] == 'fail') {

$info_message = TEXT_LOGIN_ERROR;

}

 

if (isset($info_message)) {

?>

<tr>

<td colspan="2" class="smallText" align="center"><?php echo $info_message; ?></td>

</tr>

<?php

} else {

?>

<tr>

<td colspan="2"><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>

</tr>

<?php

}

?>

<tr>

<td class="login"><?php echo ENTRY_EMAIL_ADDRESS; ?></td>

<td class="login"><?php echo tep_draw_input_field('email_address'); ?></td>

</tr>

<tr>

<td class="login"><?php echo ENTRY_PASSWORD; ?></td>

<td class="login"><?php echo tep_draw_password_field('password'); ?></td>

</tr>

<tr>

<td colspan="2" align="right" valign="top"><?php echo tep_image_submit('button_confirm.gif', IMAGE_BUTTON_LOGIN); ?></td>

</tr>

</table></td></tr>

</table>

</td>

</tr>

<tr>

<td valign="top" align="right"><?php echo '<a class="sub" href="' . tep_href_link(FILENAME_PASSWORD_FORGOTTEN, '', 'SSL') . '">' . TEXT_PASSWORD_FORGOTTEN . '</a><span class="sub"> </span>'; ?></td>

</tr>

</table>

</form>

 

</td>

</tr>

</table></td>

</tr>

<tr>

<td><?php require(DIR_WS_INCLUDES . 'footer.php'); ?></td>

</tr>

</table></td>

</tr>

</table>

 

</body>

 

</html>

 

 

 

after that i have another problem, which is in "Configuration" below is a screenshot:

error.jpg

Share this post


Link to post
Share on other sites

Hi!

Your first problem:

It looks like you have a older version of Osc and the loginpage looks very different, i don´t have that version installed but i made you an other login page that should work with the code that you pasted, try it and let me know if it works,

 

 

<?php

/*

$Id: login.php,v 1.17 2003/02/14 12:57:29 dgw_ Exp $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2002 osCommerce

 

Released under the GNU General Public License

*/

 

require('includes/application_top.php');

 

if (isset($HTTP_GET_VARS['action']) && ($HTTP_GET_VARS['action'] == 'process')) {

$email_address = tep_db_prepare_input($HTTP_POST_VARS['email_address']);

$password = tep_db_prepare_input($HTTP_POST_VARS['password']);

 

// Check if email exists

$check_admin_query = tep_db_query("select admin_id as login_id, admin_groups_id as login_groups_id, admin_firstname as login_firstname, admin_email_address as login_email_address, admin_password as login_password, admin_modified as login_modified, admin_logdate as login_logdate, admin_lognum as login_lognum from " . TABLE_ADMIN . " where admin_email_address = '" . tep_db_input($email_address) . "'");

if (!tep_db_num_rows($check_admin_query)) {

$HTTP_GET_VARS['login'] = 'fail';

} else {

$check_admin = tep_db_fetch_array($check_admin_query);

// Check that password is good

if (!tep_validate_password($password, $check_admin['login_password'])) {

$HTTP_GET_VARS['login'] = 'fail';

} else {

if (tep_session_is_registered('password_forgotten')) {

tep_session_unregister('password_forgotten');

}

 

$login_id = $check_admin['login_id'];

$login_groups_id = $check_admin[login_groups_id];

$login_firstname = $check_admin['login_firstname'];

$login_email_address = $check_admin['login_email_address'];

$login_logdate = $check_admin['login_logdate'];

$login_lognum = $check_admin['login_lognum'];

$login_modified = $check_admin['login_modified'];

 

tep_session_register('login_id');

tep_session_register('login_groups_id');

tep_session_register('login_first_name');

 

//$date_now = date('Ymd');

tep_db_query("update " . TABLE_ADMIN . " set admin_logdate = now(), admin_lognum = admin_lognum+1 where admin_id = '" . $login_id . "'");

 

if (($login_lognum == 0) || !($login_logdate) || ($login_email_address == 'admin@localhost.pl') || ($login_modified == '0000-00-00 00:00:00')) {

tep_redirect(tep_href_link(FILENAME_ADMIN_ACCOUNT));

} else {

tep_redirect(tep_href_link(FILENAME_DEFAULT));

}

 

}

}

}

 

require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_LOGIN);

?>

<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">

<html <?php echo HTML_PARAMS; ?>>

<head>

<meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>">

<title><?php echo TITLE; ?></title>

 

<link rel="stylesheet" type="text/css" href="includes/stylesheet.css">

</head>

<body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0" bgcolor="#FFFFFF">

<br>

<br>

<br>

<br>

<br>

 

<?php echo tep_draw_form('login', 'login.php','action=process'); ?>

<table style="border:solid 1px; border-color:#CCCCCC;" width="300px" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">

<?php

if ($HTTP_GET_VARS['login'] == 'fail') {

$info_message = TEXT_LOGIN_ERROR;

}

 

if (isset($info_message)) {

?>

<tr>

<td colspan="2" class="smallText" align="center"><?php echo $info_message; ?></td>

</tr>

<?php

} else {

?>

 

<?php

}

?>

<tr>

<td width="167" valign="middle" class="dataTableHeadingRow" style="font-family:Verdana, Arial, Helvetica, sans-serif; font-weight:bold; font-size:12px; color:#FFFFFF; ">  <?php echo HEADING_TITLE; ?></td>

<td width="131" align="center" valign="middle" class="dataTableHeadingRow" style="font-family:Verdana, Arial, Helvetica, sans-serif; font-weight:bold; font-size:12px; color:#FFFFFF; "><?php // echo tep_draw_form('adminlanguage', FILENAME_DEFAULT, '', 'get') . tep_draw_pull_down_menu('language', $languages_array, $languages_selected, 'onChange="this.form.submit();"') . tep_hide_session_id() . '</form>'; ?></td>

</tr>

<tr>

<td height="40" colspan="2" valign="bottom" class="infoBoxContent"><?php echo ENTRY_EMAIL_ADDRESS; ?><br><?php echo tep_draw_input_field('email_address'); ?></td>

</tr>

<tr>

<td height="40" colspan="2" valign="bottom" class="infoBoxContent"><?php echo ENTRY_PASSWORD; ?><br><?php echo tep_draw_password_field('password'); ?></td>

</tr>

<tr>

<td height="50" colspan="2" align="center" valign="middle" class="infoBoxContent">

<?php echo tep_image_submit('button_confirm.gif', IMAGE_BUTTON_LOGIN); ?><br>

<?php echo '<a class="sub" href="' . tep_href_link(FILENAME_PASSWORD_FORGOTTEN, '', 'SSL') . '">' . TEXT_PASSWORD_FORGOTTEN . '</a><span class="sub"> </span>'; ?></td>

</tr>

</table></form>

 

 

<br>

<?php require(DIR_WS_INCLUDES . 'footer.php'); ?></td>

 

</body>

 

</html>

 

 

 

 

 

 

 

 

Your other problem is that your Config drop cant find the language file used, so try to paste this code to one of your lang files (should be polski.php or similar) or try to paste it to that lang file that works in that menu:

 

 

// configuration box text in includes/boxes/configuration.php

define('BOX_HEADING_CONFIGURATION', 'Configuration');

define('BOX_CONFIGURATION_MYSTORE', 'Settings');

define('BOX_CONFIGURATION_MINIMUM_VALUES', 'Minimum Values');

define('BOX_CONFIGURATION_MAXIMUM_VALUES', 'Maximum Values');

define('BOX_CONFIGURATION_IMAGES', 'Images');

define('PROD_PIC', 'Product pictures');

define('BOX_CONFIGURATION_CUSTOMER_DETAILS', 'Customer Details');

define('BOX_CONFIGURATION_MODULE_OPTIONS', 'Module Options');

define('BOX_CONFIGURATION_SHIPPING_PACKING', 'Shipping/Packing');

define('BOX_CONFIGURATION_PRODUCT_LISTING', 'Product Listing');

define('BOX_CONFIGURATION_STOCK', 'Stock');

define('BOX_CONFIGURATION_LOGGING', 'Logging');

define('BOX_CONFIGURATION_CACHE', 'Cache');

define('BOX_CONFIGURATION_EMAIL_OPTIONS', 'E-Mail Options');

define('BOX_CONFIGURATION_DOWNLOAD', 'Download');

define('BOX_CONFIGURATION_GZIP_COMPRESSION', 'GZip Compression');

define('BOX_CONFIGURATION_SESSIONS', 'Sessions');

define('BOX_CONFIGURATION_ORDER_EDITOR', 'Order editor');

define('BOX_TITLE_ORDERS', 'Orders');

define('BOX_TITLE_STATISTICS', 'Statistics');

define('BOX_ENTRY_SUPPORT_SITE', 'Support Site');

define('BOX_ENTRY_SUPPORT_FORUMS', 'Support Forums');

define('BOX_ENTRY_CONTRIBUTIONS', 'Contributions');

define('BOX_ENTRY_CUSTOMERS', 'Customers:');

define('BOX_ENTRY_PRODUCTS', 'Products:');

define('BOX_ENTRY_REVIEWS', 'Reviews:');

define('BOX_CONNECTION_PROTECTED', 'You are protected by a %s secure SSL connection.');

define('BOX_CONNECTION_UNPROTECTED', 'You are <font color="#ff0000">not</font> protected by a secure SSL connection.');

define('BOX_CONNECTION_UNKNOWN', 'unknown');

define('CATALOG_CONTENTS', 'Contents');

define('REPORTS_PRODUCTS', 'Products');

define('REPORTS_ORDERS', 'Orders');

define('TOOLS_BACKUP', 'Backup');

define('TOOLS_BANNERS', 'Banners');

define('TOOLS_FILES', 'Files');

define('BOX_CONFIGURATION_ADMINISTRATORS', 'Administrators');

 

 

make sure that you dont define the same words twise, just use the ones you need.

I hope this helps, good luck!

 

/Janne

Edited by iankil

My contributions

Mindsparx admin for 2.2

Mindsparx admin for 2.3

Mindsparx admin for 3.0

Mindsparx specials 2.2

Starproduct pimped for 2.2

Starproduct pimped for 2.3

Mindsparx template osc Sport 2.2

Mindsparx template Horizon 2.3

+ a few more...

Share this post


Link to post
Share on other sites

Quick question, I just installed it and everything looks great! I have one minor error, however, when I click on the "stock report" link in the welcome page it takes me to www.xxx.com/admin/FILENAME_STATS_LOW_STOCK?selected_box=reports and i get a 404 page missing error rather than going to the actual "stats_low_stock.php" page. It also does this from the menu under "Reports"

 

I checked my includes/filenames.php and have it defined so I'm not sure if I may be missing something else?

Edited by ajk0519

Share this post


Link to post
Share on other sites
Quick question, I just installed it and everything looks great! I have one minor error, however, when I click on the "stock report" link in the welcome page it takes me to www.xxx.com/admin/FILENAME_STATS_LOW_STOCK?selected_box=reports and i get a 404 page missing error rather than going to the actual "stats_low_stock.php" page. It also does this from the menu under "Reports"

 

I checked my includes/filenames.php and have it defined so I'm not sure if I may be missing something else?

 

 

Hi!

I downloaded the files and installed it without any problems, see if the file stats_low_stock.php is in the admin folder. :huh:


My contributions

Mindsparx admin for 2.2

Mindsparx admin for 2.3

Mindsparx admin for 3.0

Mindsparx specials 2.2

Starproduct pimped for 2.2

Starproduct pimped for 2.3

Mindsparx template osc Sport 2.2

Mindsparx template Horizon 2.3

+ a few more...

Share this post


Link to post
Share on other sites

Hi all !! Iankil...this is a fantastic job. I've installed yesterday and i'm adding contribs. new links that i have in my store.

 

Now I wanna change the width of the admin pages (larger than now is), but i don't find where to change it. ¿can you help me?

 

I'm having some problems when I add a new "headerlink" because of the size....

 

Thank you.

Edited by ReyBlack

Share this post


Link to post
Share on other sites
Hi all !! Iankil...this is a fantastic job. I've installed yesterday and i'm adding contribs. new links that i have in my store.

 

Now I wanna change the width of the admin pages (larger than now is), but i don't find where to change it. ¿can you help me?

 

I'm having some problems when I add a new "headerlink" because of the size....

 

Thank you.

 

 

Hi im glad you like it ;)

 

To change the width on the page requires that you change the width on all pages under the Admin folder, if you look at first <table> in index.php for an example its 1000 pixels wide, change that to what ever value you need and the rest of the page will follow since the resta of the values are set to 100%. This shouldnt thake more that 5- 10 minutes...

 

Good luck

 

/Janne


My contributions

Mindsparx admin for 2.2

Mindsparx admin for 2.3

Mindsparx admin for 3.0

Mindsparx specials 2.2

Starproduct pimped for 2.2

Starproduct pimped for 2.3

Mindsparx template osc Sport 2.2

Mindsparx template Horizon 2.3

+ a few more...

Share this post


Link to post
Share on other sites

Hi,

 

I have added your cool contrib but I run into the following problem

 

Example; when I want to change some setting in the store then the edit screen does not show

 

When I want to change the [store name] I can click edit and I can make the change

 

When I want to update a setting like [Country] I click [Edit] and the normal change window (where the edit button shows) is gone and I cannot make a change

 

Can you help?

 

Thanks

Share this post


Link to post
Share on other sites
Hi,

 

I have added your cool contrib but I run into the following problem

 

Example; when I want to change some setting in the store then the edit screen does not show

 

When I want to change the [store name] I can click edit and I can make the change

 

When I want to update a setting like [Country] I click [Edit] and the normal change window (where the edit button shows) is gone and I cannot make a change

 

Can you help?

 

Thanks

 

 

Hi, im not sure if this is because this contribution since its not going that deep in to the codes. The only thing i can think of is that it's interfaring with the java script this contrib requires, but im not sure. Try to remove the java script from the header and see if it works and try to run the shop with your old configuratipn.php file and see if the problem was there before you installed this contribution.

 

/Janne.k


My contributions

Mindsparx admin for 2.2

Mindsparx admin for 2.3

Mindsparx admin for 3.0

Mindsparx specials 2.2

Starproduct pimped for 2.2

Starproduct pimped for 2.3

Mindsparx template osc Sport 2.2

Mindsparx template Horizon 2.3

+ a few more...

Share this post


Link to post
Share on other sites
Hi im glad you like it ;)

 

To change the width on the page requires that you change the width on all pages under the Admin folder, if you look at first <table> in index.php for an example its 1000 pixels wide, change that to what ever value you need and the rest of the page will follow since the resta of the values are set to 100%. This shouldnt thake more that 5- 10 minutes...

 

Good luck

 

/Janne

 

Ok...It works !!!! I had to change it before I pasted the code into all admin files !!! :blush:

 

Thank you so much.

 

I think you must modify install.txt and add that we have to add into catalog/admin/includes/languages/english.php (or (espanol.php, german.php...etc) some defines for:

 

<!--1st drop down menu --> // Configuration Drop Down Menu

 

for example:

 

define('BOX_CONFIGURATION_MINIMUM_VALUES','Minimum values');

define('BOX_CONFIGURATION_MAXIMUM_VALUES','Maximum values');

...

 

Regards,

 

ReyBlack

Share this post


Link to post
Share on other sites
Ok...It works !!!! I had to change it before I pasted the code into all admin files !!! :blush:

 

Thank you so much.

 

I think you must modify install.txt and add that we have to add into catalog/admin/includes/languages/english.php (or (espanol.php, german.php...etc) some defines for:

 

<!--1st drop down menu --> // Configuration Drop Down Menu

 

for example:

 

define('BOX_CONFIGURATION_MINIMUM_VALUES','Minimum values');

define('BOX_CONFIGURATION_MAXIMUM_VALUES','Maximum values');

...

 

Regards,

 

ReyBlack

 

 

 

Ok thanks. i will do that :)

 

/Janne


My contributions

Mindsparx admin for 2.2

Mindsparx admin for 2.3

Mindsparx admin for 3.0

Mindsparx specials 2.2

Starproduct pimped for 2.2

Starproduct pimped for 2.3

Mindsparx template osc Sport 2.2

Mindsparx template Horizon 2.3

+ a few more...

Share this post


Link to post
Share on other sites
Ok thanks. i will do that :)

 

/Janne

 

Hi, /Janne... I had some problems with the Headerlinks Buttons so i decided to divide this headerbar in two. Here is my code (i don't know if you would find it usefull):

 

<div class="chromestyle" id="chromemenu">
<ul><li>  </li>
<li><a class="headerLink" href="<?php echo tep_href_link(FILENAME_ADMINISTRATORS) ?> "><?php echo BOX_CONFIGURATION_ADMINISTRATORS ?></a></li>
<!-- <li><a class="headerLink" href="<?php echo tep_href_link(FILENAME_CATEGORIES, 'selected_box=catalog')?>" rel="dropmenu2"><?php echo BOX_HEADING_CATALOG ?></a></li> -->
<!-- <li><a class="headerLink" href="<?php echo tep_href_link(FILENAME_CUSTOMERS, 'selected_box=customers')?>" rel="dropmenu4"><?php echo BOX_HEADING_CUSTOMERS ?></a></li> -->
<!-- <li><a class="headerLink" href="<?php echo tep_href_link(FILENAME_BACKUP, 'selected_box=tools')?>" rel="dropmenu8"><?php echo BOX_HEADING_TOOLS ?></a></li> -->
<li><a class="headerLink" href="<?php echo tep_href_link(FILENAME_MODULES, 'selected_box=modules&set=payment')?>" rel="dropmenu3"><?php echo BOX_HEADING_MODULES ?></a></li>	
<!-- <li><a class="headerLink" href="<?php echo tep_href_link(FILENAME_STATS_PRODUCTS_PURCHASED, 'selected_box=reports')?>" rel="dropmenu7"><?php echo BOX_HEADING_REPORTS ?></a></li> -->
<li><a class="headerLink" href="<?php echo tep_href_link(FILENAME_COUNTRIES, 'selected_box=taxes')?>" rel="dropmenu5"><?php echo BOX_HEADING_LOCATION_AND_TAXES ?></a></li>
<li><a class="headerLink" href="<?php echo tep_href_link(FILENAME_CURRENCIES, 'selected_box=localization')?>" rel="dropmenu6"><?php echo BOX_HEADING_LOCALIZATION ?></a></li>
<!-- <li><a class="headerLink" href="<?php echo tep_href_link(FILENAME_HEADER_TAGS_SEO, 'selected_box=header_tags_seo.php')?>" rel="dropmenu9"><?php echo BOX_HEADING_HEADER_TAGS_SEO ?></a></li> -->
<!-- <li><a class="headerLink" href="<?php echo tep_href_link(FILENAME_SITEMONITOR_ADMIN, 'selected_box=sitemonitor')?>" rel="dropmenu10"><?php echo BOX_HEADING_SITEMONITOR ?></a></li> -->
<li><a class="headerLink" href="<?php echo tep_href_link(FILENAME_CONFIGURATION, 'gID=1&selected_box=configuration')?>" rel="dropmenu1"><?php echo BOX_HEADING_CONFIGURATION ?></a></li>
<li>  <?php echo (tep_session_is_registered('admin') ? '<a href="' . tep_href_link(FILENAME_LOGIN, 'action=logoff') . '" class="headerLink" >'.LOGG_OUT.'</a>' : ''); ?> </li>
<li>     <?php echo tep_draw_form('languages', 'index.php', '', 'get'); ?>
	<?php echo tep_draw_pull_down_menu('language', $languages_array, $languages_selected, 'onChange="this.form.submit();"'); ?>
	</form></li>



</ul>
</div>

<div class="chromestyle" id="chromemenu2">
<ul><li>  </li>
<!-- <li><a class="headerLink" href="<?php echo tep_href_link(FILENAME_ADMINISTRATORS) ?> "><?php echo BOX_CONFIGURATION_ADMINISTRATORS ?></a></li> -->
<li><a class="headerLink" href="<?php echo tep_href_link(FILENAME_CATEGORIES, 'selected_box=catalog')?>" rel="dropmenu2"><?php echo BOX_HEADING_CATALOG ?></a></li>
<li><a class="headerLink" href="<?php echo tep_href_link(FILENAME_CUSTOMERS, 'selected_box=customers')?>" rel="dropmenu4"><?php echo BOX_HEADING_CUSTOMERS ?></a></li>
<li><a class="headerLink" href="<?php echo tep_href_link(FILENAME_BACKUP, 'selected_box=tools')?>" rel="dropmenu8"><?php echo BOX_HEADING_TOOLS ?></a></li>
<!-- <li><a class="headerLink" href="<?php echo tep_href_link(FILENAME_MODULES, 'selected_box=modules&set=payment')?>" rel="dropmenu3"><?php echo BOX_HEADING_MODULES ?></a></li>	-->
<li><a class="headerLink" href="<?php echo tep_href_link(FILENAME_STATS_PRODUCTS_PURCHASED, 'selected_box=reports')?>" rel="dropmenu7"><?php echo BOX_HEADING_REPORTS ?></a></li>
<!-- <li><a class="headerLink" href="<?php echo tep_href_link(FILENAME_COUNTRIES, 'selected_box=taxes')?>" rel="dropmenu5"><?php echo BOX_HEADING_LOCATION_AND_TAXES ?></a></li> -->
<!-- <li><a class="headerLink" href="<?php echo tep_href_link(FILENAME_CURRENCIES, 'selected_box=localization')?>" rel="dropmenu6"><?php echo BOX_HEADING_LOCALIZATION ?></a></li> -->
<li><a class="headerLink" href="<?php echo tep_href_link(FILENAME_HEADER_TAGS_SEO, 'selected_box=header_tags_seo.php')?>" rel="dropmenu9"><?php echo BOX_HEADING_HEADER_TAGS_SEO ?></a></li>
<li><a class="headerLink" href="<?php echo tep_href_link(FILENAME_SITEMONITOR_ADMIN, 'selected_box=sitemonitor')?>" rel="dropmenu10"><?php echo BOX_HEADING_SITEMONITOR ?></a></li>
<!-- <li><a class="headerLink" href="<?php echo tep_href_link(FILENAME_CONFIGURATION, 'gID=1&selected_box=configuration')?>" rel="dropmenu1"><?php echo BOX_HEADING_CONFIGURATION ?></a></li> -->
<!-- <li>  <?php echo (tep_session_is_registered('admin') ? '<a href="' . tep_href_link(FILENAME_LOGIN, 'action=logoff') . '" class="headerLink" >'.LOGG_OUT.'</a>' : ''); ?> </li> -->
<!-- <li>     <?php echo tep_draw_form('languages', 'index.php', '', 'get'); ?>
	<?php echo tep_draw_pull_down_menu('language', $languages_array, $languages_selected, 'onChange="this.form.submit();"'); ?>
	</form></li> -->



</ul>
</div>

 

And these are my drop down menus:

 

<!--1st drop down menu -->												   
<div id="dropmenu1" class="dropmenudiv">
<a ><div style="padding:5px;"  class="text"><?php echo HEADER_WARNING; ?></div>
</a>
<a href="<?php echo tep_href_link(FILENAME_ADMINISTRATORS, 'gID=1&selected_box=configuration')?>"><?php echo BOX_CONFIGURATION_ADMINISTRATORS ?></a>
<a href="<?php echo tep_href_link(FILENAME_CONFIGURATION, 'gID=1&selected_box=configuration')?>"><?php echo BOX_CONFIGURATION_MYSTORE ?></a>
<a href="<?php echo tep_href_link(FILENAME_CONFIGURATION, 'gID=2&selected_box=configuration')?>"><?php echo   BOX_CONFIGURATION_MINIMUM_VALUES?></a>
<a href="<?php echo tep_href_link(FILENAME_CONFIGURATION, 'gID=3&selected_box=configuration')?>"><?php echo   BOX_CONFIGURATION_MAXIMUM_VALUES?></a>
<a href="<?php echo tep_href_link(FILENAME_CONFIGURATION, 'gID=4&selected_box=configuration')?>"><?php echo   BOX_CONFIGURATION_IMAGES?></a>
<a href="<?php echo tep_href_link(FILENAME_CONFIGURATION, 'gID=6124&selected_box=configuration')?>"><?php echo   BOX_CONFIGURATION_MORE_PICS?></a>
<a href="<?php echo tep_href_link(FILENAME_CONFIGURATION, 'gID=100&selected_box=configuration')?>"><?php echo   BOX_CONFIGURATION_THUMBNAILS?></a>   
<a href="<?php echo tep_href_link(FILENAME_CONFIGURATION, 'gID=5&selected_box=configuration')?>"><?php echo   BOX_CONFIGURATION_CUSTOMER_DETAILS?></a>
<a href="<?php echo tep_href_link(FILENAME_CONFIGURATION, 'gID=6&selected_box=configuration')?>"><?php echo   BOX_CONFIGURATION_MODULES?></a>
<a href="<?php echo tep_href_link(FILENAME_CONFIGURATION, 'gID=7&selected_box=configuration')?>"><?php echo   BOX_CONFIGURATION_SHIPPING_PACKING?></a>
<a href="<?php echo tep_href_link(FILENAME_CONFIGURATION, 'gID=8&selected_box=configuration')?>"><?php  echo   BOX_CONFIGURATION_PRODUCT_LISTING?></a>
<a href="<?php echo tep_href_link(FILENAME_CONFIGURATION, 'gID=279&selected_box=configuration')?>"><?php echo   BOX_CONFIGURATION_ALL_PRODUCTS?></a>
<a href="<?php echo tep_href_link(FILENAME_CONFIGURATION, 'gID=9&selected_box=configuration')?>"><?php echo   BOX_CONFIGURATION_STOCK?></a>
<a href="<?php echo tep_href_link(FILENAME_CONFIGURATION, 'gID=10&selected_box=configuration')?>"><?php echo  BOX_CONFIGURATION_LOGGING?></a> 
<a href="<?php echo tep_href_link(FILENAME_CONFIGURATION, 'gID=11&selected_box=configuration')?>"><?php echo  BOX_CONFIGURATION_CACHE?></a> 
<a href="<?php echo tep_href_link(FILENAME_CONFIGURATION, 'gID=12&selected_box=configuration')?>"><?php echo   BOX_CONFIGURATION_EMAIL_OPTIONS?></a>
<a href="<?php echo tep_href_link(FILENAME_CONFIGURATION, 'gID=13&selected_box=configuration')?>"><?php echo   BOX_CONFIGURATION_DOWNLOAD?></a> 
<a href="<?php echo tep_href_link(FILENAME_CONFIGURATION, 'gID=14&selected_box=configuration')?>"><?php echo   BOX_CONFIGURATION_GZIP_COMPRESSION?></a>
<a href="<?php echo tep_href_link(FILENAME_CONFIGURATION, 'gID=15&selected_box=configuration')?>"><?php echo   BOX_CONFIGURATION_SESSION?></a>
<a href="<?php echo tep_href_link(FILENAME_CONFIGURATION, 'gID=6501&selected_box=configuration')?>"><?php echo   BOX_CONFIGURATION_RECOVER_CART_SALES?></a>
<a href="<?php echo tep_href_link(FILENAME_CONFIGURATION, 'gID=72&selected_box=configuration')?>"><?php echo   BOX_CONFIGURATION_ORDER_EDITOR?></a>
<a href="<?php echo tep_href_link(FILENAME_CONFIGURATION, 'gID=60&selected_box=configuration')?>"><?php echo   BOX_CONFIGURATION_SHOW_BUTTONS?></a>
<a href="<?php echo tep_href_link(FILENAME_CONFIGURATION, 'gID=200&selected_box=configuration')?>"><?php echo   BOX_CONFIGURATION_SHIPLABEL?></a>
<a href="<?php echo tep_href_link(FILENAME_CONFIGURATION, 'gID=449&selected_box=configuration')?>"><?php echo   BOX_CONFIGURATION_GOOGLE_MAPS?></a>
<a href="<?php echo tep_href_link(FILENAME_CONFIGURATION, 'gID=543&selected_box=configuration')?>"><?php echo   BOX_CONFIGURATION_HEADER_TAGS?></a>
<a href="<?php echo tep_href_link(FILENAME_CONFIGURATION, 'gID=39&selected_box=configuration')?>"><?php echo   BOX_CONFIGURATION_FEATURED_PRODUCTS?></a>
<a href="<?php echo tep_href_link(FILENAME_CONFIGURATION, 'gID=6502&selected_box=configuration')?>"><?php echo   BOX_CONFIGURATION_TOTALB2B?></a>
<a href="<?php echo tep_href_link(FILENAME_CONFIGURATION, 'gID=101&selected_box=configuration')?>"><?php echo   BOX_CONFIGURATION_FRIENDSHIP_DISCOUNT?></a>
</div>


<!--2nd drop down menu -->												
<div id="dropmenu2" class="dropmenudiv" style="width: 150px;">

<a href="<?php echo tep_href_link(FILENAME_CATEGORIES, 'selected_box=catalog')?>"><?php echo BOX_CATALOG_CATEGORIES_PRODUCTS ?></a>
<a href="<?php echo tep_href_link(FILENAME_PRODUCTS_ATTRIBUTES, 'selected_box=catalog')?>"><?php echo BOX_CATALOG_CATEGORIES_PRODUCTS_ATTRIBUTES ?></a>
<a href="<?php echo tep_href_link(FILENAME_XSELL_PRODUCTS, 'selected_box=catalog')?>"><?php echo BOX_CATALOG_XSELL_PRODUCTS ?></a>
<a href="<?php echo tep_href_link(FILENAME_MANUFACTURERS, 'selected_box=catalog')?>"><?php echo BOX_CATALOG_MANUFACTURERS ?></a>
<a href="<?php echo tep_href_link(FILENAME_REVIEWS, 'selected_box=catalog')?>"><?php echo BOX_CATALOG_REVIEWS ?></a>
<a href="<?php echo tep_href_link(FILENAME_SPECIALS, 'selected_box=catalog')?>">	  <?php echo BOX_CATALOG_SPECIALS ?></a>
<a href="<?php echo tep_href_link(FILENAME_PRODUCTS_EXPECTED, 'selected_box=catalog')?>"><?php echo BOX_CATALOG_PRODUCTS_EXPECTED ?></a>
<a href="<?php echo tep_href_link(FILENAME_FEATURED, 'selected_box=catalog')?>"><?php echo BOX_CATALOG_FEATURED_PRODUCTS ?></a>
<a href="<?php echo tep_href_link(FILENAME_PRODUCTS_EXTRA_FIELDS, 'selected_box=catalog')?>"><?php echo BOX_CATALOG_PRODUCTS_EXTRA_FIELDS ?></a>
<a href="<?php echo tep_href_link('manudiscount.php', 'selected_box=catalog')?>"><?php echo BOX_MANUDISCOUNT ?></a>
<a href="<?php echo tep_href_link('catemanudiscount.php', 'selected_box=catalog')?>"><?php echo BOX_CATEMANUDISCOUNT ?></a>
<a href="<?php echo tep_href_link('catediscount.php', 'selected_box=catalog')?>"><?php echo BOX_CATEDISCOUNT ?></a>

</div>

<!--3rd drop down menu -->												   
<div id="dropmenu3" class="dropmenudiv" style="width: 150px;">
<a href="<?php echo tep_href_link(FILENAME_MODULES, 'selected_box=modules&set=payment')?>"><?php echo BOX_MODULES_PAYMENT ?></a>
<a href="<?php echo tep_href_link(FILENAME_MODULES, 'selected_box=modules&set=shipping')?>"><?php echo BOX_MODULES_SHIPPING ?></a>
<a href="<?php echo tep_href_link(FILENAME_MODULES, 'selected_box=modules&set=ordertotal')?>"><?php echo BOX_MODULES_ORDER_TOTAL ?></a>

</div>

<!--4rd drop down menu -->												   
<div id="dropmenu4" class="dropmenudiv" style="width: 150px;">
<a href="<?php echo tep_href_link(FILENAME_CUSTOMERS, 'selected_box=customers')?>"><?php echo BOX_CUSTOMERS_CUSTOMERS ?></a>
<a href=<?php echo tep_href_link('customers_groups.php', 'selected_box=customers')?>"><?php echo BOX_CUSTOMERS_GROUPS ?></a>
<a href="<?php echo tep_href_link(FILENAME_ORDERS, 'selected_box=customers')?>"><?php echo BOX_CUSTOMERS_ORDERS ?></a>
<a href=<?php echo tep_href_link(FILENAME_ORDERS_CHECK, 'selected_box=customers')?>"><?php echo BOX_CUSTOMERS_ORDERS_CHECK ?></a>
<a href=<?php echo tep_href_link(FILENAME_RECOVER_CART_SALES, 'selected_box=customers')?>"><?php echo BOX_TOOLS_RECOVER_CART ?></a>
<a href="<?php echo tep_href_link(FILENAME_ADMIN_NOTES, 'selected_box=customers')?>"><?php echo BOX_HEADING_ADMIN_NOTES ?></a>

</div>

<!--5rd drop down menu -->												   
<div id="dropmenu5" class="dropmenudiv" style="width: 150px;">
<a href="<?php echo tep_href_link(FILENAME_COUNTRIES, 'selected_box=taxes')?>"><?php echo BOX_TAXES_COUNTRIES ?></a>
<a href="<?php echo tep_href_link(FILENAME_ZONES, 'selected_box=taxes')?>"><?php echo BOX_TAXES_ZONES ?></a>
<a href="<?php echo tep_href_link(FILENAME_GEO_ZONES, 'selected_box=taxes')?>"><?php echo BOX_TAXES_GEO_ZONES ?></a>
<a href="<?php echo tep_href_link(FILENAME_TAX_CLASSES, 'selected_box=taxes')?>"><?php echo BOX_TAXES_TAX_CLASSES ?></a>
<a href="<?php echo tep_href_link(FILENAME_TAX_RATES, 'selected_box=taxes')?>"><?php echo BOX_TAXES_TAX_RATES ?></a>

</div>

<!--6rd drop down menu -->												   
<div id="dropmenu6" class="dropmenudiv" style="width: 150px;">
<a href="<?php echo tep_href_link(FILENAME_CURRENCIES, 'selected_box=localization')?>"><?php echo BOX_LOCALIZATION_CURRENCIES ?></a>
<a href="<?php echo tep_href_link(FILENAME_LANGUAGES, 'selected_box=localization')?>"><?php echo BOX_LOCALIZATION_LANGUAGES ?></a>
<a href="<?php echo tep_href_link(FILENAME_ORDERS_STATUS, 'selected_box=localization')?>"><?php echo BOX_LOCALIZATION_ORDERS_STATUS ?></a>

</div>

<!--7rd drop down menu -->												   
<div id="dropmenu7" class="dropmenudiv" style="width: 150px;">


<a href="<?php echo tep_href_link(FILENAME_STATS_PRODUCTS_VIEWED, 'selected_box=reports')?>"><?php echo BOX_REPORTS_PRODUCTS_VIEWED ?></a>
<a href="<?php echo tep_href_link(FILENAME_STATS_PRODUCTS_PURCHASED, 'selected_box=reports')?>"><?php echo BOX_REPORTS_PRODUCTS_PURCHASED ?></a>
<a href="<?php echo tep_href_link(FILENAME_STATS_CUSTOMERS, 'selected_box=reports')?>"><?php echo BOX_REPORTS_ORDERS_TOTAL ?></a>
<a href="<?php echo tep_href_link(FILENAME_STATS_LOW_STOCK, 'selected_box=reports')?>"><?php echo BOX_REPORTS_STOCK_LEVEL ?></a>
<a href="<?php echo tep_href_link(FILENAME_STATS_PEDIDOS, 'selected_box=reports')?>"><?php echo BOX_REPORTS_PEDIDOS ?></a>
<a href="<?php echo tep_href_link(FILENAME_STATS_CUSTOMERS_ORDERS, 'selected_box=reports')?>"><?php echo BOX_REPORTS_CUSTOMERS_ORDERS ?></a>
<a href=<?php echo tep_href_link(FILENAME_STATS_RECOVER_CART_SALES, 'selected_box=customers')?>"><?php echo BOX_REPORTS_RECOVER_CART_SALES ?></a>
<a href=<?php echo tep_href_link('easypopulate.php', 'selected_box=customers')?>"><?php echo 'EasyPopulate' ?></a>
<a href="<?php echo tep_href_link(FILENAME_SUPERTRACKER, 'selected_box=reports')?>"><?php echo BOX_REPORTS_SUPERTRACKER ?></a>
<a href="<?php echo tep_href_link(FILENAME_REPORTS_GOOGLEMAP, 'selected_box=reports')?>"><?php echo BOX_REPORTS_GOOGLEMAP ?></a>

</div>

<!--8rd drop down menu -->												   
<div id="dropmenu8" class="dropmenudiv" style="width: 150px;">

<a href="<?php echo tep_href_link(FILENAME_BACKUP, 'selected_box=tools')?>"><?php echo BOX_TOOLS_BACKUP ?></a>
<a href="<?php echo tep_href_link(FILENAME_BANNER_MANAGER, 'selected_box=tools')?>"><?php echo BOX_TOOLS_BANNER_MANAGER ?></a> 
<a href="<?php echo tep_href_link(FILENAME_CACHE, 'selected_box=tools')?>"><?php echo BOX_TOOLS_CACHE ?></a> 
<a href="<?php echo tep_href_link(FILENAME_DEFINE_LANGUAGE, 'selected_box=tools')?>"><?php echo BOX_TOOLS_DEFINE_LANGUAGE ?></a>
<a href="<?php echo tep_href_link(FILENAME_FILE_MANAGER, 'selected_box=tools')?>"><?php echo BOX_TOOLS_FILE_MANAGER ?></a>
<a href="<?php echo tep_href_link(FILENAME_MAIL, 'selected_box=tools')?>"><?php echo BOX_TOOLS_MAIL ?></a>
<a href="<?php echo tep_href_link(FILENAME_NEWSLETTERS, 'selected_box=tools')?>"><?php echo BOX_TOOLS_NEWSLETTER_MANAGER ?></a>
<a href="<?php echo tep_href_link(FILENAME_SERVER_INFO, 'selected_box=tools')?>"><?php echo BOX_TOOLS_SERVER_INFO ?></a>
<a href="<?php echo tep_href_link(FILENAME_WHOS_ONLINE, 'selected_box=tools')?>"><?php echo BOX_TOOLS_WHOS_ONLINE ?></a>

</div>

<!--9rd drop down menu -->												   
<div id="dropmenu9" class="dropmenudiv" style="width: 150px;">


<a href="<?php echo tep_href_link(FILENAME_HEADER_TAGS_SEO, 'selected_box=header_tags_seo.php')?>"><?php echo BOX_HEADER_TAGS_ADD_A_PAGE ?></a>
<a href="<?php echo tep_href_link(FILENAME_HEADER_TAGS_FILL_TAGS, 'selected_box=header_tags_seo.php')?>"><?php echo BOX_HEADER_TAGS_FILL_TAGS ?></a>
<a href="<?php echo tep_href_link(FILENAME_HEADER_TAGS_TEST, 'selected_box=header_tags_seo.php')?>"><?php echo BOX_HEADER_TAGS_TEST ?></a>
<a href="<?php echo tep_href_link(FILENAME_SEO_ASSISTANT, 'selected_box=header_tags_seo.php')?>"><?php echo BOX_TOOLS_SEO_ASSISTANT ?></a>

</div>

<!--10rd drop down menu -->												   
<div id="dropmenu10" class="dropmenudiv" style="width: 150px;">


<a href="<?php echo tep_href_link(FILENAME_SITEMONITOR_ADMIN, 'selected_box=sitemonitor')?>"><?php echo BOX_SITEMONITOR_ADMIN ?></a>
<a href="<?php echo tep_href_link(FILENAME_SITEMONITOR_CONFIG_SETUP, 'selected_box=sitemonitor')?>"><?php echo BOX_SITEMONITOR_CONFIG_SETUP ?></a>
<a href="<?php echo tep_href_link(FILENAME_PROTECTION, 'selected_box=sitemonitor')?>"><?php echo BOX_TOOLS_PROTECTION ?></a>
<a href="<?php echo tep_href_link('_banned.php', 'selected_box=sitemonitor')?>"><?php echo 'Bannear IP' ?></a>
<a href="<?php echo tep_href_link(FILENAME_SITEMAP, 'selected_box=sitemonitor')?>"><?php echo BOX_TOOLS_SITEMAP ?></a>

</div>

<script type="text/javascript">

cssdropdown.startchrome("chromemenu")
cssdropdown.startchrome("chromemenu2")

</script>

 

And finally my defines in catalog/admin/includes/languajes/espanol.php

 

// configuration box text in includes/boxes/configuration.php
define('BOX_HEADING_CONFIGURATION', 'Configuración');
define('BOX_CONFIGURATION_MYSTORE', 'Mi Tienda');
define('BOX_CONFIGURATION_LOGGING', 'Registro');
define('BOX_CONFIGURATION_CACHE', 'Caché');

// BEGIN Mindsparx Admin
define('BOX_CONFIGURATION_ADMINISTRATORS', 'Configuración Administradores');
define('BOX_CONFIGURATION_MINIMUM_VALUES', 'Valores Mínimos');
define('BOX_CONFIGURATION_MAXIMUM_VALUES', 'Valores Máximos');
define('BOX_CONFIGURATION_IMAGES', 'Imágenes');
define('BOX_CONFIGURATION_CUSTOMER_DETAILS', 'Detalles Clientes');
define('BOX_CONFIGURATION_MODULES', 'Opciones de los Módulos');
define('BOX_CONFIGURATION_SHIPPING_PACKING', 'Envíos/Paquetes');
define('BOX_CONFIGURATION_PRODUCT_LISTING', 'Listado Productos');
define('BOX_CONFIGURATION_STOCK', 'Stock');
define('BOX_CONFIGURATION_LOGGING', 'Logging');
define('BOX_CONFIGURATION_CACHE', 'Caché');
define('BOX_CONFIGURATION_EMAIL_OPTIONS', 'Opciones E-Mail');
define('BOX_CONFIGURATION_DOWNLOAD', 'Download / Descargas');
define('BOX_CONFIGURATION_GZIP_COMPRESSION', 'Compresión GZip');
define('BOX_CONFIGURATION_SESSION', 'Sesiones');
define('BOX_CONFIGURATION_RECOVER_CART_SALES', 'Recuperar Carritos Compra');
define('BOX_CONFIGURATION_MORE_PICS', 'More Pics');
define('BOX_CONFIGURATION_THUMBNAILS', 'Thumbnails');
define('BOX_CONFIGURATION_ORDER_EDITOR', 'Editor de Pedidos');
define('BOX_CONFIGURATION_SHIPLABEL', 'Etiqueta Envío');
define('BOX_CONFIGURATION_SHOW_BUTTONS', 'Botones Clientes/Pedidos');
define('BOX_CONFIGURATION_GOOGLE_MAPS', 'Google Maps');
define('BOX_CONFIGURATION_HEADER_TAGS', 'Header Tags SEO');
define('BOX_CONFIGURATION_FEATURED_PRODUCTS', 'Productos Destacados');
define('BOX_CONFIGURATION_TOTALB2B', 'Total B2B');
define('BOX_CONFIGURATION_FRIENDSHIP_DISCOUNT', 'Descuento por Amigo');
define('BOX_CONFIGURATION_ALL_PRODUCTS', 'Todos los Productos');
// END Mindsparx Admin

 

and finally I post a screen capture:

 

mindsparxadmintf1.th.jpg

 

Regards,

 

ReyBlack

Share this post


Link to post
Share on other sites

Its perferect for thouse who need more links, please add it on the contribution page as an addon :)

Edited by iankil

My contributions

Mindsparx admin for 2.2

Mindsparx admin for 2.3

Mindsparx admin for 3.0

Mindsparx specials 2.2

Starproduct pimped for 2.2

Starproduct pimped for 2.3

Mindsparx template osc Sport 2.2

Mindsparx template Horizon 2.3

+ a few more...

Share this post


Link to post
Share on other sites

Remind your self of how successful you are everytime you login to your administration.

 

Mindsparx admin Bling! B)

 

http://www.mindsparx.org/mindsparx_admin_bling/

 

Download here:

http://addons.oscommerce.com/info/6440


My contributions

Mindsparx admin for 2.2

Mindsparx admin for 2.3

Mindsparx admin for 3.0

Mindsparx specials 2.2

Starproduct pimped for 2.2

Starproduct pimped for 2.3

Mindsparx template osc Sport 2.2

Mindsparx template Horizon 2.3

+ a few more...

Share this post


Link to post
Share on other sites

nice layout and colours

but for menu the contribution admin level is way more complex, interesting and dynamic

 

i dont understand why we would change all file in admin to set the width whilel it s the sparx admin page who should resze or being in a fixed width div contenair

 

by the way in creaload they created an admin summary page that is a little bit in this kind of ideas if it can give you ideas..

 

since you propose differnet theme it would be good to do some template sub folder and chose the template we want to use


MS2

Share this post


Link to post
Share on other sites

Hello Azer!

To be honest i haven't put much tought to this contribution since i dont know if there is a need for a new admin, but i wanted one and i built it for me and now im sharing it with the rest.

 

Since all admin files needs to be changed for this contribution i thougt that its easy to just replace the width i have set, to your own before you paste the code :) but you are right it would be much more easy to do that from one file, and it´s a easy fix.

 

And creating a template folder is something that i will do to. I´ll see what the response is for a new admin and if there is need for one, i will look in to creloaded version and see if there is some thing i like with it.

 

/Janne.k


My contributions

Mindsparx admin for 2.2

Mindsparx admin for 2.3

Mindsparx admin for 3.0

Mindsparx specials 2.2

Starproduct pimped for 2.2

Starproduct pimped for 2.3

Mindsparx template osc Sport 2.2

Mindsparx template Horizon 2.3

+ a few more...

Share this post


Link to post
Share on other sites

Azer was right it needs to be more userfriendly so i made another version thats 10 times more easy to install and use

 

 

Whats new in version 2.0

 

Alot,the whole system is rewriten so its multi langual and template based, you are able to change template and width in the header.php file by changing the values defined there

 

The whole link system is changed so you dont have to add links manually, the new admin looks for all your links and places them in the

dropdowns automaticly, so when you install new contributions, just follow the install instructions and Mindsparx_admin will put the link in the dropdown for you ;)

 

The install is 6 easy steps and minimal of files used by oscommerce is changed.

 

(its larger than 300 k so it might not be on the contribution page yet)

Download it here: http://addons.oscommerce.com/info/6440

 

Cheers Janne.k


My contributions

Mindsparx admin for 2.2

Mindsparx admin for 2.3

Mindsparx admin for 3.0

Mindsparx specials 2.2

Starproduct pimped for 2.2

Starproduct pimped for 2.3

Mindsparx template osc Sport 2.2

Mindsparx template Horizon 2.3

+ a few more...

Share this post


Link to post
Share on other sites

Version 2.0 has an error. It tells you to swap out the index.php file in admin, but isn't it really the order.php file?

I also agree with azer that the admin level mod is nicer than this one.


If the only tool you have is a hammer, all your problems look like nails

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×