osCmax v2.5 User Manual
Results 1 to 2 of 2

problem with filename and admin in tools.php

This is a discussion on problem with filename and admin in tools.php within the osCmax v2 Customization/Mods forums, part of the osCmax v2.0 Forums category; Hello, I tried to install the XML google sitemap with admin 2.2 mod on my oscmax2. I have some problem ...

      
  1. #1
    New Member
    Join Date
    Dec 2007
    Posts
    20
    Rep Power
    0


    Default problem with filename and admin in tools.php

    Hello,

    I tried to install the XML google sitemap with admin 2.2 mod on my oscmax2.
    I have some problem with tools box. The install file ask me to add this line to my admin/includes/boxes/tools.php:

    //Google Sitemap BOF
    '<a href="' . tep_href_link(FILENAME_GOOGLE_SITEMAP) . '" class="menuBoxContentLink">' . BOX_GOOGLE_SITEMAP . '</a><br>' .
    //Google Sitemap EOF
    because of the MOD - Admin w/access levels I changed the line like this in admin/includes/boxes/tools.php:
    $contents[] = array('text' =>
    tep_admin_files_boxes(FILENAME_BACKUP, BOX_TOOLS_BACKUP) .
    tep_admin_files_boxes(FILENAME_GOOGLE_SITEMAP, BOX_GOOGLE_SITEMAP) .
    tep_admin_files_boxes(FILENAME_BANNER_MANAGER, BOX_TOOLS_BANNER_MANAGER) .
    tep_admin_files_boxes(FILENAME_BATCH_PRINT, BOX_TOOLS_BATCH_CENTER) .
    tep_admin_files_boxes(FILENAME_CACHE, BOX_TOOLS_CACHE) .
    tep_admin_files_boxes(FILENAME_DEFINE_LANGUAGE, BOX_TOOLS_DEFINE_LANGUAGE) .
    tep_admin_files_boxes(FILENAME_FILE_MANAGER, BOX_TOOLS_FILE_MANAGER) .
    tep_admin_files_boxes(FILENAME_MAIL, BOX_TOOLS_MAIL) .
    tep_admin_files_boxes(FILENAME_NEWSLETTERS, BOX_TOOLS_NEWSLETTER_MANAGER) .
    tep_admin_files_boxes(FILENAME_SERVER_INFO, BOX_TOOLS_SERVER_INFO) .
    tep_admin_files_boxes(FILENAME_WHOS_ONLINE, BOX_TOOLS_WHOS_ONLINE));
    // EOF: MOD - Admin w/access levels
    In admin/includes/filenames.php, I added:
    // Google SiteMap BOF
    define('FILENAME_GOOGLE_SITEMAP', 'googlesitemap.php');
    All the necessary lines and files have been added.

    The problem is that in my admin, in the tools section, I don't have any google sitemap option.
    So where is the problem? What do I have to change?
    Thank you,
    Antoine.

  2. #2
    New Member
    Join Date
    Dec 2007
    Posts
    20
    Rep Power
    0


    Default Re: problem with filename and admin in tools.php

    oops sorry...
    I just saw that you have to add it aministrator/file access...
    Anyway, I hope I will help somebody in the future with this post...

Similar Threads

  1. I cant View my Tools or Reports. It says I dont have access
    By boosthunter in forum osCMax v2 Features Discussion
    Replies: 2
    Last Post: 12-15-2005, 07:12 PM
  2. easy gui mysql diff tools for windows or osx?
    By miahac in forum osCmax v2 Installation issues
    Replies: 7
    Last Post: 06-27-2005, 07:30 PM
  3. Missing admin tools ?
    By Anonymous in forum osCmax v1.7 Discussion
    Replies: 0
    Last Post: 10-14-2003, 06:29 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •