Notam Display in Schedule Briefing

I have searched the full Forum here for codes or ather Things to bring the Notam to work. Nothing is working.

SO if there an actually Way to Display the latest 4 Notam´s in the Schedule Brief Site?

Many Thanks

Just made this for you

Put it in core/common folder

you can call it wherever you want with

<?php NOTAMSData::GetNotam($icao,numberof notams);?>

$icao = the airport icao you want the notams to get

number of notams = the amount of notams you want to get -1 if you want 4 notams then you write 3 etc

[NOTAMSData.class.php](< base_url >/applications/core/interface/file/attachment.php?id=1696)

Hi Vangelis

i have put the code inside my Schedule briefing and the Notam Data Class in the common Area but e become this Failure

Can you help me please

Warning: file_get_contents(http://api.vateud.net/notams/.json): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /www/htdocs/w01501e7/lausitzair/core/common/NOTAMSData.class.php on line 18
Warning: Invalid argument supplied for foreach() in /www/htdocs/w01501e7/lausitzair/core/common/NOTAMSData.class.php on line 22

What code did you put in the schedule briefing ?

<?php NOTAMSData::GetNotam($icao,numberof notams);?>

This is the only code you need to add in the template

yep

<?php NOTAMSData::GetNotam($icao,4);?>

this code i have put in to my schedule briefing.

The NotamClassData.php i have put into my common Structure on the Webserver. But the i become this failure message see above..

try

<?php NOTAMSData::GetNotam($schedule->depicao,4);?>

and

<?php NOTAMSData::GetNotam($schedule->arricao,4);?>

for arrival