By tylr23 on Monday, 01 November 2021
Posted in StackIdeas Toolbar
Likes 0
Views 379
Votes 0
Hi,

On my site, I open everything in an iframe simply with :


jQuery(function(){
jQuery("a").attr("target","newiframe");
});


It does open everything from the toolbar in the iframe however the target attribute will not apply to the notification/conversation items.

Even by targeting with their specific attribute data-fd-notification-items="", the target will not apply.

Can you tell me what class or anything else I should use to target those elements?
Hey there,

For your information, the notification/conversation items are getting from the ajax call after you open it from the toolbar respectively.

If you want to modify them, you can find and copy them at the following location:


JoomlaFolder/modules/mod_stackideas_toolbar/tmpl/ajax/notifications.php

JoomlaFolder/modules/mod_stackideas_toolbar/tmpl/ajax/conversations.php


Paste them at the following template override location respectively and modify it there:


JoomlaFolder/templates/yourCurrentTemplate/html/mod_stackideas_toolbar/ajax/notifications.php

JoomlaFolder/templates/yourCurrentTemplate/html/mod_stackideas_toolbar/ajax/conversations.php


I am really sorry that unfortunately, our support policy does not cover cutomizations.

Thanks for understanding.
·
Tuesday, 02 November 2021 17:43
·
0 Likes
·
0 Votes
·
0 Comments
·
I am really sorry that unfortunately, our support policy does not cover cutomizations.


No no, I just wanted to know if this was feasible with jQuery, but from what you say I understand that the ajax call will prevent any jQuery so I will modify the files and add the target attribute in there.

Thank you for your insight
·
Tuesday, 02 November 2021 21:47
·
0 Likes
·
0 Votes
·
0 Comments
·
You are most welcome.

Just for your information, I have locked and marked this thread as resolved to avoid confusion in the future. Please start a new thread if you have any other issues in the future so it will be easier for us to manage your inquiries.

Thanks for understanding.
·
Wednesday, 03 November 2021 10:23
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post