Title Field not displays description

More
1 month 3 days ago #85568 by AlainR
I did it with some CSS :
Code:
#jform_title-lbl::after { content: attr(title) attr(data-bs-original-title); display: block; font-size: .8em; padding: 1em; --alert-bg: var(--info-bg-subtle); --alert-border-color: var(--info-border-subtle); background-color: var(--alert-bg); border: var(--border-width)solid var(--alert-border-color); border-radius: var(--border-radius); --alert-border: var(--border-width)solid var(--alert-border-color); margin-bottom: 1em; }
The following user(s) said Thank You: iamrobert

Please Log in or Create an account to join the conversation.

More
1 month 2 days ago #85575 by micker
thanks

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

Please Log in or Create an account to join the conversation.

More
3 weeks 5 days ago - 3 weeks 5 days ago #85615 by lipatovroman

I did it with some CSS :
Code:
#jform_title-lbl::after { content: attr(title) attr(data-bs-original-title); display: block; font-size: .8em; padding: 1em; --alert-bg: var(--info-bg-subtle); --alert-border-color: var(--info-border-subtle); background-color: var(--alert-bg); border: var(--border-width)solid var(--alert-border-color); border-radius: var(--border-radius); --alert-border: var(--border-width)solid var(--alert-border-color); margin-bottom: 1em; }






 

I need to show different tooltips for different types.
So, we need to check it via php.
Code:
<?php if (strpos(JUri::getInstance(), 'layout=form&typeid=3') !== false || strpos(JUri::getInstance(), 'layout=form&typeid=5') !== false) { ?> <div class="alert alert-info fc-nobgimage"> <?php echo JText::_('DA_TITLE_RULES'); ?> </div> <?php } ?>               

P.S. Hmmm... Yes, it's working. I just added form class .fc_item_form_box_3 #jform_title-lbl::after
Thanks!
Last edit: 3 weeks 5 days ago by lipatovroman.

Please Log in or Create an account to join the conversation.

More
3 weeks 5 days ago - 3 weeks 5 days ago #85619 by AlainR
No need to find type with PHP, you can find type-id-NUMBER type-alias-YOUR-TYPE-ALIAS classes in body tag (and item-catid-NUMBER and item-id-NUMBER and itemid-NUMBER classes)
Last edit: 3 weeks 5 days ago by AlainR.
The following user(s) said Thank You: lipatovroman

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.303 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline