- Posts: 158
- Thank you received: 5
Increase the size of the product description window in the back-end
- serbofleconcepts
-
Topic Author
- Offline
Less
More
7 years 9 months ago #302153
by serbofleconcepts
-- HikaShop version -- : 4.0.1
-- Joomla version -- : 3.9.1
Hello, my client would like a larger window to add / edit the product description in the back-end - is this possible?
I've looked at the page ... administrator/components/com_hikashop/views/product/tmpl/form.php and can see that the div class is set to <div class="hk-container-fluid">. Can I change this to make the display look different?
Thanks
-- Joomla version -- : 3.9.1
Hello, my client would like a larger window to add / edit the product description in the back-end - is this possible?
I've looked at the page ... administrator/components/com_hikashop/views/product/tmpl/form.php and can see that the div class is set to <div class="hk-container-fluid">. Can I change this to make the display look different?
Thanks
Please Log in or Create an account to join the conversation.
7 years 9 months ago #302154
by nicolas
Replied by nicolas on topic Increase the size of the product description window in the back-end
Hi,
Yes that's the file where you want to change that. However, it's better to do it with a view override via the menu Display>Views.
You'll want to change the line:
For example, you could set the hkc-xl-4 to hkc-xl-8
And the line:
which you could replace by something like that:
where 1100 is the width in px that you want for the editor.
Yes that's the file where you want to change that. However, it's better to do it with a view override via the menu Display>Views.
You'll want to change the line:
Code:
<div class="hkc-xl-4 hkc-lg-6 hikashop_product_block hikashop_product_edit_description"><div>
And the line:
Code:
<?php echo $this->editor->display(); ?>
Code:
<?php echo $this->editor->width = 1100; $this->editor->display(); ?>
The following user(s) said Thank You: serbofleconcepts
Please Log in or Create an account to join the conversation.
- serbofleconcepts
-
Topic Author
- Offline
Less
More
- Posts: 158
- Thank you received: 5
7 years 9 months ago #302175
by serbofleconcepts
Replied by serbofleconcepts on topic Increase the size of the product description window in the back-end
Thanks Nicolas, I've found a suitable width using the div class. The code you suggested below that causes the contents to be replaced with whatever the width is, but anyway, this is not needed.
Is there a way to adjust the height of the description box?
Is there a way to adjust the height of the description box?
Please Log in or Create an account to join the conversation.
7 years 8 months ago #302178
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic Increase the size of the product description window in the back-end
Hello,
Same code as previously but "height" instead of "width".
Regards,
Same code as previously but "height" instead of "width".
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
- serbofleconcepts
-
Topic Author
- Offline
Less
More
- Posts: 158
- Thank you received: 5
7 years 8 months ago #302256
by serbofleconcepts
Replied by serbofleconcepts on topic Increase the size of the product description window in the back-end
I tried this, but as I said above, whatever value I enter into this part of the code replaces the product text in the back-end?
Please Log in or Create an account to join the conversation.
7 years 8 months ago - 7 years 8 months ago #302264
by Philip
Replied by Philip on topic Increase the size of the product description window in the back-end
Hello,
Sorry, but can you detail what you mean by "replaces the product text in the back-end" because we aren't sure to understand you well, use screenshot or code sample and describe results please.
Sorry for this return and awaiting news from you.
Regards
Sorry, but can you detail what you mean by "replaces the product text in the back-end" because we aren't sure to understand you well, use screenshot or code sample and describe results please.
Sorry for this return and awaiting news from you.
Regards
Last edit: 7 years 8 months ago by Philip.
Please Log in or Create an account to join the conversation.
- serbofleconcepts
-
Topic Author
- Offline
Less
More
- Posts: 158
- Thank you received: 5
7 years 8 months ago #302321
by serbofleconcepts
Replied by serbofleconcepts on topic Increase the size of the product description window in the back-end
Please Log in or Create an account to join the conversation.
7 years 8 months ago #302331
by nicolas
Replied by nicolas on topic Increase the size of the product description window in the back-end
Hi,
Sorry, the code I gave is wrong.
It should be:
Sorry, the code I gave is wrong.
It should be:
Code:
<?php $this->editor->width = 1100; echo $this->editor->display(); ?>
The following user(s) said Thank You: serbofleconcepts
Please Log in or Create an account to join the conversation.
- serbofleconcepts
-
Topic Author
- Offline
Less
More
- Posts: 158
- Thank you received: 5
7 years 8 months ago #302372
by serbofleconcepts
Replied by serbofleconcepts on topic Increase the size of the product description window in the back-end
Thanks, all sorted now.
Please Log in or Create an account to join the conversation.
Time to create page: 0.234 seconds