Custom-wizard: Date variable to insert into Title

<%= @topic_view.topic.title %>
<%= @topic_view.topic.average_rating %> <%= @topic_view.topic.posts.count { |p| !!p.custom_fields['rating'] } %>

Feature

Date variable to insert into Title

Description

{date} variable that can be added to “New Topic” title

Use Case

Use-case: Using the Custom Wizard as a worksheet tool. An example is a “Weekly Planner” worksheet form.

Questions:

  • What are your most important priorities for the week (list 3)
  • Who do you need to follow-up with?
  • What are your top 3 strategic projects?

Submit --> Create a new Topic

Issue: I want the topic to be named “Weekly Planner - {date} - u{name}”

Therefore, having a custom “Date” variable I can use in the Title of a Topic via Custom Wizard would be dreamy.

Thanks for the wonderful plugin! Y’all are awesome! <3

Budget

$25

@Waffleslop I think this is a great feature addition, and realtively straightforward. My goal is to do it in the next week or so.

1 Like

How can I submit my $25 bounty? I couldn’t find you on Venmo. :slight_smile:

Don’t worry about the bounty. I’d probably lose that much in transaction fees anyway!

1 Like

@Waffleslop I’ve just pushed this. Update and try it out.

Format: v{time:<strftime format>} (see Class: Time (Ruby 1.9.3))

Example: v{time:%B %-d, %Y}

1 Like

Confirming it worked as intended. The ability to change date format is very welcomed. Thanks @angus!

1 Like