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

#   \[solved\] Future FIX for 2 constants used in back-end and front-end

##

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

Less More

- Posts: 285
- Thank you received: 42
-
-

8 years 6 months ago -  8 years 6 months ago [\#291977](#291977) by [oxido](/forum/user/29793-oxido "View oxido's Profile")  *[\[solved\] Future FIX for 2 constants used in back-end and front-end](/forum/10-translation/894574-solved-future-fix-for-2-constants-used-in-back-end-and-front-end#291977 "-- HikaShop version -- : 3.4.0 -- Joomla version -- : 3.8.7  I have edited this 2 constants in language file: FILES and FIELDS, both of them are used in Back-end and in the Front-end. But i want to change the values only for front-end. Please see the image.")* was created by *[oxido](/forum/user/29793-oxido "View oxido's Profile")*

-- HikaShop version -- : 3.4.0
-- Joomla version -- : 3.8.7

I have edited this 2 constants in language file: **FILES** and **FIELDS**, both of them are used in Back-end and in the Front-end.
But i want to change the values only for front-end.
Please see the image.

- [ ![language&#95;future&#95;fix.jpg](/forum/attachment/43509) ](/forum/attachment/43509 "...future&#95;fix.jpg") [ ](/forum/attachment/43509?download=1 "...future&#95;fix.jpg")

Last edit: 8 years 6 months ago by [oxido](/forum/user/29793-oxido "View oxido's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzEwLXRyYW5zbGF0aW9uLzg5NDU3NC1zb2x2ZWQtZnV0dXJlLWZpeC1mb3ItMi1jb25zdGFudHMtdXNlZC1pbi1iYWNrLWVuZC1hbmQtZnJvbnQtZW5kP3RtcGw9bWFya2Rvd24=) 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")
- [ Away](/forum/user/80-jerome)
- HikaShop core developer

Less More

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

8 years 6 months ago [\#291979](#291979) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Future FIX for 2 constants used in back-end and front-end](/forum/10-translation/894574-solved-future-fix-for-2-constants-used-in-back-end-and-front-end#291979 "-- HikaShop version -- : 3.4.0 -- Joomla version -- : 3.8.7  I have edited this 2 constants in language file: FILES and FIELDS, both of them are used in Back-end and in the Front-end. But i want to change the values only for front-end. Please see the image.")*

Hello,

In such case,it might be interesting to use a "view override" so you can use a different translation key for the front-end part.
[ www.hikashop.com/support/documentation/1...-display.html#layout](https://www.hikashop.com/support/documentation/153-customize-the-display.html#layout)

Regards,

---

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

The following user(s) said Thank You: [oxido](/forum/user/29793-oxido "View oxido's Profile")

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

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

Less More

- Posts: 285
- Thank you received: 42
-
-

8 years 6 months ago [\#292053](#292053) by [oxido](/forum/user/29793-oxido "View oxido's Profile")  Replied by *[oxido](/forum/user/29793-oxido "View oxido's Profile")* on topic *[Future FIX for 2 constants used in back-end and front-end](/forum/10-translation/894574-solved-future-fix-for-2-constants-used-in-back-end-and-front-end#292053 "-- HikaShop version -- : 3.4.0 -- Joomla version -- : 3.8.7  I have edited this 2 constants in language file: FILES and FIELDS, both of them are used in Back-end and in the Front-end. But i want to change the values only for front-end. Please see the image.")*

unfortunately is not working.
If i delete this constant "FILES" from Language Override, Front-end and Back-end, it will still show "Files" value.
Ive tried to find the constant "FILES" in front-end, using DIsplay view files, but this works only on Hikashop part, in my screenshots, the front-end is from Hikamarket (adding a new product).
Ive tried to change the constant in backend, in the leftmenu.php view. but there is no constant of FILES.
Ive only found this: Code:

&lt;?php foreach($this-&gt;menudata as $href =&gt; $name) { ?&gt; &lt;li&gt;&lt;a href="&lt;?php echo $href; ?&gt;"&gt;&lt;?php echo $name; ?&gt;&lt;i class="icon-chevron-right"&gt;&lt;/i&gt;&lt;/a&gt;&lt;div style="clear:left;"&gt;&lt;/div&gt;&lt;/li&gt; &lt;?php } if(HIKASHOP_BACK_RESPONSIVE){ ?&gt; &lt;li id="responsive_menu_scrolltop_li_&lt;?php echo $this-&gt;menuname; ?&gt;"&gt; &lt;a style="text-align:center;" href="#" onclick="window.scrollTo(0, 0);"&gt; &lt;span class="responsive_menu_scrolltop" style="padding: 6px 12px 18px 12px; "&gt;&lt;/span&gt; &lt;/a&gt; &lt;div style="clear:left;"&gt;&lt;/div&gt; &lt;/li&gt; &lt;?php } ?&gt;

So, can you have another solution for my problem?

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

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86583
- Thank you received: 14324
-
-

8 years 6 months ago [\#292074](#292074) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Future FIX for 2 constants used in back-end and front-end](/forum/10-translation/894574-solved-future-fix-for-2-constants-used-in-back-end-and-front-end#292074 "-- HikaShop version -- : 3.4.0 -- Joomla version -- : 3.8.7  I have edited this 2 constants in language file: FILES and FIELDS, both of them are used in Back-end and in the Front-end. But i want to change the values only for front-end. Please see the image.")*

Hi,

The text of the menu in the HikaShop configuration is generated dynamically. You can't edit it directly easily.
The best is to edit the view displaying the product edition page in HikaMarket.
With the "Display view files" setting of the HikaShop configuration, which is mentioned in the link Jerome gave you, you can quickly find that the view file used for the display of the product edition page in HikaMarket is the file "form" of the view "productmarket". So edit that file via the menu Display&gt;Views of HikaShop.
There, you'll find that code: [ monosnap.com/file/ABy1k5b4Okh2L1LtelV9N2LtBhZnuQ](https://monosnap.com/file/ABy1k5b4Okh2L1LtelV9N2LtBhZnuQ)
You can check the FILES translation namekey there to something like HIKAMARKET_FILES
and then, in your translation override file, you can add such line:
HIKAMARKET_FILES="Upload your assets here"
That way, you can keep the default translation of FILES for the HikaShop backend and modify the HikaMarket interface with your custom text.
So no need for another solution.

The following user(s) said Thank You: [oxido](/forum/user/29793-oxido "View oxido's Profile")

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

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

Less More

- Posts: 285
- Thank you received: 42
-
-

8 years 6 months ago [\#292096](#292096) by [oxido](/forum/user/29793-oxido "View oxido's Profile")  Replied by *[oxido](/forum/user/29793-oxido "View oxido's Profile")* on topic *[Future FIX for 2 constants used in back-end and front-end](/forum/10-translation/894574-solved-future-fix-for-2-constants-used-in-back-end-and-front-end#292096 "-- HikaShop version -- : 3.4.0 -- Joomla version -- : 3.8.7  I have edited this 2 constants in language file: FILES and FIELDS, both of them are used in Back-end and in the Front-end. But i want to change the values only for front-end. Please see the image.")*

Thanks guys, Solved!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzEwLXRyYW5zbGF0aW9uLzg5NDU3NC1zb2x2ZWQtZnV0dXJlLWZpeC1mb3ItMi1jb25zdGFudHMtdXNlZC1pbi1iYWNrLWVuZC1hbmQtZnJvbnQtZW5kP3RtcGw9bWFya2Rvd24=) 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?

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

Time to create page: 0.066 seconds

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