Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

RobAnderson

Article Manager v1.0

Recommended Posts

Hi

Just installed the latest version of Article manager and although the admin seems to work fine, this is what I get when I click on a link on the site (I have disabled it at the moment until I can get it working...)

 

Warning: Division by zero in /home/httpd/vhosts/oakhillnailspa.com.au/httpdocs/catalog/includes/classes/split_page_results.php on line 59

 

1064 - You have an error in your SQL syntax near 'MAX_ARTICLES_PER_PAGE' at line 1

 

select a.articles_id, a.authors_id, a.articles_date_added, ad.articles_name, ad.articles_head_desc_tag, au.authors_name, td.topics_name, a2t.topics_id from articles a, articles_description ad left join authors au on a.authors_id = au.authors_id, articles_to_topics a2t left join topics_description td on a2t.topics_id = td.topics_id where (a.articles_date_available IS NULL or to_days(a.articles_date_available) <= to_days(now())) and a.articles_status = '1' and a.articles_id = a2t.articles_id and ad.articles_id = a2t.articles_id and ad.language_id = '1' and td.language_id = '1' and a2t.topics_id = '1' order by a.articles_date_added desc, ad.articles_name limit -0, MAX_ARTICLES_PER_PAGE

 

Has anyone else had this problem...the contibution seems perfect for what I need so it would be great if I can get this issue solved. I am not very good at SQL so not quite sure where I should look to fix! Knowing me, its probably something I have done!!

Thanks!

Share this post


Link to post
Share on other sites

Hi Just to let you know I seem to have fixed it by changing the Maximum Display Upcoming Articles from 5 to 10 in the admin menu. Will go through it all more thoroughly today but seems ok now!

Share this post


Link to post
Share on other sites
Hello all,

 

I imagine this one should be an easy one for the sql+php pros out there...but that's not me so...lol

 

Anyway - on displaying an article, I get this Xsell error down at the bottom of the page. Any ideas?

 

1064 - You have an error in your SQL syntax near 'Maximum number of products to display in the articles Cross-Sell listing.' at line 1

 

select distinct a.products_id, a.products_image, ad.products_name from articles_xsell ax, products a, products_description ad where ax.articles_id = '1' and ax.xsell_id = a.products_id and a.products_id = ad.products_id and ad.language_id = '1' and a.products_status = '1' order by ax.sort_order asc limit Maximum number of products to display in the articles Cross-Sell listing.

 

[TEP STOP]

 

That part ", ad where " looks suspicious to me, as I can't think of what the ad is but then again I maybe totally wrong. Please someone let me know.

Hello All. Could someone - PLEASE just take a stab at helping me with this Cross-Sell error I am getting? Many, many thanks.

Share this post


Link to post
Share on other sites

Yay! I figured out why no one would respond and also fixed the problem....No one would have been able to figure it out, cuz the code was fine...It was actually my screw up in the mysql table itself...I had set the "description" as the "value"...LOL...working now...

Share this post


Link to post
Share on other sites

Hi I have installed the contr. and thank you - it is very necessary one to have..

 

i have couple of things thow:

 

1) I can not find the search box?! where should it be... it sounds silly but i can not see it on any of article pages as well as i cant see the conf option to switch it on/off... go figure...

 

 

2) Is there a way to bypass the topics - it is a bit redundant for the beginning (not too many articles) to click on topic then article... ho can i put article links into infobox skipping the topics.

 

also perhaps a suggestion:

 

"featured articles" to be displayed above the topics in infobox. ideally it can be done by enabling "top" to be a real topic (rename to "featured articles") which displays article links in article infobox above topic listings.

 

so when article is copied to "top" it gets shown directly when removed from top only under "topic"

Share this post


Link to post
Share on other sites

while waiting for help on my post above i did a little cosmetic change in the way list of articles is displayed on Topic, All articles and New articles page - it was a bit rusty - you will need to edit 3 files articles.php, articles_new.php and /includes/modules/articles_listings.php

 

find:

 

            <td valign="top" class="main" width="75%">

<?php

  echo '<a href="' . tep_href_link(FILENAME_ARTICLE_INFO, 'articles_id=' . $articles_listing['articles_id']) . '"><b>' . $articles_listing['articles_name'] . '</b></a> ';

  if (DISPLAY_AUTHOR_ARTICLE_LISTING == 'true' && tep_not_null($articles_listing['authors_name'])) {

  echo TEXT_BY . ' ' . '<a href="' . tep_href_link(FILENAME_ARTICLES, 'authors_id=' . $articles_listing['authors_id']) . '"> ' . $articles_listing['authors_name'] . '</a>';

  }

?>

            </td>

<?php

      if (DISPLAY_TOPIC_ARTICLE_LISTING == 'true' && tep_not_null($articles_listing['topics_name'])) {

?>

            <td valign="top" class="main" width="25%" nowrap><?php echo TEXT_TOPIC . ' <a href="' . tep_href_link(FILENAME_ARTICLES, 'tPath=' . $articles_listing['topics_id']) . '">' . $articles_listing['topics_name'] . '</a>'; ?></td>

<?php

      }

?>

          </tr>

<?php

      if (DISPLAY_ABSTRACT_ARTICLE_LISTING == 'true') {

?>

          <tr>

            <td class="main" style="padding-left:15px"><?php echo clean_html_comments(substr($articles_listing['articles_head_desc_tag'],0, MAX_ARTICLE_ABSTRACT_LENGTH)) . ((strlen($articles_listing['articles_head_desc_tag']) >= MAX_ARTICLE_ABSTRACT_LENGTH) ? '...' : ''); ?></td>

          </tr>

<?php

      }

      if (DISPLAY_DATE_ADDED_ARTICLE_LISTING == 'true') {

?>

          <tr>

            <td class="smalltext" style="padding-left:15px"><?php echo TEXT_DATE_ADDED . ' ' . tep_date_long($articles_listing['articles_date_added']); ?></td>

          </tr>

<?php

      }

      if (DISPLAY_ABSTRACT_ARTICLE_LISTING == 'true' || DISPLAY_DATE_ADDED_ARTICLE_LISTING) {

?>

          <tr>

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

          </tr>

<?php

}

    } // End of listing loop

 

 

replace with:

 

            <td valign="top" class="main" width="75%" bgcolor="#E6E6E6">
<?php
 echo '<a href="' . tep_href_link(FILENAME_ARTICLE_INFO, 'articles_id=' . $articles_all['articles_id']) . '"><b>' . $articles_all['articles_name'] . '</b></a> ';
 if (DISPLAY_AUTHOR_ARTICLE_LISTING == 'true' && tep_not_null($articles_all['authors_name'])) {
  echo TEXT_BY . ' ' . '<a href="' . tep_href_link(FILENAME_ARTICLES, 'authors_id=' . $articles_all['authors_id']) . '"> ' . $articles_all['authors_name'] . '</a>';
 }
?>
           </td>
<?php
     if (DISPLAY_TOPIC_ARTICLE_LISTING == 'true' && tep_not_null($articles_all['topics_name'])) {
?>
           <td valign="top" class="main" width="25%" bgcolor="#E6E6E6" nowrap><?php echo TEXT_TOPIC . ' <a href="' . tep_href_link(FILENAME_ARTICLES, 'tPath=' . $articles_all['topics_id']) . '">' . $articles_all['topics_name'] . '</a>'; ?></td>
<?php
     }
?>
         </tr>
<?php
     if (DISPLAY_ABSTRACT_ARTICLE_LISTING == 'true') {
?>
         <tr>
           <td class="main" style="padding-left:15px"><?php echo clean_html_comments(substr($articles_all['articles_head_desc_tag'],0, MAX_ARTICLE_ABSTRACT_LENGTH)) . ((strlen($articles_all['articles_head_desc_tag']) >= MAX_ARTICLE_ABSTRACT_LENGTH) ? '...' : ''); ?></td></tr>
<tr><td class="smalltext" align="right" style="padding-right:15px"><?php
 echo '<a href="' . tep_href_link(FILENAME_ARTICLE_INFO, 'articles_id=' . $articles_new['articles_id']) . '"><b>...read more</b></a> ';
?></td>
         </tr>
<?php
     }
     if (DISPLAY_DATE_ADDED_ARTICLE_LISTING == 'true') {
?>
         <tr>
           <td class="smalltext" bgcolor="#F2F2F2" style="padding-left:15px"><?php echo TEXT_DATE_ADDED . ' ' . tep_date_long($articles_all['articles_date_added']); ?></td>
         </tr>
<?php
     }
     if (DISPLAY_ABSTRACT_ARTICLE_LISTING == 'true' || DISPLAY_DATE_ADDED_ARTICLE_LISTING) {
?>
         <tr>
           <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?><hr size="1" color="silver" noshade></td>
         </tr>
<?php
}
   } // End of listing loop

 

to see what it will look like go here

 

in my unexperienced in "real coding" opinion this html parce line should be separated into 1 place so people can edit listing layout it easier, perhaps...

Share this post


Link to post
Share on other sites

i have another suggestion... do'h...

 

in cross-sell it would be nice if products will com with a checkbox and "add to cart" button

 

reason is quite strait forward:

 

if you have more than one linked products it is a pain to keep clicking back and forth adding them to cart...

 

just imagine - customer reads article - selects some or all suggested products clicks add to cart and bams! sold... (also add to wishlist button would be great)

Edited by fresco

Share this post


Link to post
Share on other sites

Did you ever figure out this problem? I am having the sam problem and wondered what your solution ended up being.

 

I'm having an issue with a SQL query error that I cannot find.

It only comes up when you choose a topic or an author (author_id or tpath) ..

 

1109 - Unknown table 'p' in field list

select count(p.articles_id) as total from articles a, articles_description ad left join authors au on a.authors_id = au.authors_id, articles_to_topics a2t left join topics_description td on a2t.topics_id = td.topics_id where (a.articles_date_available IS NULL or to_days(a.articles_date_available) <= to_days(now())) and a.articles_status = '1' and au.authors_id = '1' and a.articles_id = a2t.articles_id and ad.articles_id = a2t.articles_id and ad.language_id = '1' and td.language_id = '1'

[TEP STOP]

 

I just cannot find where this is being built. Obviously the p needs to be changed.. but where is it???

Share this post


Link to post
Share on other sites
Guest

Hello,

 

I just installed article manager 1.2b.

I had set a new article and topic, and tried to make a cross-selling for exist products. However, the cross-selling didn't work properly.

And, the Article shows

 

New Articles (0)

All Articles (0)

new topic

 

my question is How to make cross-selling work??

website at: http://yupdeal.com/index.php

Please help!!

Share this post


Link to post
Share on other sites
Did you ever figure out this problem?  I am having the sam problem and wondered what your solution ended up being.

 

Unfortunately no I didn't. I think I'm going to have to go back and build it right into the pages. :(

Share this post


Link to post
Share on other sites
Guest

Greetings all from Mozambique.

 

I have a question about Article Manager. I am designing a site for an art agent here in Mozambique (www.artmozambique.com). I have used OSC in the past for other sites and it's working great. However, I have a special need to include artist biographies in the site and then link their biographies to their items. It seems like Article Manager does this.

 

However, in the box on the left nav, I'd like to include a list of names of artists with links directly to their bios. It seems like AM1.0 only includes links to an author's articles or links to all articles, etc. Is there anyway to include links directly to articles in these boxes and allow the admin tool to creat the articles? I ask this b/c I'll need to give this job to the site owner afterwards and I don't want to have to code in new articles with links with every new author.

 

Cheers,

 

Jonathan

Share this post


Link to post
Share on other sites

So does anyone have a live artical yet? I looked through most of the pages on here and I saw one site, but I wasn't sure. Just seeing if anyone has a good site with this installed so I can see how good it is before I install. It would be a waste installing it, them having to uninstall it!

 

Cheers :)

Share this post


Link to post
Share on other sites
Guest
So does anyone have a live artical yet? I looked through most of the pages on here and I saw one site, but I wasn't sure. Just seeing if anyone has a good site with this installed so I can see how good it is before I install. It would be a waste installing it, them having to uninstall it!

 

I do, check here:

 

http://gamefan.com.mx/articles_new.php

 

It's a live mexican videogame shop, we also review many entertainment stuff there, it's in spanish, but you can check the look and feel of the contrib.

 

By the way, is there a way to put a pagebreak on the articles?

 

Cya guys

Share this post


Link to post
Share on other sites
I do, check here:

 

http://gamefan.com.mx/articles_new.php

 

It's a live mexican videogame shop, we also review many entertainment stuff there, it's in spanish, but you can check the look and feel of the contrib.

 

By the way, is there a way to put a pagebreak on the articles?

 

Cya guys

 

That looks awesome!!!

 

On that page you posted, those breaks in between the aticles, is that standard or did you add it? If you added it, how did you do that?

 

Also, how modified is that article system of yours? It looks different from the screen shots.

 

Thanks bud :)

Share this post


Link to post
Share on other sites

Can articles be placed on the front page, like say two or three and then when new ones get added old ones get archived?


"because it'll hurt more"- the greatest film of all time?

Share this post


Link to post
Share on other sites
Guest
So does anyone have a live artical yet? I looked through most of the pages on here and I saw one site, but I wasn't sure. Just seeing if anyone has a good site with this installed so I can see how good it is before I install. It would be a waste installing it, them having to uninstall it!

 

 

Yes, I've had article manager installed for quite some time.

 

http://www.getmemusic.com/articles.php

Share this post


Link to post
Share on other sites
Guest

hi.. i'm having a lil problem with the install... :(

 

i did everything according to the readme file... and the admin area is working fine... its the front-end that is giving problems....

 

Fatal error: Call to undefined function: tep_has_topic_subtopics() in /usr/www/users/chelatf/catalog/includes/boxes/articles.php on line 41

 

 

everything up to the articles box is displaying on my site, the rest is not there :(

 

http://dedi130.your-server.de/chelatf/catalog/

 

did i install wrong? is there a reason why it would give that error?

 

hope u can help me here....

 

thanks!

Share this post


Link to post
Share on other sites

do you have these lines

////
// Return true if the topic has subtopics
// TABLES: topics
 function tep_has_topic_subtopics($topic_id) {
   $child_topic_query = tep_db_query("select count(*) as count from " . TABLE_TOPICS . " where parent_id = '" . (int)$topic_id . "'");
   $child_topic = tep_db_fetch_array($child_topic_query);

   if ($child_topic['count'] > 0) {
     return true;
   } else {
     return false;
   }
 }

 

in functions/articles.php

Share this post


Link to post
Share on other sites
Guest
do you have these lines....

 

 

yes i do.... :( i checked them letter for letter, its the same.....

 

here's my entire functions/articles.php page code:

 

<?php
/*
 $Id: articles.php, v1.0 2003/12/04 12:00:00 ra Exp $

 osCommerce, Open Source E-Commerce Solutions
 http://www.oscommerce.com

 Copyright (c) 2003 osCommerce

 Released under the GNU General Public License
*/

// Parse and secure the tPath parameter values
 function tep_parse_topic_path($tPath) {
   // make sure the topic IDs are integers
   $tPath_array = array_map('tep_string_to_int', explode('_', $tPath));

// make sure no duplicate topic IDs exist which could lock the server in a loop
   $tmp_array = array();
   $n = sizeof($tPath_array);
   for ($i=0; $i<$n; $i++) {
     if (!in_array($tPath_array[$i], $tmp_array)) {
       $tmp_array[] = $tPath_array[$i];
     }
   }

   return $tmp_array;
 }

////
// Generate a path to topics
// TABLES: topics
 function tep_get_topic_path($current_topic_id = '') {
   global $tPath_array;

   if (tep_not_null($current_topic_id)) {
     $cp_size = sizeof($tPath_array);
     if ($cp_size == 0) {
       $tPath_new = $current_topic_id;
     } else {
       $tPath_new = '';
       $last_topic_query = tep_db_query("select parent_id from " . TABLE_TOPICS . " where topics_id = '" . (int)$tPath_array[($cp_size-1)] . "'");
       $last_topic = tep_db_fetch_array($last_topic_query);

       $current_topic_query = tep_db_query("select parent_id from " . TABLE_TOPICS . " where topics_id = '" . (int)$current_topic_id . "'");
       $current_topic = tep_db_fetch_array($current_topic_query);

       if ($last_topic['parent_id'] == $current_topic['parent_id']) {
         for ($i=0; $i<($cp_size-1); $i++) {
           $tPath_new .= '_' . $tPath_array[$i];
         }
       } else {
         for ($i=0; $i<$cp_size; $i++) {
           $tPath_new .= '_' . $tPath_array[$i];
         }
       }
       $tPath_new .= '_' . $current_topic_id;

       if (substr($tPath_new, 0, 1) == '_') {
         $tPath_new = substr($tPath_new, 1);
       }
     }
   } else {
     $tPath_new = implode('_', $tPath_array);
   }

   return 'tPath=' . $tPath_new;
 }

////
// Return the number of articles in a topic
// TABLES: articles, articles_to_topics, topics
 function tep_count_articles_in_topic($topic_id, $include_inactive = false) {
   $articles_count = 0;
   if ($include_inactive == true) {
     $articles_query = tep_db_query("select count(*) as total from " . TABLE_ARTICLES . " a, " . TABLE_ARTICLES_TO_TOPICS . " a2t where (a.articles_date_available IS NULL or to_days(a.articles_date_available) <= to_days(now())) and a.articles_id = a2t.articles_id and a2t.topics_id = '" . (int)$topic_id . "'");
   } else {
     $articles_query = tep_db_query("select count(*) as total from " . TABLE_ARTICLES . " a, " . TABLE_ARTICLES_TO_TOPICS . " a2t where (a.articles_date_available IS NULL or to_days(a.articles_date_available) <= to_days(now())) and a.articles_id = a2t.articles_id and a.articles_status = '1' and a2t.topics_id = '" . (int)$topic_id . "'");
   }
   $articles = tep_db_fetch_array($articles_query);
   $articles_count += $articles['total'];

   $child_topics_query = tep_db_query("select topics_id from " . TABLE_TOPICS . " where parent_id = '" . (int)$topic_id . "'");
   if (tep_db_num_rows($child_topics_query)) {
     while ($child_topics = tep_db_fetch_array($child_topics_query)) {
       $articles_count += tep_count_articles_in_topic($child_topics['topics_id'], $include_inactive);
     }
   }

   return $articles_count;
 }

////
// Return true if the topic has subtopics
// TABLES: topics
function tep_has_topic_subtopics($topic_id) {
  $child_topic_query = tep_db_query("select count(*) as count from " . TABLE_TOPICS . " where parent_id = '" . (int)$topic_id . "'");
  $child_topic = tep_db_fetch_array($child_topic_query);

  if ($child_topic['count'] > 0) {
    return true;
  } else {
    return false;
  }
}

////
// Return all topics
// TABLES: topics, topic_descriptions
 function tep_get_topics($topics_array = '', $parent_id = '0', $indent = '') {
   global $languages_id;

   if (!is_array($topics_array)) $topics_array = array();

   $topics_query = tep_db_query("select t.topics_id, td.topics_name from " . TABLE_TOPICS . " t, " . TABLE_TOPICS_DESCRIPTION . " td where parent_id = '" . (int)$parent_id . "' and t.topics_id = td.topics_id and td.language_id = '" . (int)$languages_id . "' order by sort_order, td.topics_name");
   while ($topics = tep_db_fetch_array($topics_query)) {
     $topics_array[] = array('id' => $topics['topics_id'],
                                 'text' => $indent . $topics['topics_name']);

     if ($topics['topics_id'] != $parent_id) {
       $topics_array = tep_get_topics($topics_array, $topics['topics_id'], $indent . '  ');
     }
   }

   return $topics_array;
 }

////
// Return all authors
// TABLES: authors
 function tep_get_authors($authors_array = '') {
   if (!is_array($authors_array)) $authors_array = array();

   $authors_query = tep_db_query("select authors_id, authors_name from " . TABLE_AUTHORS . " order by authors_name");
   while ($authors = tep_db_fetch_array($authors_query)) {
     $authors_array[] = array('id' => $authors['authors_id'], 'text' => $authors['authors_name']);
   }

   return $authors_array;
 }

////
// Return all subtopic IDs
// TABLES: topics
 function tep_get_subtopics(&$subtopics_array, $parent_id = 0) {
   $subtopics_query = tep_db_query("select topics_id from " . TABLE_TOPICS . " where parent_id = '" . (int)$parent_id . "'");
   while ($subtopics = tep_db_fetch_array($subtopics_query)) {
     $subtopics_array[sizeof($subtopics_array)] = $subtopics['topics_id'];
     if ($subtopics['topics_id'] != $parent_id) {
       tep_get_subtopics($subtopics_array, $subtopics['topics_id']);
     }
   }
 }

////
// Recursively go through the topics and retreive all parent topic IDs
// TABLES: topics
 function tep_get_parent_topics(&$topics, $topics_id) {
   $parent_topics_query = tep_db_query("select parent_id from " . TABLE_TOPICS . " where topics_id = '" . (int)$topics_id . "'");
   while ($parent_topics = tep_db_fetch_array($parent_topics_query)) {
     if ($parent_topics['parent_id'] == 0) return true;
     $topics[sizeof($topics)] = $parent_topics['parent_id'];
     if ($parent_topics['parent_id'] != $topics_id) {
       tep_get_parent_topics($topics, $parent_topics['parent_id']);
     }
   }
 }

////
// Construct a topic path to the article
// TABLES: articles_to_topics
 function tep_get_article_path($articles_id) {
   $tPath = '';

   $topic_query = tep_db_query("select a2t.topics_id from " . TABLE_ARTICLES . " a, " . TABLE_ARTICLES_TO_TOPICS . " a2t where a.articles_id = '" . (int)$articles_id . "' and a.articles_status = '1' and a.articles_id = a2t.articles_id limit 1");
   if (tep_db_num_rows($topic_query)) {
     $topic = tep_db_fetch_array($topic_query);

     $topics = array();
     tep_get_parent_topics($topics, $topic['topics_id']);

     $topics = array_reverse($topics);

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

     if (tep_not_null($tPath)) $tPath .= '_';
     $tPath .= $topic['topics_id'];
   }

   return $tPath;
 }

////
// Return an article's name
// TABLES: articles
 function tep_get_articles_name($article_id, $language = '') {
   global $languages_id;

   if (empty($language)) $language = $languages_id;

   $article_query = tep_db_query("select articles_name from " . TABLE_ARTICLES_DESCRIPTION . " where articles_id = '" . (int)$article_id . "' and language_id = '" . (int)$language . "'");
   $article = tep_db_fetch_array($article_query);

   return $article['articles_name'];
 }

////
//! Cache the articles box
// Cache the articles box
 function tep_cache_topics_box($auto_expire = false, $refresh = false) {
   global $tPath, $language, $languages_id, $tree, $tPath_array, $topics_string;

   if (($refresh == true) || !read_cache($cache_output, 'topics_box-' . $language . '.cache' . $tPath, $auto_expire)) {
     ob_start();
     include(DIR_WS_BOXES . 'articles.php');
     $cache_output = ob_get_contents();
     ob_end_clean();
     write_cache($cache_output, 'topics_box-' . $language . '.cache' . $tPath);
   }

   return $cache_output;
 }

////
//! Cache the authors box
// Cache the authors box
 function tep_cache_authors_box($auto_expire = false, $refresh = false) {
   global $HTTP_GET_VARS, $language;

   $authors_id = '';
   if (isset($HTTP_GET_VARS['authors_id']) && tep_not_null($HTTP_GET_VARS['authors_id'])) {
     $authors_id = $HTTP_GET_VARS['authors_id'];
   }

   if (($refresh == true) || !read_cache($cache_output, 'authors_box-' . $language . '.cache' . $authors_id, $auto_expire)) {
     ob_start();
     include(DIR_WS_BOXES . 'authors.php');
     $cache_output = ob_get_contents();
     ob_end_clean();
     write_cache($cache_output, 'authors_box-' . $language . '.cache' . $authors_id);
   }

   return $cache_output;
 }

?>

Share this post


Link to post
Share on other sites
Guest

Hi all!

 

I love the idea of this contribution! it sounds great! The only problem is that something seems to be going wrong in the instalation somewhere so i'm hoping someone can point out where!

 

The current development site is located here:

http://www.aussiehealthandfitness.com/

 

I addeded the following code

 

  require(DIR_WS_BOXES . 'authors.php');
require(DIR_WS_BOXES . 'articles.php');

 

Just after the call for the categories box etc.

 

  if ((USE_CACHE == 'true') && empty($SID)) {
   echo tep_cache_categories_box();
 } else {
   include(DIR_WS_BOXES . 'categories.php');
 }

 if ((USE_CACHE == 'true') && empty($SID)) {
   echo tep_cache_manufacturers_box();
 } else {
   include(DIR_WS_BOXES . 'manufacturers.php');
 }

 

As you can see there are no infoboxes after the categories box if you look at the website.... even though there were some there earlier.

 

HOWEVER,

if you click on a category ie hardware:

http://www.aussiehealthandfitness.com/index.php?cPath=1

 

you will notice that all the info boxes are dispaing correctly again.

 

Any one have any idea what could be going wrong?

 

Any help much appreciated!

Thanks,

Edwin

Share this post


Link to post
Share on other sites
Guest
That looks awesome!!!

 

On that page you posted, those breaks in between the aticles, is that standard or did you add it? If you added it, how did you do that?

 

Also, how modified is that article system of yours? It looks different from the screen shots.

 

Thanks bud :)

 

Thanks!

 

For the breaks, it's just an <hr> tag between the article listings, I don't remember exactly where you have to do it, but if someon wants to add it, i'll take some time to look and post it here.

 

It's modified just that way, some extra tags here and there, not in the "functional" code itself.

 

What I need to do is page breaks, someone can do it? Many long articles load complete on one single page and sometimes, if the article is too big, it looks bad.

 

Please, please... how to add page breaks to this great contribution?!?

 

Thanks again!!

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

×