Home

Code @ CSU is an evolving resource for a variety of tech-related matters. If you would like to contribute to this project, please fill out the contributor request form. Alternatively, if there is a subject you would like to have covered here, please fill out the contact us form and submit your topic request.

Recent Posts

Elementor Logo

Dealing with Caching/Other Page Weirdness

Occasionally we get reports of various issues with pages, often along the lines of pages won’t update or intermittent errors.  A lot of these issues relate to the fact that we are using a very aggressive caching mechanism on our sites called Nginx Helper to improve page load times.  In any case, I thought I’d put

Read More »
Migrate website

Custom ASHX File Handler for CKEditor

I recently discovered a vulnerability in some old .NET 4.8 web forms code that was used to provide basic file management within CKEditor (https://github.com/simogeo/Filemanager).  Since I don’t have the ability to rebuild the entire system at this time, I decided to implement a newer file manager instead (https://github.com/psolom/RichFilemanager/).  However, the ashx connector provided therein (https://github.com/psolom/RichFilemanager/blob/master/connectors/ashx/filemanager.ashx)

Read More »
Elementor Logo

Expand/Collapse All Buttons Using Elementor Accordion

Here’s how to have the ability to expand all/collapse all panes within an Elementor accordion element: Add an HTML widget and 2 buttons to your site.  Give the Expand All button the CSS class, “expand-all”, and the Collapse All button the class, “collapse-all” Add an HTML element to your page and paste in the code

Read More »
WordPress Logo

Finding Recent Changes In WordPress

Thought I’d denote some queries we commonly use to determine what has recently changed on one of our multisite instances in WordPress Pages/Posts SELECT ID, post_title FROM wp_X_posts WHERE post_status = ‘publish’ AND DATE(post_modified_gmt) BETWEEN ‘2023-08-15’ AND ‘2023-10-31’ AND post_type IN (‘post’, ‘page’) ORDER BY post_modified_gmt DESC; Events Manager Pro Events SELECT * FROM `wp_X_em_events`

Read More »
Gravity Forms Logo

Migrating Gravity Forms Entries To a Newer/Different Site

Sometimes when we redesign a site (when we know the content doesn’t need to change much) we’ll duplicate the old site and then work on the duplicate until we’re ready to release.  There are potential problems with this approach, including that when you duplicate a site, it’s just a snapshot in time, and any changes

Read More »
Chrome extension

Building A Chrome Extension: Refresh N’ Click

I thought it might be fun to appear to be more active than I actually am on some well-known social media platform, and came up with a little experiment for the job at hand, which also enabled me to build my first Chrome extension. Once installed and activated (by clicking the extension’s icon), it will

Read More »

Posts of the Day

Gravity Forms Logo

Migrating Gravity Forms Entries To a Newer/Different Site

Sometimes when we redesign a site (when we know the content doesn’t need to change much) we’ll duplicate the old site and then work on the duplicate until we’re ready to release.  There are potential problems with this approach, including that when you duplicate a site, it’s just a snapshot in time, and any changes

Read More »
Google Sheets

Using ASP.NET C# to Read Data from Google Sheets

In the following tutorial, we’ll be reading a Google Sheet (https://docs.google.com/spreadsheets/d/1-6XeX59-zgqi_z5Bm8dqYyO1z37tfi8Ur7o5mxmmVKo/edit?usp=sharing), porting it into an ASP.NET web site. Create a new Visual Studio ASP.NET C# project (Ctrl + Shift + N) Create a new empty web site Create a new master page, naming it site.master, and a new content page, default.aspx Visit https://developers.google.com/sheets/api/quickstart/dotnet and enable

Read More »
What is agile

What is Agile?

What follows are two excellent introductions to learning more about agile processes (which are applicable both to software development and to project management as a whole) https://www.youtube.com/watch?v=Z9QbYZh1YXY Why Have a Daily Standup An Introduction To Scrum

Read More »