69GIAP / 69GIAPBosWar

1 stars 1 forks source link

Upload columns and ststics from template #141

Closed 69giapstenka closed 10 years ago

69giapstenka commented 10 years ago

Doing a test run and the button has dissapeared. I looked in sidebar and it should be there don't understand

69giapmyata commented 10 years ago

Are you fully synched? I might have missed a button. Check if you have the latest sidebar.php nod images in your website.

Am Mittwoch, 11. Juni 2014 schrieb 69giapstenka :

Doing a test run and the button has dissapeared. I looked in sidebar and it should be there don't understand

— Reply to this email directly or view it on GitHub https://github.com/69GIAP/69GIAPBosWar/issues/141.

69giapstenka commented 10 years ago

I've recloned, checked size and date of sidebar, recopied img directory. still no upload from template option

69giapmyata commented 10 years ago

Ok, I am abroad at The Moment, I Need to Check this on my machine.

Am Donnerstag, 12. Juni 2014 schrieb 69giapstenka :

I've recloned, checked size and date of sidebar, recopied img directory. still no upload from template option

— Reply to this email directly or view it on GitHub https://github.com/69GIAP/69GIAPBosWar/issues/141#issuecomment-45947781.

69giaptushka commented 10 years ago

I have three Columns and Statics buttons: Download C&S to Template, Download C&S to Planner, and Upload C&S to Planner. Is there also supposed to be an Upload C&S to Template?

69giapstenka commented 10 years ago

Yes that is what I'm saying

We download C&S to template, that positions them at supply points

The red/blue addmin then moves them to the ZX position they will occupy on day 1 of the campaign

We then upload this to Boswar to update the database

At this point we are ready to start the campaign

We then download C&S to planners who will set waypoints for mission 1 and adjust static ZX if that is allowed in the rules

We then upload from planners to update the database.

After which we are ready to generate the mission 1

The upload C&S from template has dissapeared. I looked in sidebar.php it seems to be there but something must be wrong.

69giapmyata commented 10 years ago

You say you can see the code in sidebar.php. What's the entries class? E.g $sde == ...

69giapstenka commented 10 years ago

if ($sde == 'MgmtDlClmsStcs') { echo "

  • <a href=\"CampaignMgmtDLTemplateConfirm.php?btn=campStp&sde=MgmtDlClmsStcs\" class=\"MgmtDlClmsStcsAct\">
  • \n"; } else { echo "
  • <a href=\"CampaignMgmtDLTemplateConfirm.php?btn=campStp&sde=MgmtDlClmsStcs\" class=\"MgmtDlClmsStcs\">
  • \n"; } if ($sde == 'MgmtUlClmsStcs') { echo "
  • <a href=\"CampaignMgmtULTemplateConfirm.php?btn=campStp&sde=MgmtUlClmsStcs\" class=\"MgmtUlClmsStcsAct\">
  • \n"; } else { echo "
  • <a href=\"CampaignMgmtULTemplateConfirm.php?btn=campStp&sde=MgmtUlClmsStcs\" class=\"MgmtUlClmsStcs\">
  • \n"; } if ($sde == 'MgmtDl2Plnrs') { echo "
  • <a href=\"CampaignMgmtDLPlanningConfirm.php?btn=campStp&sde=MgmtDl2Plnrs\" class=\"MgmtDl2PlnrsAct\">
  • \n"; } else { echo "
  • <a href=\"CampaignMgmtDLPlanningConfirm.php?btn=campStp&sde=MgmtDl2Plnrs\" class=\"MgmtDl2Plnrs\">
  • \n"; }

    ----- Mail original ----- De: "=69.GIAP=MYATA" notifications@github.com À: "69GIAP/69GIAPBosWar" 69GIAPBosWar@noreply.github.com Cc: "69giapstenka" ptthome@free.fr Envoyé: Samedi 14 Juin 2014 12:40:44 Objet: Re: [69GIAPBosWar] Upload columns and ststics from template (#141)

    You say you can see the code in sidebar.php. What's the entries class? E.g $sde == ...

    — Reply to this email directly or view it on GitHub .

    69giapmyata commented 10 years ago

    As I am still abroad it is extremely hard for me to check. By looking at the code I did not see a problem. Can I get access to your test page?

    69giapstenka commented 10 years ago

    I will update the test server tomorrow then you will be able to access

    69giapmyata commented 10 years ago

    Once I can have a look at that it should be no big problem. I assume on the RoF website we are good?

    69giapstenka commented 10 years ago

    OK test system is up to date http://88.182.164.185/website/index.php

    69giapmyata commented 10 years ago

    Login?

    69giapmyata commented 10 years ago

    I got. In and what I See corresponds to the sidebar PHP. Where do you want the button and what is the linked php page. I need to add some lines of code.

    69giapstenka commented 10 years ago

    Campaigntemplateupload.php Upload Columns and Statics from template immediateley after download Columns and Statics to template

    69giapmyata commented 10 years ago

    should be fixed with sync 37264eca7f75d04ab95873aa75b8602cb111de82

    69giaptushka commented 10 years ago

    That worked nicely for both RoF and BoS. Thanks!