Hallo,
bekomme auf allen Seiten auf denen lightbox aktiviert ist Fehlermeldungen beim validieren.
Error Line 176 column 37: there is no attribute "kjtag".
" id="0" shownumberdisplay="0" kjtag="<a href="uploads/pics/IMG_3052.JPG
Error Line 178 column 177: value of attribute "id" invalid: "1" cannot start a name.
... title="Turnerball 2006 / Garde" id="1" shownumberdisplay="0" kjtag="<a hr
Imagemagic2 wird mit jm_gallery oder als Text mit Bild verwendet.
Hier die ext_localconf.php
<?php
if (!defined ('TYPO3_MODE')) die ('Access denied.');
## Extending TypoScript from static template uid=43 to set up userdefined tag:
t3lib_extMgm::addTypoScript($_EXTKEY,'editorcfg','
tt_content.CSS_editor.ch.tx_jmgallery_pi1 = < plugin.tx_jmgallery_pi1.CSS_editor
',43);
t3lib_extMgm::addPItoST43($_EXTKEY,'pi1/class.tx_jmgallery_pi1.php','_pi1','list_type',0);
// add the hook to synchronise album records on save
// processDatamap_afterDatabaseOperations
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processDatamapClass'][] = 'EXT:jm_gallery/hooks/class.tx_jmgallery_tcemain.php:tx_jmgallery_tcemain';
?>
Ich habe das aus dem Forum übernommen. Vielleicht könnt ihr einen Tip geben.
Gruß Florius
du meinst die lightbox, oder?
georg
Oh, sorry
natürlich die: KJ: Image Lightbox v2 kj_imagelightbox2 1.4.2
Gruß Florius
Gibt es dazu eine Lösung?
Hallo latschma,
zur Information ich habe noch keine Lösung gefunden.
Gruß Florius
Hallo
Bei mir sind es folgende Fehlerangaben bei der XHTML-Validierung:
1. Error Line 191 column 436: value of attribute "id" invalid: "0" cannot start a name.
...f3a.jpg" rel="lightbox" title="" id="0" shownumberdisplay="0" kjtag="<a hr
It is possible that you violated the naming convention for this attribute. For example, id and name attributes must begin with a letter, not a digit.
✉
2. Error Line 191 column 457: there is no attribute "shownumberdisplay".
...x" title="" id="0" shownumberdisplay="0" kjtag="<a href="typo3temp/pi
You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element. This error is often caused by incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Transitional" document type to get the "target" attribute), or by using vendor proprietary extensions such as "marginheight" (this is usually fixed by using CSS to achieve the desired effect instead).
This error may also result if the element itself is not supported in the document type you are using, as an undefined element will have no supported attributes; in this case, see the element-undefined error message for further information.
How to fix: check the spelling and case of the element and attribute, (Remember XHTML is all lower-case) and/or check that they are both allowed in the chosen document type, and/or use CSS instead of this attribute. If you received this error when using the <embed> element to incorporate flash media in a Web page, see the FAQ item on valid flash.
✉
3. Error Line 191 column 467: there is no attribute "kjtag".
..." id="0" shownumberdisplay="0" kjtag="<a href="typo3temp/pics/69615e0
Die Zeile 191 sieht so aus:
<div id="col2_content" class="clearfix"><a id="c711"></a><div class="csc-header csc-header-n1"><h1 class="csc-firstHeader">Title Text</h1></div><div class="csc-textpic csc-textpic-intext-right"><div class="csc-textpic-imagewrap"><dl class="csc-textpic-image csc-textpic-firstcol csc-textpic-lastcol" style="width:200px;"><dt><a href="typo3temp/pics/69615e0f3a.jpg" rel="lightbox" title="" id="0" shownumberdisplay="0" kjtag="<a href="typo3temp/pics/69615e0f3a.jpg" target="_blank"><img src="typo3conf/ext/kj_imagelightbox2/lightbox/images/save.gif" border="0" title="Save image""</a> <a href="typo3conf/ext/kj_imagelightbox2/res/print.php?image=typo3temp/pics/69615e0f3a.jpg" target="_blank"><img src="typo3conf/ext/kj_imagelightbox2/lightbox/images/print.gif" border="0" title="Print image""</a> "><img src="typo3temp/pics/c8c8a36745.jpg" width="200" height="163" border="0" alt="" title="Title of picture" /></a></dt><dd class="csc-textpic-caption"></dd></dl></div><div class="csc-textpic-text"><p class="bodytext">Text written.
Wo liegt der Fehler?
Das ganze kommt aus bak.php im Ordner /typo3conf/ext/kj_imagelightbox2/ .
Da steht folgendes:
// create the imagelink
$theValue = '<a href="'.htmlspecialchars($GLOBALS['TSFE']-">absRefPrefix.t3lib_div::rawUrlEncodeFP($newinfo[3])).'" rel="lightbox'.$imgSet.'" title="'.$cap[$this->singleCaption].'" id="'.$this->singleCaption.'" showNumberDisplay="'.$hideNumberDisplay.'" kjtag="'.$imageToolbar.''.($this->data['tx_kjimagelightbox2_presentationmode'] ? '' : $cap[$this->singleCaption]).'"><img src="'.htmlspecialchars($GLOBALS['TSFE']-" alt="" />absRefPrefix.t3lib_div::rawUrlEncodeFP($info[3])).'" width="'.$info[0].'" height="'.$info[1].'"'.$this->getBorderAttr(' border="'.intval($conf['border']).'"').($conf['params']?' '.$conf['params']:'').($altParam).' /></a>';
Ist etwas für Programmierer?