2 or more Smartlists in one article

Posted in: Newspaper
Post count: 3

Hello,

is it possible to have more than one Smartlist in one article? If I inserted two smartest sections seperated by a [td_smart_list_end], only the first list is rendered.

Best regards,
Sebastian

Post count: 35449

Hi,

We are wearing about this issues, please try to use the second smart list with another heading ( for example set the first with 2 and the second with 3 ), this is the only way for the moment.
Sorry for the inconvenience.

Thank you for your understanding.

Post count: 3

Hello Calin,

I am not sure if I understand your answer right. According to your answer my Code looks like this:


<h3>Headline 1 Smartlist 1</h3>
Content 1 Smartlist 1
<h3>Headline 2 Smartlist 1</h3>
Content 2 Smartlist 1
<h3>Headline 3 Smartlist 1</h3>
Content 3 Smartlist 1
[td_smart_list_end]
<h2>Headline 1 Smartlist 2</h2>
Content 1 Smartlist 2
<h2>Headline 2 Smartlist 2</h2>
Content 2 Smartlist 2
<h2>Headline 3 Smartlist 2</h2>
Content 3 Smartlist 2
[td_smart_list_end]

If I now change in the Smartlist section of the editing panel the “Title tag” attribute from H3 to H2 the first smartlist is not rendered. Revert this change renders the first smartlist but not the second one.

Post count: 35449

Hi,

I tried it too, and after I make some deep investigation I discovered that you can have only one smart list per post, sorry for the inconvenience.

Thank you for your understanding.

Post count: 3

Hi,

after some code screening and changing I was able to make it work.

Major code changes in:
wp-content/themes/Newspaper/includes/wp_booster/td_smart_list.php
– Restart the search and rendering for more smartlist code after line 140 on after_list array entry.

The jQuery selectors for the smartlist buttons in line 130+131:
wp-content/themes/Newspaper/includes/smart_lists/td_smart_list_1.php
wp-content/themes/Newspaper/includes/smart_lists/td_smart_list_3.php

PM if you are interested in details.

Post count: 35449

Hi slueke,

I’m glad you’ve managed to fix the problem.
If you have time and you want, you can share the details here on forum for others customers that have the same problem like you had.

Thanks.

Post count: 58

Hi Slueke, I`m interested in your solution, could you share it please?

Post count: 2

Hi Slueke, I don’t know how to mp you ^^’
Can you explain us how you manage it ?

Thanks 🙂

Viewing 8 posts - 1 through 8 (of 8 total)
The forum ‘Newspaper’ is closed to new topics and replies.