[Skip to main content](#vessel-content)

#   Plugin page views question

##

- **[liaskas](/forum/user/59465-liaskas "View liaskas's Profile")**
- [![liaskas's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/59465-liaskas "View liaskas's Profile") Topic Author
- [ Offline](/forum/user/59465-liaskas)

Less More

- Posts: 205
- Thank you received: 12
-
-

6 years 5 months ago [\#320083](#320083) by [liaskas](/forum/user/59465-liaskas "View liaskas's Profile")  *[Plugin page views question](/forum/23-market-how-to/900046-plugin-page-views-question#320083 "-- HikaShop version -- : 4.3.0 -- HikaMarket version -- : 3.1.0 -- Joomla version -- : 3.9.18 -- PHP version -- : 7.2.30  Forgive us if we posted this thread in the wrong category, but we do not know if this is related to HikaShop or HikaMarket.  Trying to find out what the page views for...  Shipping plugins vendor-control-panel/plugin/edit/name-manual/plugin&#95;type-shipping/subtask-edit vendor-control-panel/plugin/edit/name-fedex/plugin&#95;type-shipping/subtask-edit vendor-control-panel/plugin/edit/name-ups/plugin&#95;type-shipping/subtask-edit  Payment plugins vendor-control-panel/plugin/edit/name-banktransfer/plugin&#95;type-payment/subtask-edit vendor-control-panel/plugin/edit/name-check/plugin&#95;type-payment/subtask-edit vendor-control-panel/plugin/edit/name-collectondelivery/plugin&#95;type-payment/subtask-edit vendor-control-panel/plugin/edit/name-paypal/plugin&#95;type-payment/subtask-edit vendor-control-panel/plugin/edit/name-westernunion/plugin&#95;type-payment/subtask-edit  Please advise because we need to make changes to the layouts but we can not locate the views to create overrides!  Thank you in advance.")* was created by *[liaskas](/forum/user/59465-liaskas "View liaskas's Profile")*

-- HikaShop version -- : 4.3.0
-- HikaMarket version -- : 3.1.0
-- Joomla version -- : 3.9.18
-- PHP version -- : 7.2.30

Forgive us if we posted this thread in the wrong category, but we do not know if this is related to HikaShop or HikaMarket.

Trying to find out what the page views for...

Shipping plugins
vendor-control-panel/plugin/edit/name-manual/plugin_type-shipping/subtask-edit
vendor-control-panel/plugin/edit/name-fedex/plugin_type-shipping/subtask-edit
vendor-control-panel/plugin/edit/name-ups/plugin_type-shipping/subtask-edit

Payment plugins
vendor-control-panel/plugin/edit/name-banktransfer/plugin_type-payment/subtask-edit
vendor-control-panel/plugin/edit/name-check/plugin_type-payment/subtask-edit
vendor-control-panel/plugin/edit/name-collectondelivery/plugin_type-payment/subtask-edit
vendor-control-panel/plugin/edit/name-paypal/plugin_type-payment/subtask-edit
vendor-control-panel/plugin/edit/name-westernunion/plugin_type-payment/subtask-edit

Please advise because we need to make changes to the layouts but we can not locate the views to create overrides!

Thank you in advance.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIzLW1hcmtldC1ob3ctdG8vOTAwMDQ2LXBsdWdpbi1wYWdlLXZpZXdzLXF1ZXN0aW9uP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

6 years 5 months ago [\#320085](#320085) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Plugin page views question](/forum/23-market-how-to/900046-plugin-page-views-question#320085 "-- HikaShop version -- : 4.3.0 -- HikaMarket version -- : 3.1.0 -- Joomla version -- : 3.9.18 -- PHP version -- : 7.2.30  Forgive us if we posted this thread in the wrong category, but we do not know if this is related to HikaShop or HikaMarket.  Trying to find out what the page views for...  Shipping plugins vendor-control-panel/plugin/edit/name-manual/plugin&#95;type-shipping/subtask-edit vendor-control-panel/plugin/edit/name-fedex/plugin&#95;type-shipping/subtask-edit vendor-control-panel/plugin/edit/name-ups/plugin&#95;type-shipping/subtask-edit  Payment plugins vendor-control-panel/plugin/edit/name-banktransfer/plugin&#95;type-payment/subtask-edit vendor-control-panel/plugin/edit/name-check/plugin&#95;type-payment/subtask-edit vendor-control-panel/plugin/edit/name-collectondelivery/plugin&#95;type-payment/subtask-edit vendor-control-panel/plugin/edit/name-paypal/plugin&#95;type-payment/subtask-edit vendor-control-panel/plugin/edit/name-westernunion/plugin&#95;type-payment/subtask-edit  Please advise because we need to make changes to the layouts but we can not locate the views to create overrides!  Thank you in advance.")*

Hello,

If you want to know which view you need to edit, the easier is to use the "display view files" HikaShop setting :
[ www.hikashop.com/support/documentation/5...g.html#advanced\_main](https://www.hikashop.com/support/documentation/54-hikashop-config.html#advanced_main)

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIzLW1hcmtldC1ob3ctdG8vOTAwMDQ2LXBsdWdpbi1wYWdlLXZpZXdzLXF1ZXN0aW9uP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[liaskas](/forum/user/59465-liaskas "View liaskas's Profile")**
- [![liaskas's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/59465-liaskas "View liaskas's Profile") Topic Author
- [ Offline](/forum/user/59465-liaskas)

Less More

- Posts: 205
- Thank you received: 12
-
-

6 years 5 months ago [\#320112](#320112) by [liaskas](/forum/user/59465-liaskas "View liaskas's Profile")  Replied by *[liaskas](/forum/user/59465-liaskas "View liaskas's Profile")* on topic *[Plugin page views question](/forum/23-market-how-to/900046-plugin-page-views-question#320112 "-- HikaShop version -- : 4.3.0 -- HikaMarket version -- : 3.1.0 -- Joomla version -- : 3.9.18 -- PHP version -- : 7.2.30  Forgive us if we posted this thread in the wrong category, but we do not know if this is related to HikaShop or HikaMarket.  Trying to find out what the page views for...  Shipping plugins vendor-control-panel/plugin/edit/name-manual/plugin&#95;type-shipping/subtask-edit vendor-control-panel/plugin/edit/name-fedex/plugin&#95;type-shipping/subtask-edit vendor-control-panel/plugin/edit/name-ups/plugin&#95;type-shipping/subtask-edit  Payment plugins vendor-control-panel/plugin/edit/name-banktransfer/plugin&#95;type-payment/subtask-edit vendor-control-panel/plugin/edit/name-check/plugin&#95;type-payment/subtask-edit vendor-control-panel/plugin/edit/name-collectondelivery/plugin&#95;type-payment/subtask-edit vendor-control-panel/plugin/edit/name-paypal/plugin&#95;type-payment/subtask-edit vendor-control-panel/plugin/edit/name-westernunion/plugin&#95;type-payment/subtask-edit  Please advise because we need to make changes to the layouts but we can not locate the views to create overrides!  Thank you in advance.")*

Thank you for your reply. This setting is very useful !

But we still have the following problem...

On page... vendor-control-panel//plugin/edit/name-banktransfer/plugin_type-payment/subtask-edit

The area of the plugin set the view that is shown at the top is pluginmarket / form.php

We opened this view pluginmarket / form.php to locate some strings that we want to modify.

The changes we want to do are related to language strings but they are not related to translation.

Please see the screenshot bellow that describes best what we want to do...
[ ![plugin&#95;constants.png](/forum/attachment/49579) ](/forum/attachment/49579 "...&#95;constants.png")

Thank you in advance for your help

- [ ![plugin&#95;constants.png](/forum/attachment/49579) ](/forum/attachment/49579 "...&#95;constants.png") [ ](/forum/attachment/49579?download=1 "...&#95;constants.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIzLW1hcmtldC1ob3ctdG8vOTAwMDQ2LXBsdWdpbi1wYWdlLXZpZXdzLXF1ZXN0aW9uP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

6 years 5 months ago [\#320153](#320153) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Plugin page views question](/forum/23-market-how-to/900046-plugin-page-views-question#320153 "-- HikaShop version -- : 4.3.0 -- HikaMarket version -- : 3.1.0 -- Joomla version -- : 3.9.18 -- PHP version -- : 7.2.30  Forgive us if we posted this thread in the wrong category, but we do not know if this is related to HikaShop or HikaMarket.  Trying to find out what the page views for...  Shipping plugins vendor-control-panel/plugin/edit/name-manual/plugin&#95;type-shipping/subtask-edit vendor-control-panel/plugin/edit/name-fedex/plugin&#95;type-shipping/subtask-edit vendor-control-panel/plugin/edit/name-ups/plugin&#95;type-shipping/subtask-edit  Payment plugins vendor-control-panel/plugin/edit/name-banktransfer/plugin&#95;type-payment/subtask-edit vendor-control-panel/plugin/edit/name-check/plugin&#95;type-payment/subtask-edit vendor-control-panel/plugin/edit/name-collectondelivery/plugin&#95;type-payment/subtask-edit vendor-control-panel/plugin/edit/name-paypal/plugin&#95;type-payment/subtask-edit vendor-control-panel/plugin/edit/name-westernunion/plugin&#95;type-payment/subtask-edit  Please advise because we need to make changes to the layouts but we can not locate the views to create overrides!  Thank you in advance.")*

Hello,

The "pluginmarket / form" view process the configuration returned by the HikaMarket core regarding the plugin you're editing.
Depending the vendor ACL and what the plugin contains, it will fill some variables which will be processed in the different "blocks".

If you want to override the labels ; the best is to edit the variables in the view before the call of the "processConfig" function.
In your case, the "Name" and "Description" are part of the " $this-&gt;main_form " variable ; which is an array and will contains the elements you want under : Code:

$this-&gt;main_form[$this-&gt;type.'_name']['name']; $this-&gt;main_form[$this-&gt;type.'_description']['name'];

HikaMarket is using the labels from the HikaShop Backend. In order to reduce the translation file and not duplicate too much entries, we kept that definitions.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIzLW1hcmtldC1ob3ctdG8vOTAwMDQ2LXBsdWdpbi1wYWdlLXZpZXdzLXF1ZXN0aW9uP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[liaskas](/forum/user/59465-liaskas "View liaskas's Profile")**
- [![liaskas's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/59465-liaskas "View liaskas's Profile") Topic Author
- [ Offline](/forum/user/59465-liaskas)

Less More

- Posts: 205
- Thank you received: 12
-
-

6 years 5 months ago -  6 years 5 months ago [\#320182](#320182) by [liaskas](/forum/user/59465-liaskas "View liaskas's Profile")  Replied by *[liaskas](/forum/user/59465-liaskas "View liaskas's Profile")* on topic *[Plugin page views question](/forum/23-market-how-to/900046-plugin-page-views-question#320182 "-- HikaShop version -- : 4.3.0 -- HikaMarket version -- : 3.1.0 -- Joomla version -- : 3.9.18 -- PHP version -- : 7.2.30  Forgive us if we posted this thread in the wrong category, but we do not know if this is related to HikaShop or HikaMarket.  Trying to find out what the page views for...  Shipping plugins vendor-control-panel/plugin/edit/name-manual/plugin&#95;type-shipping/subtask-edit vendor-control-panel/plugin/edit/name-fedex/plugin&#95;type-shipping/subtask-edit vendor-control-panel/plugin/edit/name-ups/plugin&#95;type-shipping/subtask-edit  Payment plugins vendor-control-panel/plugin/edit/name-banktransfer/plugin&#95;type-payment/subtask-edit vendor-control-panel/plugin/edit/name-check/plugin&#95;type-payment/subtask-edit vendor-control-panel/plugin/edit/name-collectondelivery/plugin&#95;type-payment/subtask-edit vendor-control-panel/plugin/edit/name-paypal/plugin&#95;type-payment/subtask-edit vendor-control-panel/plugin/edit/name-westernunion/plugin&#95;type-payment/subtask-edit  Please advise because we need to make changes to the layouts but we can not locate the views to create overrides!  Thank you in advance.")*

Edited this post because the previously mentioned changes made the "Restrictions" not to function. When "Add restriction" is clicked the page just reloaded.

Then removed the following changes and everything worked fine again.

Is there another solution?

----First post

---

Thank you Jerome
We used your method and it worked fine for some cases but not for some others Code:

$this-&gt;main_form[$this-&gt;type.'_name']['name'] = "Custom Name"; -&gt; WORKED FINE $this-&gt;main_form[$this-&gt;type.'_description']['name'] = "Custom Description"; -&gt; WORKED FINE $this-&gt;main_form[$this-&gt;type.'_published']['name'] = "Custom Published"; -&gt; ERROR: 0 Call to undefined method plgHikashoppaymentBanktransfer::displayConfigField() $this-&gt;main_form[$this-&gt;type.'_images']['name'] = "Custom Images"; -&gt; WORKED FINE $this-&gt;main_form[$this-&gt;type.'_price']['name'] = "Custom Price"; -&gt; WORKED FINE $this-&gt;main_form[$this-&gt;type.'_percentage']['name'] = "Custom Percentage"; -&gt; ERROR: 0 Call to undefined method plgHikashoppaymentBanktransfer::displayConfigField()

We have not yet tested the rest labels.

Please advise... thank you.

Last edit: 6 years 5 months ago by [liaskas](/forum/user/59465-liaskas "View liaskas's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIzLW1hcmtldC1ob3ctdG8vOTAwMDQ2LXBsdWdpbi1wYWdlLXZpZXdzLXF1ZXN0aW9uP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

6 years 5 months ago [\#320202](#320202) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Plugin page views question](/forum/23-market-how-to/900046-plugin-page-views-question#320202 "-- HikaShop version -- : 4.3.0 -- HikaMarket version -- : 3.1.0 -- Joomla version -- : 3.9.18 -- PHP version -- : 7.2.30  Forgive us if we posted this thread in the wrong category, but we do not know if this is related to HikaShop or HikaMarket.  Trying to find out what the page views for...  Shipping plugins vendor-control-panel/plugin/edit/name-manual/plugin&#95;type-shipping/subtask-edit vendor-control-panel/plugin/edit/name-fedex/plugin&#95;type-shipping/subtask-edit vendor-control-panel/plugin/edit/name-ups/plugin&#95;type-shipping/subtask-edit  Payment plugins vendor-control-panel/plugin/edit/name-banktransfer/plugin&#95;type-payment/subtask-edit vendor-control-panel/plugin/edit/name-check/plugin&#95;type-payment/subtask-edit vendor-control-panel/plugin/edit/name-collectondelivery/plugin&#95;type-payment/subtask-edit vendor-control-panel/plugin/edit/name-paypal/plugin&#95;type-payment/subtask-edit vendor-control-panel/plugin/edit/name-westernunion/plugin&#95;type-payment/subtask-edit  Please advise because we need to make changes to the layouts but we can not locate the views to create overrides!  Thank you in advance.")*

Hello,

I invite you to perform a " var_dump " on the $this-&gt;main_form and the other variables used with the processConfig function.
Please note that depending you're editing a payment plugin, a shipping plugin or a "raw" plugin, you won't have the same fields ; thus you need to add some code to be sure to not edit something which do not exist.

Afterwards, please use a translation key instead of the final text.
A translation key do not have spaces and is written in full caps lock.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIzLW1hcmtldC1ob3ctdG8vOTAwMDQ2LXBsdWdpbi1wYWdlLXZpZXdzLXF1ZXN0aW9uP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

Moderators: [Obsidev](/forum/user/7040-obsidev "View Obsidev's Profile")

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.056 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
