Support Forums

Support Offline : Mon - Fri / 10am - 6pm (GMT +6)

Your Time: Our Time:

Replicate an existing addon

Featured Lock Resolved Task
I want to replicate an existing addon (eg. articles_scroller) named differently and use it with small modifications

8 Answers

Paul Frankowski - Staff

More than a month ago #Permalink
maybe try first with basic addon, raw html

i cannot help in php customizations

Paul Frankowski - Staff

More than a month ago #Permalink
Hi,
Possible, but not so easy if you never touched PHP code.
---
For sure :
1) Addon folder name must be unique (single English word, easier for you)
2) Addon name is in both site.php and admin.php files

Panosgr

More than a month ago #Permalink
It is OK, i have experience with php.
In fact i dont want to change a lot the original addon.
In the article scroller addon i want to replicate it, named it "article scroller products" and remove the image from the display.
Not much of work but it does make sense to me.

How can i achieve that?
I only have to rename the original addon?

Paul Frankowski - Staff

More than a month ago #Permalink
Addon article scroller is much more complicated than typical addon.
Maybe just use custom CSS to hide an image, 60sec of work, instead of 20min+.
---
As I told you before point 2) is very important


components\com_sppagebuilder\addons\articles_scroller_products

and replace addon names in all places in both files.
Starting from admin.php
'addon_name'=>'sp_articles_scroller',


Now is your part.

Panosgr

More than a month ago #Permalink
thanks, i will try that.
it ia an essential part to modify several parts of website to be able to replicate an addon

Panosgr

More than a month ago #Permalink
It does not seem to work.
I have rename the new folder to "test_articles_scroller" and also replace any "articles_scroller" i have found in the site.php and admin.php with "test_articles_scroller" but it does not work.

The output is something like that

[sp_test_articles_scroller admin_label="" addon_style="ticker" number_of_items="3" number_of_items_tab="2" number_of_items_mobile="1" move_slide="1" slide_speed="500" carousel_autoplay="0" carousel_touch="0" carousel_arrow="0" resource="article" ordering="latest" article_scroll_limit="12" image_bg="0" ticker_heading="Breaking News" ticker_heading_width="" ticker_heading_fontsize="" ticker_heading_font_weight="" show_shape="1" heading_letter_spacing="" heading_shape="arrow" left_side_bg="" left_text_color="" overlap_date_text="0" overlap_text_color="" overlap_text_font_size="" overlap_text_right="" content_bg="" right_title_font_size="" content_title_font_weight="700" title_color="" show_intro="1" intro_limit="100" content_fontsize="" ticker_date_time="0" ticker_date_hour="0" text_color="" item_bottom_gap="1" carousel_styles="date" carousel_date_font_size="" carousel_date_font_weight="700" carousel_content_padding="" border_size="0" border_color="" border_radius="0" arrow_color="" class="" global_background_type="none" global_background_gradient="" global_background_repeat="no-repeat" global_background_size="cover" global_background_attachment="inherit" global_background_position="50% 50%" global_use_overlay="0" global_overlay_type="overlay_none" global_gradient_overlay="" global_pattern_overlay="" global_overlay_pattern_color="" blend_mode="normal" global_user_border="0" global_border_width="" global_border_radius="0" global_margin="0px 0px 30px 0px" global_padding=" " global_boxshadow="0 0 0 0 #ffffff" global_use_animation="0" global_animationduration="300" global_animationdelay="0" global_custom_css="" global_custom_position="0" global_seclect_position="relative" global_addon_position_left="" global_addon_position_top="" use_global_width="0" hidden_md="0" hidden_sm="0" hidden_xs="0" acl="" row_id="1561475198248" column_id="1561475198247" global_margin_sm="0px 0px 20px 0px" global_margin_xs="0px 0px 10px 0px" global_padding_sm=" " global_padding_xs=" " dynamicId="1565287975685"][while_scroll_view enable_while_scroll_view="0" on_scroll_actions="" transition_origin_x="center" transition_origin_y="center" enable_tablet="0" enable_mobile="0"][/while_scroll_view][mouse_movement enable_tilt_effect="0" mouse_tilt_direction="direct" mouse_tilt_speed="1" mouse_tilt_max="15" enable_tablet="0" enable_mobile="0"][/mouse_movement][/sp_test_articles_scroller]

Panosgr

More than a month ago #Permalink
thanks


There are no replies made for this post yet.
Be one of the first to reply to this post!

Leaderboard (30 days)

Sifat

Sifat

Total Accepted Answers: 119
Paul Frankowski

Paul Frankowski

Total Accepted Answers: 107
Toufiq

Toufiq

Total Accepted Answers: 91
Kamruzzaman Alam

Kamruzzaman Alam

Total Accepted Answers: 3
FUTURECLIENT

FUTURECLIENT

Total Accepted Answers: 2

115

Templates

295919

Community Users

Newsletter

Don’t miss any updates of our new templates and extensions and all the astonishing offers we bring for you.
We never spam

Joomla! ® name is used under a limited license from Open Source Matters in the United States and other countries. JoomShaper.com is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.

Connect Us