Sub item
- Cline
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 37
- Thank you received: 0
5 years 3 weeks ago #1
by Cline
Sub item was created by Cline
hello i use k2 item with a data sets field
here each table is a varable
https://www.c6bo-plongee.fr/voyage-plongee-egypte-marsa-nakari-sejour.html
its possible to have a favorite button peer sub item ?
i try to use subitem selector
Custom Blocks
.bs-example ul.nav
title selector li
selector a ...
can you help me ?
regards
here each table is a varable
https://www.c6bo-plongee.fr/voyage-plongee-egypte-marsa-nakari-sejour.html
its possible to have a favorite button peer sub item ?
i try to use subitem selector
Custom Blocks
.bs-example ul.nav
title selector li
selector a ...
can you help me ?
regards
Please Log in or Create an account to join the conversation.
- Christopher Mavros
- Offline
- Administrator
5 years 2 weeks ago #2
by Christopher Mavros
Christopher Mavros
mavrosxristoforos@gmail.com
If you like our extensions, please rate us on the JED!
Replied by Christopher Mavros on topic Sub item
Hi again!
Using Custom Blocks is an advanced feature that requires good understanding of HTML and knowledge of CSS.
To create Custom Blocks for each of your sub-items in the page you posted, you can use the following classes:
After recognizing the item, you have to find a way to place the Add/Delete button inside it. You can try the "Auto Include Add to Favorites Button" option, but it may not appear where you want it. To place it better, you may have to add {msl_button} using a template override or inside the sub-item content somewhere, and set "Auto Include Add to Favorites Button" to No.
Thanks again for using MyShortlist!
Using Custom Blocks is an advanced feature that requires good understanding of HTML and knowledge of CSS.
To create Custom Blocks for each of your sub-items in the page you posted, you can use the following classes:
- Container Selector: .bs-example .tab-pane
- Title Selector: .PictoHotel span
- Description Selector (if you want that): .descgen p
- Use Current URL as Item Link: Yes
- Get Item ID from URL: No
- Image Selector: img.sigplus-preview (you can try this, but it may not work well, because you have more than one images)
After recognizing the item, you have to find a way to place the Add/Delete button inside it. You can try the "Auto Include Add to Favorites Button" option, but it may not appear where you want it. To place it better, you may have to add {msl_button} using a template override or inside the sub-item content somewhere, and set "Auto Include Add to Favorites Button" to No.
Thanks again for using MyShortlist!
Christopher Mavros
mavrosxristoforos@gmail.com
If you like our extensions, please rate us on the JED!
Please Log in or Create an account to join the conversation.
- Cline
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 37
- Thank you received: 0
5 years 2 weeks ago - 5 years 2 weeks ago #3
by Cline
Replied by Cline on topic Sub item
hello i try it
1 i add you config and disable auto button
2 i alreay have a module inside this page =>heart icon after 'demander un devis' button
=> but doens't work...
And when i add {msl_button} nothing was display
i forgot someting ?
thanks for your support and great tool
1 i add you config and disable auto button
2 i alreay have a module inside this page =>heart icon after 'demander un devis' button
=> but doens't work...
And when i add {msl_button} nothing was display
i forgot someting ?
thanks for your support and great tool
Last edit: 5 years 2 weeks ago by Cline.
Please Log in or Create an account to join the conversation.
- Cline
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 37
- Thank you received: 0
5 years 2 weeks ago #4
by Cline
Replied by Cline on topic Sub item
Please i realy need a solution
Please Log in or Create an account to join the conversation.
- Christopher Mavros
- Offline
- Administrator
5 years 1 week ago #5
by Christopher Mavros
Christopher Mavros
mavrosxristoforos@gmail.com
If you like our extensions, please rate us on the JED!
Replied by Christopher Mavros on topic Sub item
Hi again and thank you for posting.
For Custom Blocks to work, you must have the System - MyShortlist Button plugin enabled. Please make sure that is enabled.
The module you have on the page cannot be affected by the Custom Blocks you set. The module will always work with the page item.
The Custom Blocks introduce smaller items within parts of the page.
If you have followed my directions exactly, you should have a button somewhere at the end of each .tab-pane element.
You must add {msl_button} inside the content, in a way that the plugin can find it. For example, if you use another plugin to add that code, it may run AFTER the MyShortlist Button plugin and thus just show {msl_button} instead of the button.
If it still doesn't work, please forward a URL where we can see it at my email address.
Thanks again.
For Custom Blocks to work, you must have the System - MyShortlist Button plugin enabled. Please make sure that is enabled.
The module you have on the page cannot be affected by the Custom Blocks you set. The module will always work with the page item.
The Custom Blocks introduce smaller items within parts of the page.
If you have followed my directions exactly, you should have a button somewhere at the end of each .tab-pane element.
You must add {msl_button} inside the content, in a way that the plugin can find it. For example, if you use another plugin to add that code, it may run AFTER the MyShortlist Button plugin and thus just show {msl_button} instead of the button.
If it still doesn't work, please forward a URL where we can see it at my email address.
Thanks again.
Christopher Mavros
mavrosxristoforos@gmail.com
If you like our extensions, please rate us on the JED!
Please Log in or Create an account to join the conversation.
- Cline
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 37
- Thank you received: 0
5 years 1 week ago #6
by Cline
Replied by Cline on topic Sub item
ok i try here
https://www.c6bo-plongee.fr/voyage-plongee-egypte-marsa-nakari-sejour.html
but after actived plugin site is slow down extremly ...
https://www.c6bo-plongee.fr/voyage-plongee-egypte-marsa-nakari-sejour.html
but after actived plugin site is slow down extremly ...
Please Log in or Create an account to join the conversation.
Moderators: Christopher Mavros