Opencart News Ticker is the module for Opencart which shows lines as the ticker and I have made this as the module so we can show wherever module can be shown.

DOWNLOAD:

Download NewsTicker Module

INSTALLATION:

If your ftp is enabled from the admin section:

  1. Upload the NewsTicker.ocmod.zip from Extensions >> Extension Installer
  2. All will be set.

If FTP is not set then follow the following steps:

  1. Download the module
  2. Extract the zip file or Unzip the downloaded file.
  3. Upload the catalog and admin folder which is inside “NewsTicker.ocmod/upload” folder to your server respective folder
  4. Upload the files inside the “upload” folder to your OpenCart root folder.
  5. Now login to admin section then go to Extensions >> Extension Installer >> where you upload the newsticker.ocmod.xml
  6. After successful installation, go to Extensions>> Modification and click the log tab and see if some errors are showing, if the error shows then you have to solve it first.
  7. If no error click the refresh button
  8. You are all set.
  9. Enjoy free module.

If you see the module listed then you are set, now install the module.

newsticker-module-listing

Another with the installation of newsticker.ocmod.xml you will see “NewsTicker” on left menu.

newsticker-module-at-left-menu

If you see these two things then you have installed your files and folder properly.  Now time to configure the module.

First, we install the module, install the database, then insert data of newsticker, then add the module and insert data to the module and configure at layouts to show an information page.

Install the NewsTicker Module:

Go to Extensions >> Extensions >> Choose Modules in Extension Type >> In NewsTicker Module click Install button. Then Click the edit button.

DATABASE INSTALLATION:

At the start of module edit, you will see following instruction to install the Database.
database-table-missing

It will run the following query at your database:

<?php 
    class ModelNewstickerInstall extends Model {
        public function addExtensionTables() {
            $this->db->query("CREATE TABLE IF NOT EXISTS ". DB_PREFIX . "newsticker(
            `newsticker_id` int(11) NOT NULL,
            `name` varchar(64) NOT NULL,
            `status` tinyint(1) NOT NULL,
            PRIMARY KEY (`newsticker_id`)
            ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1");

            $this->db->query("CREATE TABLE " . DB_PREFIX . "newsticker_description(
            `newsticker_description_id` int(11) NOT NULL,
              `newsticker_id` int(11) NOT NULL,
              `language_id` int(11) NOT NULL,
              `name` varchar(255) NOT NULL,
              `message` varchar(255) NOT NULL,
              `position` int(3) NOT NULL DEFAULT '0',
              PRIMARY KEY (`newsticker_description_id`)
            ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1");

            $this->db->query("ALTER TABLE " . DB_PREFIX . "newsticker
            MODIFY `newsticker_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=1");
            $this->db->query("ALTER TABLE " . DB_PREFIX . "newsticker_description
            MODIFY `newsticker_description_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=1");

        }
    }
?>

When you clicked the Install Database then your database table is installed.

Now when you go to Extensions >> Extensions >> Choose Modules in Extension Type >> In NewsTicker Module click Edit button. Then you will see like below:

newsticker-list-instruction

Click on the “here”. It will take you to place to insert the newsticker. I made like this so that we can add many newstickers on different places as needed.

adding-newsticker-list

Now click on the add button.

inserting-newsticker-list

By filling above form click save.

Configuration of NewsTicker Module:

Now again go to Extensions >> Extensions >> Choose Modules in Extension Type >> In NewsTicker Module click Edit button

newsticker-module-configuration

Configuring layout of NewsTicker to show at Information Page:

Go to Design >> Layouts >> Edit Information from the list >>

layout-section-newsticker-module

Click add button at the Content Top layout, then choose “Information Page News Ticker” from dropdown. Then Click Save.

Front end or Presentation section to see the NewsTicker Module. Go to About us page of Information pages. Then you will see as follows:

newsticker-opencart-module-free

You are set to show NewsTicker at information page. Likewise, you can show different layout and position in different pages.

FEATURES:

  • Displays news ticker on any page and position.
  • All feature that module need to have.
  • Sentences or news can be inserted from the admin section.
  • Compatible with all major browsers (Firefox, IE8, Safari, Chrome, and Opera).
  • Tested with the Opencart version 2.3.0.1 only with the default theme.
  • Easy installation I think.
  • Ocmod / vQmod support

DEMO:

https://webocreation.com/demo/

HOW TO INSERT THE NEWS or SENTENCE

Go to Admin >> Design >> NewsTicker and you can insert or edit the existing one. Click plus button to insert the new line you want to show at the NewsTicker module.

Permission Denied!

You do not have permission to access this page, please refer to your system administrator.

Go to the System >> Users >> User Groups and edit the Top Administrator and then check as in the figure:

permission for news ticker module of opencart
permission for news ticker module of opencart

It means we have to give permission to catalog/newsticker.

Code of OcMod of NewsTicker Module:

<?xml version="1.0" encoding="utf-8"?>
<modification>
    <name>Newsticker</name>
    <version>1.0</version>
    <author>WebOCreation</author>
    <link>https://webocreation.com</link>
    <code>webocreation_newsticker_1_1</code>
    <file path="admin/controller/common/column_left.php">
        <operation>
            <search><![CDATA[
            if ($this->user->hasPermission('access', 'design/layout')) {
            ]]></search>
            <add position="before"><![CDATA[
            if ($this->user->hasPermission('access', 'design/newsticker')) {
$design[] = array(
'name'   => $this->language->get('text_newsticker'),
'href'     => $this->url->link('design/newsticker', 'token=' . $this->session->data['token'], true),
'children' => array()
);
}
            ]]></add>
        </operation>
    </file>
    <file path="admin/language/*/common/column_left.php">
        <operation>
            <search><![CDATA[
            $_['text_affiliate']
            ]]></search>
            <add position="before"><![CDATA[
            $_['text_newsticker']='NewsTicker';
            ]]></add>
        </operation>
    </file>
</modification>

COPYRIGHT:

This module code is the intellectual property of the designers involved in its creation. As an Opensource code you are entitled to use it freely and modify it if you wish but please keep the credits intact.

All jquery are used from the following contributor:
http://www.jquerynewsticker.com/

Enjoy!

For questions, errors, suggestions and request you can mail me  at webocreation.com@gmail.com. You can follow at my twitter account @rupaknpl and subscribe YouTube user onlinegyannepal.

Search terms:

scroll text module in opencart, show text at the top on opencart, jquery webticker module for opencart, jquery marquee module in opencart, jquery scroller module for opencart,

30 COMMENTS

  1. Hi

    i have installed this, and checked everything numerous times, but

    Go to Catalog >> News Ticker and click insert and insert the news line you want to show at the News Ticker module.

    does not exist

    running opencart 1.5.4.1 with default skin

    • First give the permission to the user to use the link catalog/newsticker

      To show the Catalog >> News Ticker vQmod need to be installed.
      Either installed the vQmod and try again or try the following

      First click on Catalog >> Product
      Now in the url change the product to newsticker.

      Like
      yoururl/admin/index.php?route=catalog/product&token=75246e1ada6804f7242158878ebddd4e
      change to
      yoururl/admin/index.php?route=catalog/newsticker&token=75246e1ada6804f7242158878ebddd4e

      Don’t change other only change product to newsticker

      Hope this works out.

  2. hello when accesing in catalog it says

    Notice: Error: Table ‘db443283344.newstickers’ doesn’t exist
    Error No: 1146
    SELECT COUNT(*) AS total FROM newstickers in /homepages/30/d428728155/htdocs/public_html/system/database/mysql.php on line 49

    using it on open cart 1.5.4.1
    do you have any fix please

    • your database prefix is db443283344 so your query to run will be following
      ===============
      CREATE TABLE IF NOT EXISTS `db443283344_newstickers` (
      `newsticker_id` int(11) NOT NULL AUTO_INCREMENT,
      `title` varchar(250) NOT NULL,
      `linkto` varchar(250) NOT NULL,
      PRIMARY KEY (`newsticker_id`)
      ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=6 ;
      ================

      Hope this will help for you

    • Which Opencart Version, i have checked it on version 1.5.4.1
      Check for the extra jquery you are using, let me know the URL so i can see what i wrong

  3. I created table, but i still have problem: table doesnt exist. I change oc with my database prefix. Now table exist id phpadmin, but in OC admin i have still error.

    • Something wrong in making the table. please check it

      This weekend i will try to make it automatic installation so it will remove this kind of problem

  4. i installed on website but not working. need your help. also does this work with any opencart mobile extension?

  5. I try and success but few thing need to be solve:
    1. Catalog >> News Ticker – No show because need instal vqmod
    2. News not ticker or not moving because missing file.

    try to look in your web : catalog/view/javascript/jquery/newsticker
    and find:
    1. jquery.ticker.js
    2. site.js
    3. ticker-style.css

    if dont have, you can download from here: http://www.jquerynewsticker.com/

    Hopefully can solve your problem and keep learning.

  6. Thanks for the ticker, it works well except for you haven’t included the JS files in your download. See Halim’s comment to fix this.

  7. http://ipc.li/os/ticker.jpg

    hello, I have installed the ticker on OpenShop v1.7(OC v.1.5.6.1-3)

    on the Main Page, I now have TWO fixed Lines with Links as shown on Image Part1, I assume to have a Javascript Error as shown at Image Part2. Everything else is Error-free installed. It’s all there, but NOT TICKERING…

    Any assistance is highly appreciated

  8. I just installed your News Ticker Module exactly as directed…but once I got to the Extension Installer I tried to upload the newsticker.ocmod and Extension installer said: “…Modification requires a unique ID code”. So after reaching Modification ID Code, I found what I thought was a ID Code Fix and it had me add the following red code to your newsticker.ocmod file.
    Modification ID
    Modification
    Newsticker
    1.0
    WebOCreation
    https://webocreation.com

    Once I added the ID Code Fix the Extension Installer uploaded the file with no problem. However, once I clicked Modification to refresh I got the following error:

    Parse error: syntax error, unexpected ‘}’ in /home3/inraje/public_html/shop/system/storage/modification/admin/controller/common/column_left.php on line 933

    Now I can not access my admin area at all. once I log into my admin section it goes directly to this error and I can’t go any further. PLEASE HELP!!!!! I deleted all the upload files believing that would deactivate any module and remove the error but it has not.

  9. Fatal error: Class ‘Controllermodulenewsticker’ not found in …/vqmod/vqcache/vq2-system_storage_modification_system_engine_action.php

LEAVE A REPLY

Please enter your comment!
Please enter your name here