Comments (18)
Hopefully your second issue has now been resolved with another new version (1.1.7).
I am therefore closing this for now.
Feel free to open a new one at any time if you have any questions.
Also a donation to this project is always welcome and helps to work on further bug fixes and feature requests.
from t3x-iconpack.
I can confirm that the output now works in the context of the news extension (just tested).
Details of my test (in German) can be found here: https://forum.t3academy.de/d/475-extension-iconpack/6
from t3x-iconpack.
Thank you for your feedback!
You're right, there is something wrong here. Obviously the necessary CSS is not loaded in the backend when editing news records. ...I'll have to take a closer look at this.
However, if you save the record, the icon is still displayed correctly in the frontend.
from t3x-iconpack.
No, even in the frontend, if you look at the source code of the output page, you can only see the code as in the editor
from t3x-iconpack.
No, even in the frontend, if you look at the source code of the output page, you can only see the code as in the editor
Have you enabled the autoConfigRte
and autoAddAssets
option in the extension settings? ...and have you added the TypoScript correctly?
https://docs.typo3.org/p/quellenform/t3x-iconpack/main/en-us/Configuration/Index.html
However, these are two completely different things. The fact that no CSS ends up in the BE is actually a bug that I can reproduce and that I am currently working on fixing, but the fact that no CSS ends up in the FE is a different issue.
from t3x-iconpack.
So I have attached a screenshot regarding your questions, I think I have configured everything accordingly
and then browser views
from t3x-iconpack.
OK, I see, the transformation from RTE > FE does not seem to be activated here for some reason. Can you please check the value for $GLOBALS['TYPO3_CONF_VARS']['SYS']['Objects'][TYPO3\CMS\Core\Html\RteHtmlParser]
under System > Configuration?
You should see the following here:
But just to clarify again: This has nothing to do with the topic you mentioned at the beginning.
from t3x-iconpack.
PS: I assume you've already tried clearing the cache anyway, right? And it would be helpful to know which TYPO3 version we are talking about here.
from t3x-iconpack.
The bug you originally mentioned has just been fixed with version 1.1.6.
- e98e5d8 Switched from PageRenderer to AssetCollector
from t3x-iconpack.
the following values under System > Configuration?
I deleted the cache via the flashes, I even deleted the typotemp
it is the following typo3 version 12.4.16
from t3x-iconpack.
Unfortunately, I cannot reproduce the error with 12.4.16.
It is possible that the problem is related to some individual setup that I cannot analyze without more detailed insight.
But could you please try version 1.1.6 and verify that everything (news) now works in the BE to close this issue?
from t3x-iconpack.
Ah, just a moment!
You have activated "FontAwesome 5.15.4" in the extension setup and in the frontend you can see that you are using FontAwesome 6 (fa6)!
You can only display the icon pack in the frontend that you have activated in the extension setup!
Please check all settings again (and don't forget to clear the caches).
from t3x-iconpack.
In the backend it now works in both the normal content and news areas
I also switched back to 6.5.1 in the extension configuration fontawesome, deleted all the cache in the normal "FE" content, it still only works in the "FE" news area it doesn't work
from t3x-iconpack.
OK, now I'm slowly figuring out what exactly you mean ;-)
In this case, the RTE field of the news data record would also have to be processed via a DataProcessor:
https://docs.typo3.org/p/quellenform/t3x-iconpack/main/en-us/Tutorials/Usage.html#rte-fields
Without this, the icons would not be translated by the RteHtmlParser.
I don't have the exact instructions to hand and unfortunately I don't have the time now, but maybe you can figure it out yourself.
from t3x-iconpack.
I have to admit I'm not a programmer, I can't really do anything with it, I tried the following code for the news teaser
// Add IconpackWizard to the teaser field
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTCAcolumns(
'tx_news_domain_model_news', [
'teaser' => [
'config' => [
'type' => 'text',
'renderType' => 'IconpackWizard',
'rows' => 5,
'cols' => 40,
'enableRichtext' => true,
'richtextConfiguration' => 'default'
]
]
]
);
};
$boot();
unset($boot);
in the typo3conf/ext/news/Configuration/TCA/Overrides/tx_news_domain_model_news.php, but then the teset field appears in the news maintenance mask. If you would be willing to help me solve this for money.
from t3x-iconpack.
The IconpackWizard
is only intended for fields that are to provide a single icon directly and not for RTE or text fields. You would need the DataProcessor for RTE fields.
What exactly are you trying to do here? Have you enabled an RTE for the teaser field?
from t3x-iconpack.
In the backend, I have activated the RTE for both the teaser and text fields in the news.
If I insert an icon in one of the above fields in the backend, it works there and I can see the icon.
However, the icon is not displayed in the frontend.
The problem persists, even with the code snippet:
# Set templates and dataProcessing
lib.contentElement {
dataProcessing {
# This is required to render icons in RTE fields!
# The output is controlled exclusively by the DataProcessor and then cleaned up by the Sanitizer.
3212170022 = Quellenform\Iconpack\DataProcessing\IconpackProcessor
212170022 {
fieldName = teaser
fieldType = rte
}
}
}
My goal is that the ICONS are visible for both the NEWS text and the NEWS teaser in the frontend.
from t3x-iconpack.
es it works perfectly, thank you
from t3x-iconpack.
Related Issues (17)
- How to have the custom RTEs processed for icons ? HOT 6
- [HTML Quality] in svg tags remove title attribute
- After Cache clearing: Button LinkButton is not valid HOT 6
- Compatibility with TYPO3 v12 - RTE Transform HOT 12
- Compatibility with TYPO3 v12 - CKEditor5 plugin HOT 1
- Compatibility with TYPO3 v12 - JavaScript Modal HOT 1
- Undefined global variable $LANG
- Opening modalbox in IRRE content elements HOT 2
- Option to remove default CSS HOT 4
- Icons for sys_category HOT 2
- Issue/request: icon in link HOT 4
- Icon viewhelper does not work like expected HOT 8
- HiRes Icon for RTE is missing HOT 1
- iconpack Configuration is null HOT 2
- icons size settings? HOT 2
- TYPO3 12.4.16 Fluid Integration not working HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from t3x-iconpack.