Hi,
within the new plugin serendipity_event_social you can configure to show the sharebuttons in article overviews. in Timeline the buttons are not displayed even the option in the plugin is set.
Regards
Mario
Timeline - No Sharebuttons in article overwiew
-
- Regular
- Posts: 764
- Joined: Fri Aug 12, 2005 4:36 pm
- Location: Grüt, Zürich, Switzerland
- Contact:
Re: Timeline - No Sharebuttons in article overwiew
Interesting that it works for meMarioH wrote:within the new plugin serendipity_event_social you can configure to show the sharebuttons in article overviews. in Timeline the buttons are not displayed even the option in the plugin is set.
Strange.
Dirk
Re: Timeline - No Sharebuttons in article overwiew
Hi,
In other themes it works well, so I thought this has to be theme-related.
Regards
Mario
What do you mean? Do you have a blog with the Timeline-Theme and you have the buttons in the articel overview?Lux wrote:Interesting that it works for me
In other themes it works well, so I thought this has to be theme-related.
Regards
Mario
-
- Regular
- Posts: 764
- Joined: Fri Aug 12, 2005 4:36 pm
- Location: Grüt, Zürich, Switzerland
- Contact:
Re: Timeline - No Sharebuttons in article overwiew
Yes, it seems so.MarioH wrote:In other themes it works well, so I thought this has to be theme-related.
Cheers
Dirk
-
- Regular
- Posts: 3652
- Joined: Mon Feb 13, 2006 2:40 am
- Location: Chicago, IL, USA
- Contact:
Re: Timeline - No Sharebuttons in article overwiew
I just saw this thread. The Timeline theme is very unique and may not work the way other themes work. I will install that plugin on the demo and see if the theme can be modified to work as you expect.
Can you provide a URL to where it is NOT working as expected?
Can you provide a URL to where it is NOT working as expected?
=Don=
Re: Timeline - No Sharebuttons in article overwiew
In the plugin, this is how the overview check works:
I don't think that can fail depending on the theme. But: The button is then appended to $eventData['display_dat']. Don, the timeline theme is probably not outputting that smarty variable?
Code: Select all
case 'frontend_display:html:per_entry':
if ($serendipity['view'] != 'entry') {
if (! serendipity_db_bool($this->get_config('overview', true))) {
// We are in overview mode and the user opted to not show the button
return true;
}
Re: Timeline - No Sharebuttons in article overwiew
If I understand Timeline's entries.tpl correctly, $entry.plugin_display_dat is only emitted in “detailed entry view”. That would override the plugin setting (which is exactly what Mario is reporting).
YL
YL
-
- Regular
- Posts: 3652
- Joined: Mon Feb 13, 2006 2:40 am
- Location: Chicago, IL, USA
- Contact:
Re: Timeline - No Sharebuttons in article overwiew
That is absolutely correct. I didn't feel that sort of data made a lot of visual sense in the timeline format. However, just prior to releasing the theme, I added the option to format overviews in a more "blog like" manner, which is what abouts9y is using... I will modify the theme to emit $entry.plugin_display_dat for that view type.yellowled wrote:If I understand Timeline's entries.tpl correctly, $entry.plugin_display_dat is only emitted in “detailed entry view”. That would override the plugin setting (which is exactly what Mario is reporting).
YL
=Don=
Re: Timeline - No Sharebuttons in article overwiew
For what it's worth, I don't think it makes a lot of sense to emit social sharing buttons in entry teasers (which they essentially are in the timeline format). In my humble opinion, this plugin setting just does not make sense with any entry format.Don Chambers wrote:I didn't feel that sort of data made a lot of visual sense in the timeline format.
I also think it is perfectly okay for a theme to “override” plugin behaviour. The issue here is that the theme has no way of informing the user why a plugin behaves unexpectedly.
YL