Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Latest News Multilingual


ArtcoInc

Recommended Posts

This is in regards to http://addons.oscommerce.com/info/9147

 

I have this installed and working. I have even modified it to be a box_module with a scrolling display for 234 Responsive - Gold..

 

My questions are:

 

1) I can see that the 'status' field in the 'latest_news' table is used to enable/disable that news record. What is the purpose of the 'important' field?

 

2) This add-on is supposed to be Multilingual. While I do not have multiple languages installed on my site, I am curious as to how one creates and manages news records in different languages?

 

Malcolm

Link to comment
Share on other sites

just had a quick look at the code

 

1) i can't see any ref to the important field in the sql for the box, it does not seem used

2)  the same way as it is done on products and categories

the content table has a language id, and the admin page iterates through the different languages to create headline and content fields for data entry in each language

KEEP CALM AND CARRY ON

I do not use the responsive bootstrap version since i coded my responsive version earlier, but i have bought every 28d of code package to support burts effort and keep this forum alive (albeit more like on life support).

So if you are still here ? What are you waiting for ?!

 

Find the most frequent unique errors to fix:

grep "PHP" php_error_log.txt | sed "s/^.* PHP/PHP/g" |grep "line" |sort | uniq -c | sort -r > counterrors.txt

Link to comment
Share on other sites

The "important" field is to decide, whether you want to display a news message on the main page module or not.  You may not want to display any news which is enabled on the index page but only the really important. In the admin tool you find for that a field "Display on main page?"

Edited by De Dokta
Link to comment
Share on other sites

  • 4 weeks later...

Hi all

 

I want to install this application but the instructions mentioned in 2.2 /includes/modules/boxes/bm_information.php

einfόgen/insert:
 
        osc 2.3.x:

'    <a href="' . tep_href_link(FILENAME_LATEST_NEWS) . '">' . MODULE_BOXES_INFORMATION_BOX_NEWS . '</a><br/>' .
        
        BS2334:

'      <li><a href="' . tep_href_link(FILENAME_LATEST_NEWS) . '">' . MODULE_BOXES_INFORMATION_BOX_NEWS . '</a></li>' .

 

but I can not figure out at what point. I put it in the beginning, i put in the end but nothing. Its not working.

I have the 2.3.4bs and the page code is very different.

I would appreciate any help.

Thank you (Sorry for my english).

Link to comment
Share on other sites

Hi

 

In 2.3.4BS it's a little bit different: Insert

'      <li><a href="' . tep_href_link(FILENAME_LATEST_NEWS) . '">' . MODULE_BOXES_INFORMATION_BOX_NEWS . '</a></li>' . into

includes\modules\boxes\templates\information.php.

 

J.J.

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.

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...