Comments (8)
Könntest du testen, indem du deinen Aufruf mal deaktivierst. Ich könnte frühestens erst nächste Woche testen.
from redaxo_watson.
Ist das die Version aus dem Installer oder die GH Version? Ich kann hier mit 2.1.0 in REX 5.8 den Fehler nicht reproduzieren.
from redaxo_watson.
Existiert dieser Part in deinem HTML
<script type="text/javascript">
<!--
if (typeof($watsonSettings) == "undefined") {
var $watsonSettings = {"resultLimit":20,"agentHotkey":"17-32","quicklookHotkey":"91","backend":true,"backendUrl":"index.php?page=watson","backendRemoteUrl":"index.php?page=watson&watson_query=%QUERY","wildcard":"%QUERY"};
}
//-->
</script>
from redaxo_watson.
Nein, der Part existiert nicht.
Es ist die Installer-Version 2.1.0
from redaxo_watson.
Entweder existiert der EP PAGE_HEADER
bei dir nicht oder es werden keine Providers wie diese hier geladen
https://github.com/tbaddade/redaxo_watson/blob/master/package.yml#L14-L20
Hast du irgendwelche Anpassungen gemacht oder ist es eine Standardinstallation?
from redaxo_watson.
Hast du irgendwelche Anpassungen gemacht oder ist es eine Standardinstallation?
Am Core habe ich nichts verändert. Ich nutze den page_header-EP selbst in einem Addon. Das sollte jedoch kein Problem darstellen, oder?
from redaxo_watson.
Tatsächlich. Wenn ich ihn deaktiviere, klappt Watson wieder. Aber warum?
// rex_extension::register('PAGE_HEADER', 'backend_style_css', rex_extension::LATE);
function backend_style_css() {
$backend_icon = "";
...
$css = '
<style>
.icon-logo {
display: inline-block;
background-image: url('. $backend_icon .');
width: 20px;
height: 20px;
margin-left: -28px;
margin-right: 3px;
background-position: 0 0;
background-repeat: no-repeat;
background-size: 20px 20px;
vertical-align: middle;
}
</style>';
return $css;
}
from redaxo_watson.
Konnte die Frage selbst beantworten. Man muss den $ep mit abfragen und das subject
wieder mit anhängen, also:
function backend_style_css($ep) {
...
return $ep->getSubject().$css;
}
from redaxo_watson.
Related Issues (20)
- Neues RELEASE? Wg. AutoToc
- Warning wg. Count() HOT 3
- Idee: Kurze Hilfe / Info beim öffnen von Watson
- Klick auf "Hilfe" führt zum Woops (unter AddOns) HOT 2
- RELEASE?
- Sign-in-Meldung trotz www.-Domain und korrekten Systemeinstellungen HOT 6
- Symbol von Watson wird nicht als Suche erkannt
- Watson - nicht in phpinfo()-Seite ausgeben
- Table Manager: CSRF-Token ungültig wenn Datensatz via Watson aufgerufen wird HOT 5
- Responsive HOT 2
- Darstellung kleine Bilder z-Index und Breite
- Installer-Version entspricht nicht Repo-Version (PHP-Version)
- Watson-Button in und ohne Quicknavi HOT 2
- Großes Icon im Installer unmittelbar nach Installation von Watson HOT 3
- Shortcuts optional abschaltbar
- `Watson::getTable` nicht rexstan kompatibel HOT 1
- Fehler beim Aufruf HOT 1
- Generatoren entfernen? HOT 1
- Performance prüfen
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 redaxo_watson.