Dec 03, 2017 11:49 amTopic id: 01195

Scheduling the ads

This will allow to set the display of a banner for period of time.

The page will load the ads set for the current date. Somehow like the Google Ads

Dec 03, 2017 11:52 amReply: 1

Right now. A logged person can upload banners. Then when pressing the publish button it loads the calendar, it identifies the banner its position its dimensions on custome window.

The next step is to by MyADmin set some ads in the schedule tb and so when this schedule/calendar window shows up it must picks up that data and displays it on the calendar likely with checked checkboxes for the busy dates/spots and unchecked boxes for the available dates/spots!

Dec 09, 2017 12:10 pmReply: 2

Well now the script can schedule ads (for main page).

Remains to be coded the deploy of that scheduled ads on main page

Dec 09, 2017 12:12 pmReply: 3

For the uploading of the ad. We are going to try better by the opening of a window. That way, seems better.

Dec 11, 2017 11:08 amReply: 4

No. Finally I did within the page, with the target to an iframe which content can be tracked more easily and therefore more easy the display of the relevant banners

Dec 11, 2017 11:09 amReply: 5

Next step is to place on the main page template the divs and their css descriptions, more or less the same ones that highlight the divs on page sketch divs on:

Dec 11, 2017 11:12 amReply: 6

These divs will not only be the recievers of the html images tags but it will also leave the door open for possibly AdWords ads!

Dec 11, 2017 11:42 amReply: 7

Done. Those divs are now in place

Dec 13, 2017 08:52 amReply: 8

Well. A bug when uploading Wide Skyscrapping banners was fixed.

Also now when it deletes or adds(uploads) banners it updates the info in the count

To avoid cross in the js calls, now the show of banners and update of counts are syncron calls. That might not be the best option, but still good enough I think.

The other solution would be to name a xmlHttp obj for the showing of banners and other different object for the update/show of counts to avoid cross in the calls.

Dec 14, 2017 12:26 pmReply: 9

The issue now is this one. When programming the banners in the schedule it saves something like for some date: 00250.gif

The idea was that with that single datum the script could find the banner image src. But now it is quite evident that we need more info mainly if the banner has a link with it.

So the fix is to save only the id of the banner only, for the example above that would be only 00250

That is because we need more data of the banner, Not only the src. We will likely need to do another db call