Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

2 article managers needed!


netfrugal

Recommended Posts

Alrighty, much like everyone else, I really love this contribution.

 

Now I'd like to install another "Article Manager" on the same site, but under a different name and database files.

 

that part is actually easy. Takes some time to rename all files, but I can do that.

 

However, i run into problems with admin/includes/application_top.php

 

Here is the code we need to include:

 

// include the articles functions

require(DIR_WS_FUNCTIONS . 'articles.php');

 

// Article Manager

if (isset($HTTP_GET_VARS['tPath'])) {

$tPath = $HTTP_GET_VARS['tPath'];

} else {

$tPath = '';

}

 

if (tep_not_null($tPath)) {

$tPath_array = tep_parse_topic_path($tPath);

$tPath = implode('_', $tPath_array);

$current_topic_id = $tPath_array[(sizeof($tPath_array)-1)];

} else {

$current_topic_id = 0;

}

 

 

But when I rename "articles.php" to something else, like: "articles2.php" I get a blank screen.

 

I suspect the problem lies with the tPath, but I've not been able to verify that.

 

So, my question, has anyone ever installed 2 article managers on one site before?

 

-Marc

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...