Jump to content

knackig

Members
  • Content count

    3
  • Joined

  • Last visited

About knackig

  • Birthday 05/19/1984

Profile Information

  1. knackig

    News Blog V1.0

    Hi bryn28, hi petlv, the solution for the "Unexpected End of File"-Problem (see petlv an his post above) ist not good. The art like you, petlv, have done it causes the problem with the broken all-news-view. I have found the problem. Please delete the second "}" (see petlv's solution) and add it instead after this code (about line 60-65): <?php if ($HTTP_GET_VARS['article'] == true) { $id = (int)tep_db_prepare_input($HTTP_GET_VARS['article']); $news_query = tep_db_query("select n.date_created, nd.name, nd.content from " . TABLE_NEWS . " n, " . TABLE_NEWS_DESC . " nd where nd.news_id = '" . (int)$id . "' and n.id = '" . (int)$id . "' and nd.language_id = '" . (int)$languages_id . "'"); $news = tep_db_fetch_array($news_query); So the right code is: <?php if ($HTTP_GET_VARS['article'] == true) { $id = (int)tep_db_prepare_input($HTTP_GET_VARS['article']); $news_query = tep_db_query("select n.date_created, nd.name, nd.content from " . TABLE_NEWS . " n, " . TABLE_NEWS_DESC . " nd where nd.news_id = '" . (int)$id . "' and n.id = '" . (int)$id . "' and nd.language_id = '" . (int)$languages_id . "'"); $news = tep_db_fetch_array($news_query); } ?> If you have any quastions, please ask... I will help you if I can ;) By the way - I hope, my english is not to bad...
  2. knackig

    Attribute Sets Plus

    Thanks for your answer ;)
  3. knackig

    Attribute Sets Plus

    I would like to see an example too... Does somebody have any screenshots or links?
×