Marcus Wareham

Forum Replies Created

Viewing 8 posts - 1 through 8 (of 8 total)
in reply to: Favourites Shortcode #201115

Marcus Wareham
Participant

I’m going to revert my site back to how it was, so the links won’t have the errors.

in reply to: Favourites Shortcode #201114

Marcus Wareham
Participant

About favourites and how they work.

I am not looking for favourites to work without an account. My issue is that the favourite icon displays for not-logged-in users (which is good), but there is no ‘Call to Action’ or even just messaging to say – ‘To add favourites, you must log in or create an account’.

At the moment, the icon shows, and the user can click on it, but nothing happens.

I hope that makes sense.

Marcus

in reply to: Favourites Shortcode #201112

Marcus Wareham
Participant

Following more testing, the problem is isolated to using the Block to add the package. If using the short code, the problem doesn’t exist.

in reply to: Favourites Shortcode #201107

Marcus Wareham
Participant

Looking through your [Fav] template, there seems to be some inconsistencies with the quotations used:

<section class=’__wpdm_gb_section __wpdm_gb_package’>
<div class=’w3eden’><div class=’btn-group’>
<button type=’button’ data-alabel=”<i class=’far fa-heart’></i>
” data-rlabel=”<i class=’fas fa-heart’></i>
” data-package=’2708′ class=’btn btn-wpdm-a2f btn-secondary btn-sm btn-simple’>
<i class=’far fa-heart’></i></button><button class=’btn btn-secondary btn-simple btn-sm’ disabled=’disabled’>0

</button></div></div></section>

in reply to: Favourites Shortcode #201106

Marcus Wareham
Participant

Okay – so here’s a really simple example which hopefully clarifies that the error exists in the [fav_button_ico_sm] template (or any other of the [Fav templates.

This site now has no other pluggings running and is using 2019 theme.

The Template is set only to show [fav_button_ico_sm], so no other template scripts are involved.

When the page renders, any HTML after the section to display the favourite icon is wrapped into the same container. There is definitely a missing </div> or </section> in the template file.

As you can see, the html following the Favorite Template code is being wrapped up in the same container which is causing the problem:
**********

<div class=”entry-content”>
<section class=’__wpdm_gb_section __wpdm_gb_package’><div class=’w3eden’><div class=’btn-group’><button type=’button’ data-alabel=”<i class=’far fa-heart’></i>” data-rlabel=”<i class=’fas fa-heart’></i>” data-package=’2708′ class=’btn btn-wpdm-a2f btn-secondary btn-sm btn-simple’><i class=’far fa-heart’></i></button><button class=’btn btn-secondary btn-simple btn-sm’ disabled=’disabled’>0</button></div></div></section>

<p>This is an example page. It’s different from a blog post because it will stay in one place and will show up in your site navigation (in most themes). Most people start with an About page that introduces them to potential site visitors. It might say something like this:</p>

**********

you can take a look for yourself:

Sample Page

Thanks

in reply to: Favourites Shortcode #201104

Marcus Wareham
Participant

Hello –

I have checked the div tags etc, here is the template:

<div>[fav_button_ico_sm]</div>
<div class=”link-template-default card mb-2″>
<div class=”card-body”>
<div class=”media”>
<div class=”mr-3 img-48″>[icon]</div>
<div class=”media-body”>
<h3 class=”package-title”>[page_link]</h3>
<div>[excerpt_80]More Details</div>
<div class=”text-muted text-small”> <i class=”fas fa-hdd”></i> [file_size] </div>
<div>[categories]</div>
</div>
<div class=”ml-3″>
[download_link]
</div>
</div>
</div>
</div>

You can see an example of it rendering here:

Sample Page

It’s at the top of the page, first block (using Download Manager Blocks)

Thanks,

Marcus

in reply to: Favourites Shortcode #201094

Marcus Wareham
Participant

Hi – Another question on Favourites: I have been trying to use the [fav_icon] (or any of the other favourite template shortcodes in a link template, but the HTML structure of any page it displays gets broken.

Also, ideally, when listing a user’s favourite downloads, I don’t really want a tab. I want to display their selected favourites in various places around the site. Additionally, when I tried to use the suggested shortcode, I couldn’t activate the favourites tab when clicking on it.

And, finally, if a user isn’t logged in, they don’t get asked to create an account or log in when they click on the add to favourites icon. What is the expected behaviour?

Many thanks,

Marcus

in reply to: Favourites Shortcode #200859

Marcus Wareham
Participant

Thanks for coming back to me.

I’m looking for a way to list the users’ favourites. If they have chosen, say, 3 downloads, I’d like to present a list of these to the them.

Is there a way to filter one of the listing shortcodes (for example, [file_list_extended]) just to show their favourites?

Thanks,

Marcus

Viewing 8 posts - 1 through 8 (of 8 total)