Opencart News Ticker is the module for Opencart version 2 which shows lines as the ticker and we have made this as the module so we can show wherever module can be shown. Click for Newsticker OpenCart 3 version
DOWNLOAD:
INSTALLATION:
If your FTP is enabled from the admin section:
- Upload the NewsTicker.ocmod.zip from Extensions >> Extension Installer
- All will be set.
If FTP is not set then follow the following steps:
- Download the module
- Extract the zip file or Unzip the downloaded file.
- Upload the catalog and admin folder which is inside “NewsTicker.ocmod/upload” folder to your server respective folder
- Upload the files inside the “upload” folder to your OpenCart root folder.
- Now login to admin section then go to Extensions >> Extension Installer >> where you upload the newsticker.ocmod.xml
- 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.
- If no error click the refresh button
- You are all set.
- Enjoy the free module.
If you see the module listed then you are set, now install the module.
Another with the installation of newsticker.ocmod.xml you will see “NewsTicker” on the 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 the module edit, you will see the following instruction to install the Database.
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:
Click on the “here”. It will take you to place to insert the newsticker. We made like this so that we can add many news-tickers to different places as needed.
Now click on the add button.
By filling the above form click save.
Configuration of the NewsTicker Module:
Now again go to Extensions >> Extensions >> Choose Modules in Extension Type >> In NewsTicker Module click Edit button
Configuring layout of NewsTicker to show at Information Page:
Go to Design >> Layouts >> Edit Information from the list >>
Click the add button at the Content Top layout, then choose “Information Page News Ticker” from the 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:
You are set to show NewsTicker at the information page. Likewise, you can show different layout and position on different pages.
FEATURES:
- Displays news ticker on any page and position.
- All features that modules 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/nepalbuddha/
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:
It means we have to give permission to the 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 is used from the following contributor:
http://www.jquerynewsticker.com/
Enjoy!
For questions, errors, suggestions, and requests you can mail me at webocreation.com@gmail.com. You can follow at my twitter account @rupaknpl and subscribe to YouTube user OpencartTutorials.
Search terms:
scroll text module in opencart, show text at the top on opencart, jquery web ticker module for opencart, jquery marquee module in opencart, jquery scroller module for opencart,