[TYPO3-UG Dutch] Newscalender/NextEvents wil geen headers laten zien

Listsrv listsrv at wilsoft.nl
Wed Jul 27 19:13:06 CEST 2011


Blijkt dat de ###HEADER### leeg is.
	<!--
		BEGIN: Content of extension "newscalendar", plugin tx_ttnews" --> 
	<div class="tx-ttnews"> 
	    <div class="newsCalendar_listBody">
      		<div class="newsCalendar_listHeader">
        
      		</div>
      	    <div class="tx-ttnews-listrow">
            etc etc  

 

On Wed, 2011-07-27 at 14:37 +0200, W. van den Akker wrote:
> Hoi Daniel,
> 
> De marker staat gewoon in de template ook de extensie werkt goed. Heb de
> laatste nog
> eens geladen.
> 
> Enige wat ik kan bedenken is dat er een typoscript instelling niet goed
> staat of nog niet staat.
> Maar welke moet ik hebben? Heb al diverse instellingen geprobeerd, maar
> zonder succes.
> 
> Hieronder een overzicht van de template analyser. 
> 
> Tweede ding wat me opvalt is dat bij het wisselen van de maand of het
> selecteren van de agenda
> pagina, de pagina flikkert. Alsof de site ff helemaal opnieuw getoond
> wordt. Klinkt dit bekend?
> 
> [GLOBAL]
> 474: ###
> 475: # This are the default TS-constants for newscalendar
> 476: ##
> 477: 
> 478: plugin.tx_newscalendar_pi1 = USER
> 479: plugin.tx_newscalendar_pi1 {
> 480: 
> 481:     # cat=plugin.newscalendar//0; type=string; label= StyleSheet for Calendar:  CSS file for the calendar
> 482:     file.cssCalendar = EXT:newscalendar/res/cssCalendar.css
> 483: 
> 484:     # cat=plugin.newscalendar//1; type=string; label= StyleSheet for ContextMenu:  CSS file for the context menu of the calendar
> 485:     file.cssContextMenu = EXT:newscalendar/res/cssContextMenu.css
> 486: 
> 487:     # cat=plugin.newscalendar//1; type=string; label= JavaScript JQuery API: Javascript API
> 488:     file.jsJQuery = EXT:newscalendar/res/jquery.min.js
> 489: 
> 490:     # cat=plugin.newscalendar//1; type=string; label= JavaScript JQuery Tooltip API: Javascript API
> 491:     file.jsJQueryTooltip = EXT:newscalendar/res/bt-0.9.5-rc1/jquery.bt.min.js
> 492: 
> 493:     # cat=plugin.newscalendar//1; type=string; label= JavaScript for Date Changer: Advanced date changer
> 494:     file.jsDateChanger = EXT:newscalendar/res/date_changer.js
> 495: 
> 496:     # cat=plugin.newscalendar//1; type=string; label= JavaScript Newscalendar Engine : Main client code
> 497:     file.jsNewscalendar = EXT:newscalendar/res/class.newscalendar.js
> 498: 
> 499:     # cat=plugin.newscalendar//1; type=string; label= JavaScript Canvas API (IE): Google Canvas API
> 500:     file.jsIEGoogleCanvasAPI = EXT:newscalendar/res/bt-0.9.5-rc1/other_libs/excanvas_r3/excanvas.js
> 501: 
> 502:     # cat=plugin.newscalendar//2; type=string; label= Template file for the list view:  Html template file for list view
> 503:     file.listViewTemplate = EXT:newscalendar/res/listViewTemplate.html
> 504: 
> 505:     # cat=plugin.newscalendar//2; type=string; label= Template file for the list view:  Html template file for list view
> 506:     file.calendarViewTemplate = EXT:newscalendar/res/calendarViewTemplate.html
> 507: 
> 508:     # cat=plugin.newscalendar//2; type=string; label= Left arrow image:  Left arrow image
> 509:     file.arrowLeft = EXT:newscalendar/res/pic/arrow-left.png
> 510: 
> 511:     # cat=plugin.newscalendar//2; type=string; label= Left arrow image disabled :  Left arrow image disabled
> 512:     file.arrowLeftDisabled = EXT:newscalendar/res/pic/arrow-left.png
> 513: 
> 514:     # cat=plugin.newscalendar//2; type=string; label= Right arrow image:  Right arrow image
> 515:     file.arrowRight = EXT:newscalendar/res/pic/arrow-right.png
> 516: 
> 517:     # cat=plugin.newscalendar//3; type=boolean; label= Show all records: This option overwrites the local news record option "Display in calendar"
> 518:     show.allRecords = 0
> 519: 
> 520:     # cat=plugin.newscalendar//4; type=int; label= Start week day: The week day calendar starts
> 521:     calendar.startWeekDay = 0
> 522: 
> 523:     # cat=plugin.newscalendar//5; type=string; label= date_default_timezone_set default argument
> 524:     calendar.timeZone =
> 525: }
> 
> [GLOBAL]
> 
> 5194: plugin.tx_newscalendar_pi1 = USER
> 5195: plugin.tx_newscalendar_pi1 {
> 5196: 
> 5197: 	render {
> 5198: 	    monthNavigationViaNews = 0
> 5199:             ie7compat = 1 # IE8 Tip compatible
> 5200: 	    #dayNameLength = 3
> 5201: 	    #useSubCategories = 1
> 5202: 	}
> 5203: 
> 5204: 	file.cssCalendar = {$plugin.tx_newscalendar_pi1.file.cssCalendar}
> 5205: 	file.cssContextMenu = {$plugin.tx_newscalendar_pi1.file.cssContextMenu}
> 5206: 
> 5207: 	file.jsJQuery = {$plugin.tx_newscalendar_pi1.file.jsJQuery}
> 5208: 	file.jsJQueryTooltip = {$plugin.tx_newscalendar_pi1.file.jsJQueryTooltip}
> 5209: 	file.jsIEGoogleCanvasAPI = {$plugin.tx_newscalendar_pi1.file.jsIEGoogleCanvasAPI}
> 5210: 
> 5211: 	file.jsDateChanger = {$plugin.tx_newscalendar_pi1.file.jsDateChanger}
> 5212: 	file.jsNewscalendar = {$plugin.tx_newscalendar_pi1.file.jsNewscalendar}
> 5213: 
> 5214: 	file.listViewTemplate = {$plugin.tx_newscalendar_pi1.file.listViewTemplate}
> 5215: 	file.calendarViewTemplate = {$plugin.tx_newscalendar_pi1.file.calendarViewTemplate}
> 5216: 
> 5217: 	file.arrowLeft = {$plugin.tx_newscalendar_pi1.file.arrowLeft}
> 5218: 	file.arrowLeftDisabled = {$plugin.tx_newscalendar_pi1.file.arrowLeftDisabled}
> 5219: 	file.arrowRight = {$plugin.tx_newscalendar_pi1.file.arrowRight}
> 5220: 
> 5221: 	show.allRecords = {$plugin.tx_newscalendar_pi1.show.allRecords}
> 5222: 
> 5223: 	special.parserFunction = htmlentities
> 5224: 
> 5225: 	tip {
> 5226: 	    fadeSpeed = 200
> 5227: 	    width = 300
> 5228: 	    backgroundColor = #EEEEEE
> 5229: 	    borderColor = #CCCCCC
> 5230: 	    borderWidth = 4
> 5231: 	    radius = 10
> 5232: 	    padding = 10
> 5233: 	    spikeLength = 20
> 5234: 	    spikeGirth = 20
> 5235: 	    shadow = true
> 5236: 	    shadowBlur = 12
> 5237: 	    shadowOffsetX = 0
> 5238: 	    shadowOffsetY = 5
> 5239: 	    positions = [ 'top', 'right', 'bottom', 'left' ]
> 5240: 	}
> 5241: 
> 5242: 
> 5243: 	listView {
> 5244: 	  subheader_stdWrap.crop = 180 | ...
> 5245: 	  hideIfInPast = 0
> 5246: 	  order = asc
> 5247: 	  strftime.main = %B - %Y
> 5248: 	  strftime.header = %d - %A
> 5249: 	  strftime.item = %H:%M
> 5250: 	  image {
> 5251: 	    file.maxW = 136
> 5252: 	    file.maxH = 150
> 5253: 	  }
> 5254: 	}
> 5255: 	calendar {
> 5256: 	  jQueryNoConflict = 0
> 5257: 	  loadJQuery = 1
> 5258: 	  loadJQueryTooltip = 1
> 5259: 	  loadJGoogleCanvasAPI = 1
> 5260: 	  dateChanger = 0
> 5261: 	  addNoCache2Navigation = 1
> 5262: 	  hideIfInPast = 0
> 5263: 	  strftime.contextHeader = %A, %d. %B %Y
> 5264: 	  strftime.contextItem = %H:%M
> 5265: 	  startWeekDay = {$plugin.tx_newscalendar_pi1.calendar.startWeekDay}
> 5266: 	  timeZone = {$plugin.tx_newscalendar_pi1.calendar.timeZone}
> 5267: 	  image {
> 5268: 	    file.maxW = 50
> 5269:             file.maxH = 50
> 5270: 	  }
> 5271: 	  renderNavigationAsImages = 1
> 5272: 	  imageArrows {
> 5273: 	    file.maxW = 32
> 5274:             file.maxH = 32
> 5275: 	  }
> 5276: 	}
> 5277: 	listInterval {
> 5278: 		hideIfInPast = 0
> 5279: 	}
> 5280: 	nextEvents {
> 5281: 		# int [required] : number of items to show
> 5282: 		maxItems = 100
> 5283: 		# bool : relativeToCalendar will allow nextEvents to change the first date of events to display
> 5284: 		# to the first day of the month chosen if the month is in futur
> 5285: 		relativeToCalendar = 0
> 5286: 	}
> 5287: 	pageBrowser {
> 5288: 		# bool : enable the browseBox
> 5289: 		show = 0
> 5290: 		# int [required if show = 1] : nb row per page
> 5291: 		limit = 10
> 5292: 		# int [required if show = 1] : nb pages
> 5293: 		maxPages = 5
> 5294: 		# bool : display the count of results
> 5295: 		showResultCount = 1
> 5296: 		# string : add parameters to the browseBox table
> 5297: 		tableParams = class="browseBox"
> 5298: 		# string [required if show = 1] : name of the pointer
> 5299: 		pointer = Calendar_list
> 5300: 		# bool : show pages like : 1-5 6-10 ...
> 5301: 		showRange = 1
> 5302: 		# bool : show first and last link
> 5303: 		showFirstLast = 0
> 5304: 		# int/String : Position of the current page
> 5305: 		pagefloat = center
> 5306: 	}
> 5307: }
> 
> On Tue, 2011-07-26 at 23:00 +0200, Daniel Doesburg | DOESBURG.BIZ wrote:
> 
> > Hoi Willem,
> > 
> > In je source staat de div er wel (newsCalendar_listHeader). Maar is tie 
> > leeg.
> > Redenen kunnen zijn:
> > - Je hebt de marker ###HEADER### in de listview HTML template verwijderd
> > - Je hebt de betreffende kop met typoscript uitgezet
> > - Er zit een fout in de extensie
> > 
> > Maar aangezien ik deze kop in andere sites wel zie lijkt de laatste 
> > optie me niet zo voor de hand liggend.
> > 
> > Het zou ook nog kunnen dat je die kop specifiek moet aanzetten, maar 
> > daarover kan je templatebrowser je uitsluitsel geven.
> > 
> > Met vriendelijke groeten,
> > 
> > Daniel Doesburg
> > 
> > 
> > 
> > 
> > W. van den Akker schreef:
> > > Hoi Daniel,
> > >
> > > Ik heb ff lopen zoeken, de orginele template teruggezet. Maar noppes.
> > > Ook heb ik wat lopen
> > > te stoeien met parameters. Maar wat ik ook doe. Er wijzigt niks.
> > > De config die ik heb staan in de template:
> > >
> > > plugin.tx_newscalendar_pi1.file.cssCalendar =
> > > fileadmin/templates/cssCalendar.css
> > > plugin.tx_newscalendar_pi1.file.listViewTemplate = fileadmin/templates/listViewTemplate.html
> > > plugin.tx_newscalendar_pi1.file.calendarViewTemplate = fileadmin/templates/calendarViewTemplate.html
> > > plugin.tx_newscalendar_pi1.calendar.timeZone = Europe/Amsterdam
> > > plugin.tx_newscalendar_pi1.listView.strftime.header = %d %m %y - %A
> > >
> > > Het resultaat is te zien op www.svheerhugowaard.nl en dan Agenda.
> > > Volgens mij zie ik iets simpels over het hoofd. Maar wat..?
> > >
> > > Jij (of iemand anders) een suggestie?
> > >
> > > gr,
> > > Willem
> > >
> > > On Sat, 2011-07-23 at 09:11 +0200, Daniel Doesburg | DOESBURG.BIZ wrote:
> > >
> > >> W. van den Akker schreef:
> > >>
> > >>> Blijft nog de vraag
> > >>> hoe ik in de list-events van de agenda de maand ervoor krijg?
> > >>> Nu wordt alleen de dag en de dagnaam weergegeven.
> > >>>
> > >>> 1 zaterdag .... bla bla bla
> > >>> 1 vrijdag ... bla bla bla bla
> > >>>
> > >>> Ik zou graag de maanden ervoor krijgen
> > >>
> > >> Hoi Willem,
> > >>
> > >> Ja, standaard worden de events getoond, gegroepeerd per maand. Met de
> > >> maandnaam als kop
> > >> Die kop heb jij vermoedelijk uit de template gesloopt.
> > >>
> > >> Ik heb even gezocht, maar in de HTML-template, noch in de typoscript
> > >> template kon ik iets vinden om het aan te passen. Ook niet in de
> > >> locallang file (wat soms ook nog wel eens wil gebeuren).
> > >>
> > >> Blijft dus over de php file. Dit is vrij netjes geprogrammeerd, dus zou
> > >> je die zelf kunnen aanpassen.
> > >> Maar je kunt ook naar de auteur gaan.
> > >>
> > >> Met vriendelijke groeten,
> > >>
> > >> Daniel Doesburg
> > >>
> > >> _______________________________________________
> > >> TYPO3-UG-Dutch mailing list
> > >> TYPO3-UG-Dutch at lists.typo3.org
> > >> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-ug-dutch
> > >>
> > >
> > >
> > >
> > 
> > _______________________________________________
> > TYPO3-UG-Dutch mailing list
> > TYPO3-UG-Dutch at lists.typo3.org
> > http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-ug-dutch
> > 
> 
> 
> 
> -- 
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
> 
> _______________________________________________
> TYPO3-UG-Dutch mailing list
> TYPO3-UG-Dutch at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-ug-dutch



-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the TYPO3-UG-Dutch mailing list