Opened 6 years ago

Closed 6 years ago

#2071 closed task (fixed)

Use the month on the sopnsors page

Reported by: cvvergara Owned by: webcom@…
Priority: normal Milestone: Website v2.1
Component: WebSite Keywords:
Cc:

Description

The sponsor to be showed on sponsors page is done automatically based on the year. When the year changed the sponsor were move to the section past sponsors. The query should be done based on month and year.

The month and year are the "up to what date the sponsor should be shown (Including)

Change History (7)

comment:1 by cvvergara, 6 years ago

General idea of where changes need to be done:

File where the change needs to take place:

https://git.osgeo.org/gitea/osgeo/wordpress/src/branch/master/wp-content/themes/roots/archive-sponsor.php

This template is called

https://git.osgeo.org/gitea/osgeo/wordpress/src/branch/master/wp-content/themes/roots/templates/atomic/organism-sponsors.php

As the year just changed, and its not a blocker I want to change the milestone for after the site is published

comment:2 by cvvergara, 6 years ago

Milestone: Website rebranding 2017Website v2.1

comment:3 by cvvergara, 6 years ago

Component: Systems AdminWebSite
Owner: changed from sac@… to webcom@…

in reply to:  1 comment:4 by jive, 6 years ago

Replying to cvvergara:

File where the change needs to take place:

https://git.osgeo.org/gitea/osgeo/wordpress/src/branch/master/wp-content/themes/roots/archive-sponsor.php

This template is called

https://git.osgeo.org/gitea/osgeo/wordpress/src/branch/master/wp-content/themes/roots/templates/atomic/organism-sponsors.php

As the year just changed, and its not a blocker I want to change the milestone for after the site is published

Can we work on this now? See #2158 it is become a live issue for me (can no longer see GeoSolutions sponsorship logo for example).

comment:5 by robe, 6 years ago

Before we start working on this let me correctly set up the staging, prod branches on gitea and have pull from respective like I did for FOSS4G 2018.

I'll get to doing this in the next day or 2.

comment:6 by robe, 6 years ago

I have now split branches into staging and master, master is production. The server will push to each respective site as detailed in readme.

Note also I renamed the repo to www_osgeo (since wordpress was too generic and we have other wordpress sites now).

https://git.osgeo.org/gitea/osgeo/www_osgeo

I've also refreshed the staging database so it's ready for testing these fixes and others and hopefully should mirror production issues.

One thing I also did was upgrade gravity forms on staging (the message about upgrade was a bit scary, so before I upgrade it on production, I wanted you to all take a see an make sure no surprises there).

comment:7 by cvvergara, 6 years ago

Resolution: fixed
Status: newclosed

Query is made by the month and year

Note: See TracTickets for help on using tickets.