Menu Close
    Searching for an experienced Magento 2 Development Company ?

    News Ticker For Magento 2

    News Ticker for Magento 2 is an amazing module which allows you to display moving text in your store. Display important news titles, recent updates or information about offers & discounts. The admin can create various news and also add them to the news ticker groups.

    Customizes the scrolling speed of the news tickers. You can also change the direction of the news ticker. The News Ticker for Magento 2 module has lots of customization options.

    0ANgGPXPo74

    Features

    • Color customization for news text and also for the background.
    • Set the news ticker width and scrolling speed.
    • Easily add the widget of the News Ticker.
    • Add more than one widget of News Ticker.
    • Each widget will work according to their group property.
    • The user can pause and also resume the scrolling animation.
    • Create, update, or remove any number of news text.
    • Add, edit, or delete various news ticker groups.
    • Two types of animation effects are available – linear and swing.
    • No need to install the flash plugin to use this module.
    • Newsticker direction can be set to either left or right.
    • Enable or disable any news or a group from the back-end.
    • Add group information – group title, group code, and group name
    • Supports multiple languages and translations.

    Installation

    After the purchase of News Ticker for Magento 2, customers will get a zip folder. They have to extract the contents of this zip folder on their system. The extracted folder has an src folder, inside the src folder you have the app folder. You need to transfer this app folder into the Magento2 root directory on the server as shown below.

    Installation Of News Ticker For Magento2

    After the successful installation, you also have to run these commands in the Magento2 root directory.

    First command- php bin/magento setup:upgrade

    cmd1

    Second Command – php bin/magento setup:di:compile
    cmd2

    Third Command – php bin/magento setup:static-content:deploy
    cmd3

    After running the commands, you have to flush the cache from the Magento admin panel by navigating through->System->Cache management as shown below.

    Installation Of News Ticker For Magento2

    Multilingual Support

    For the multilingual support, the admin will navigate through Store->Configuration->General ->Locale Options and select the locale as German (the language into which the admin wants to translate his store content).

    Configuration For Multilingual Support

    Language Translation

    If the user wants to translate their module from English to German then they need to follow the path app/code/Webkul/NewsTicker/i18n in their unzipped Magento2 News Ticker folder and will get a CSV file with the name “en_US.csv”. Now they will rename that CSV as “de_DE.csv” and also translate all right side content after the comma in the German language. After editing the CSV, save it and then upload it to the path app/code/Webkul/NewsTicker/i18n where they have installed Magento2 on the server. The module will also get translated into the German Language. It supports both RTL and LTR languages.

    file transfer News Ticker For Magento 2

    translate News Ticker For Magento 2

    The user can edit the CSV like the image below.
    Magento2 Aramex Shipping Translation

    News Ticker Configuration

    Later, the installation of the module, the admin will see the News Ticker menu. Inside the News Ticker menu you will find – Manage News and Manage Groups menu options.

    new menu

    News Ticker Manage News

    Clicking on the Manage News menu option, the admin can view, add, edit, or delete the news.

    Add News – To create news for the news ticker, click the Add News button.

    Actions – Use this option to delete, enable, or disable any news from the list.

    Filters – To find any specific news from the list, use this option.

    Edit – For editing or updating any news, click Edit.

    manage news

    Add News

    Afterward, clicking on Add News, the news form opens as per the screenshot. The admin can enter the news in the text box and can also enable the status of the news added.

    News Information:

    News – Enter the content of this news.

    Text Color – Set the text color for this news.

    Sort Order –  Set the order of this news.

    Status – Set the status as Enabled to use this news, else select Disabled.

    Click the Save News button to save your changes.

    add news

    News Ticker Manage Group

     Afterward, clicking the Manage Group option, the following page will open. From here the admin can view all the news ticker groups. Information such as Group Title, Name, Code, Display Type, Speed, News IDs, and Status are visible.

    Add Group – To create a new group, click the Add Group button.

    Actions – Use this option to Enable, Disable, or Delete a group from the list.

    Filters – To find any group from the list, use this option.

    Edit – For updating an existing group, click Edit.

    manage group

    Add Group

    To create a news ticker group, the admin needs to provide the following information. After providing the group information go to Group News and select the news from the list.

    new group

    Here the admin will enter –

    • Group Name – Enter the name for the group that will contain various similar news
    • Group Title – Set the group’s title
    • Group Code – Set the group code
    • Direction – Set the news ticker animation direction to Left or Right
    • Display Type – Set the animation display type as Swing or Linear
    • Background Color – Set the background color of the news
    • Group Width – Set the width of the newsgroup
    • Group Speed – Set the animation speed of the group
    • Status – Set the status of the news as Enabled or Disabled

    Group News

    Moreover, now the admin needs to select the news for the group. Use the checkbox to select the news items for the group. The selected news will be visible in the news ticker. Click the Save Group button to apply your changes made.

    select news

    Adding News Ticker CMS Block Code

     Furthermore, you have added the group, you can customize the page you want to show the news ticker in. In the Admin panel go to Content->pages and the list of pages will appear. From any page, the admin can click on the edit option to edit the content section for customizing the front page news ticker.

    pages

    Go to the Content section and enter the news ticker block code as appears in the screenshot below.

    This is a sample code for a news ticker.

    {{block class=”Webkul\NewsTicker\Block\Group\Group” group_code=”test_group” template=”Webkul_NewsTicker::group.phtml”}}

    Note

    In the case of block call at CMS page, You will have to write (“) in HTML otherwise, if you simply copy these codes on WYSIWYG editor then it will convert the double quote into some ASCII code and you will unable to call block on CMS page.

    It will look like this on the CMS page.

    {{block class=”Webkul\NewsTicker\Block\Group\Group” group_code=”test_group” template=”Webkul_NewsTicker::group.phtml”}}

     

    block code

    Adding News Ticker Widget

    But to add a news ticker widget the admin will navigate to Content>Pages.  Add a new page or use an existing one to add the news ticker.
    Pages Add Edit

    Afterward, now, to add the news ticker click the Add New Page button on the top right-hand corner or use an already created page. This brings up the section to add a new page. And enter the Page Title and then go to the Content section. Enter the content heading and within the editor click the add widget button.
    Pages Add Edit

    Moreover, Clicking the widget brings up the section to add the widget. For the Widget, Type selects the News Ticker widget from the drop-down option. The Widget Options select the News Group that you want to display at the front-end. Now, click the Insert Widget button.
    Insert Widget

    Afterward inserting the widget, click the Save button at the top-right hand side and now you are done configuring the News Ticker at your required page.
    Widget Save

    Front-End View of News Ticker

    Here is the sample News Ticker appearing on the homepage. Different text colors have been set for groups showing multiple news items.

    g

    Moreover, Thank you for viewing this blog. If you have any issues, please visit webkul.uvdesk.com

    Current Product Version - 4.0.0

    Supported Framework Version - Magento 2.0.x, 2.1.x, 2.2.x,2.3.x, 2.4.x

    . . .
    Discuss on Helpdesk

    Leave a Comment

    Your email address will not be published. Required fields are marked*


    Be the first to comment.

    Back to Top

    Table of Content

    Hide Index