logo
Welcome to our new AbleCommerce forums. As a guest, you may view the information here. To post to this forum, you must have a registered account with us, either as a new user evaluating AbleCommerce or an existing user of the application. For all questions related to the older version of Gold and earlier, please go to AbleCommerce Gold forum. Please use your AbleCommerce username and password to Login. New Registrations are disabled.

Notification

Icon
Error

Options
Go to last post Go to first unread
Joe Payne2  
#1 Posted : Thursday, April 8, 2021 2:43:45 PM(UTC)
Joe Payne2

Rank: Advanced Member

Groups: HelpDesk, Developers
Joined: 11/9/2018(UTC)
Posts: 564

Thanks: 122 times
Was thanked: 26 time(s) in 25 post(s)
I must be missing something simple. I've created a custom partial view and I'm using the same 'form-group' div tag design used throughout the admin. For the labels, I do this:
Code:
<label class="tooltip-label" data-content="Specify the usual lead time for this jacket type.">Lead Time:</label>


But tooltips do not render if I hover the label. Am I missing a reference somewhere else on the page?

sidenote: placeholders only work on textarea controls too. They don't render on @Html.EditorFor() controls. Possibly the same reason?

Wanna join the discussion?! Login to your AbleCommerce Forums forum account. New Registrations are disabled.

shaharyartiwana25816656  
#2 Posted : Friday, April 9, 2021 2:26:22 AM(UTC)
shaharyar

Rank: Advanced Member

Groups: Admin, Developers, Registered, HelpDesk, Authorized User
Joined: 10/5/2018(UTC)
Posts: 704

Thanks: 5 times
Was thanked: 113 time(s) in 112 post(s)
You need to confirm that this file is loaded on page load. tooltip-config.js

We are using this file from the admin area bundle config file. If you are not working or using the admin area master layout then you need to load this js file on page load.


Quote:
sidenote: placeholders only work on textarea controls too. They don't render on @Html.EditorFor() controls. Possibly the same reason?


This example may help you. This is from \Website\Areas\Admin\Views\Website\AddWebpage.cshtml
Code:
@Html.EditorFor(model => model.Webpage.CatalogUrl, new { htmlAttributes = new { placeholder = "/MyPage", @class = "form-control" } })
Joe Payne2  
#3 Posted : Tuesday, April 13, 2021 8:48:04 AM(UTC)
Joe Payne2

Rank: Advanced Member

Groups: HelpDesk, Developers
Joined: 11/9/2018(UTC)
Posts: 564

Thanks: 122 times
Was thanked: 26 time(s) in 25 post(s)
ok perfect thank you.

I haven't removed that reference in the admin bundle. And tool tips work fine everywhere else in admin. So I think I'm dealing with a different issue. I'm using the Telerik UI MVC library for admin customizations. Their implementation of custom popup editor templates may be blocking the tooltip-config plugin from behaving properly.

I'll figure it out with Telerik, pretty sure this has nothing to do with Able code or implementation.
Users browsing this topic
Guest (2)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.