- Posts: 640
- Thank you received: 16
Make HikaMarket interface better for massive work
- PeterChain
-
Topic Author
- Offline
Less
More
13 years 6 months ago #102300
by PeterChain
Make HikaMarket interface better for massive work was created by PeterChain
Please Log in or Create an account to join the conversation.
13 years 6 months ago #102301
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic Make HikaMarket interface better for massive work
Hi,
You can change the width thanks to CSS:
For the "root" category, in the view "productmarket | listing", there is a line which call for the tree display:
The second parameter is the root category id, which in HikaMarket front-end is : 0.
You can override the view and replace "$this->rootCategory" with the ID of the category that you want as root.
For the "product category", by default his id is "2" in HikaShop so:
Regards,
You can change the width thanks to CSS:
Code:
#hikam_category_listing div.oTree,
#hikam_product_listing div.oTree {
width: 150px; /* change the width value */
overflow: auto;
height:100%;
}
For the "root" category, in the view "productmarket | listing", there is a line which call for the tree display:
Code:
<?php echo $this->shopCategoryType->displayTree('hikam_categories', $this->rootCategory, null, true, true); ?>
You can override the view and replace "$this->rootCategory" with the ID of the category that you want as root.
For the "product category", by default his id is "2" in HikaShop so:
Code:
<?php echo $this->shopCategoryType->displayTree('hikam_categories', 2, null, true, true); ?>
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
The following user(s) said Thank You: PeterChain
Please Log in or Create an account to join the conversation.
- PeterChain
-
Topic Author
- Offline
Less
More
- Posts: 640
- Thank you received: 16
13 years 6 months ago #102318
by PeterChain
Replied by PeterChain on topic Make HikaMarket interface better for massive work
Everything worked great!
BIG THANK YOU!!!!! MEEEERCI!!!!!!! :laugh: :laugh: :laugh: :laugh: :laugh:
BIG THANK YOU!!!!! MEEEERCI!!!!!!! :laugh: :laugh: :laugh: :laugh: :laugh:
Please Log in or Create an account to join the conversation.
Moderators: Obsidev
Time to create page: 0.048 seconds