Skip to content

Commit

Permalink
Adjust for plugin Namespace change. Version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
artistro08 committed Feb 9, 2023
1 parent d819546 commit 3e5095f
Show file tree
Hide file tree
Showing 9 changed files with 13 additions and 12 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ To get started with this theme, you'll need the following

This theme depends on the following plugins:

* [Artistro08.TailorStarter](https://github.com/artistro08/tailor-starter-plugin)
* [Artistro08.TailorStarterCompanion](https://github.com/artistro08/tailor-starter-plugin)
* For Order Email management with the [Shop Feature](broken-reference)
* For Email Notifications with the [Forms Feature](broken-reference)

Expand All @@ -29,21 +29,21 @@ The theme will attempt to automatically install the plugins when you install it.
Install the theme and dependencies via `artisan`:

```bash
php artisan plugin:install Artistro08.TailorStarter [email protected]:artistro08/tailor-starter-plugin.git
php artisan plugin:install Artistro08.TailorStarterCompanion [email protected]:artistro08/tailor-starter-plugin.git
php artisan theme:install Artistro08.TailorStarterTheme [email protected]:artistro08/tailor-starter.git
```

Once installed, run the seeding function for the theme:

```bash
php artisan theme:seed artistro08-tailorstarter --root
php artisan theme:seed artistro08-tailorstartertheme-theme --root
```

This will initialize the Tailor structure, so you can add content.

> #### Note
>
> This theme automatically creates a child theme. The directory name is `artistro08-tailorstartertheme-theme`. Use that theme to make edits to the code. To learn more info about child themes, check [here](https://docs.octobercms.com/3.x/cms/themes/child-themes.html). Whenever you make changes to the theme in the editor, it copies the data and puts it in the child theme.
> This theme automatically creates a child theme. The directory name is `artistro08-tailorstartertheme-theme-child`. Use that theme to make edits to the code. To learn more info about child themes, check [here](https://docs.octobercms.com/3.x/cms/themes/child-themes.html). Whenever you make changes to the theme in the editor, it copies the data and puts it in the child theme.
Once you've seeded the theme, head over to the content settings in the backend and select the Homepage. Optionally, fill out the Site Name field as well. Find this at `/[backend_url]/tailor/globals/content_settings` where `[backend_url]` is your backend URI set in your .env

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"composer/installers": "~1.0",
"stripe/stripe-php": "^8.10",
"google/recaptcha": "^1.2",
"artistro08/tailorstarter-plugin": "^1.0"
"artistro08/tailorstartercompanion-plugin": "^1.0"
}

}
2 changes: 1 addition & 1 deletion layouts/author.htm
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@

if(($form->enable_notifications) && (!empty($mail_recipients))) {

Mail::send('artistro08.tailorstarter::mail.form_submission', $mail_data, function($message) use ($mail_recipients, $form) {
Mail::send('artistro08.::mail.form_submission', $mail_data, function($message) use ($mail_recipients, $form) {
foreach ($mail_recipients as $email => $name) {
$message->to($email, $name);
$message->subject('New Form Submission from ' . $form->title);
Expand Down
2 changes: 1 addition & 1 deletion layouts/default.htm
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@

if(($form->enable_notifications) && (!empty($mail_recipients))) {

Mail::send('artistro08.tailorstarter::mail.form_submission', $mail_data, function($message) use ($mail_recipients, $form) {
Mail::send('artistro08.tailorstartercompanion::mail.form_submission', $mail_data, function($message) use ($mail_recipients, $form) {
foreach ($mail_recipients as $email => $name) {
$message->to($email, $name);
$message->subject('New Form Submission from ' . $form->title);
Expand Down
2 changes: 1 addition & 1 deletion layouts/page.htm
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@

if(($form->enable_notifications) && (!empty($mail_recipients))) {

Mail::send('artistro08.tailorstarter::mail.form_submission', $mail_data, function($message) use ($mail_recipients, $form) {
Mail::send('artistro08.tailorstartercompanion::mail.form_submission', $mail_data, function($message) use ($mail_recipients, $form) {
foreach ($mail_recipients as $email => $name) {
$message->to($email, $name);
$message->subject('New Form Submission from ' . $form->title);
Expand Down
2 changes: 1 addition & 1 deletion layouts/post.htm
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@

if(($form->enable_notifications) && (!empty($mail_recipients))) {

Mail::send('artistro08.tailorstarter::mail.form_submission', $mail_data, function($message) use ($mail_recipients, $form) {
Mail::send('artistro08.tailorstartercompanion::mail.form_submission', $mail_data, function($message) use ($mail_recipients, $form) {
foreach ($mail_recipients as $email => $name) {
$message->to($email, $name);
$message->subject('New Form Submission from ' . $form->title);
Expand Down
2 changes: 1 addition & 1 deletion seeds/blueprints/content/icons/icons.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ fields:
attributes: disabled
column:
type: partial
path: "#/artistro08-tailorstarter/partials/columns/_icon"
path: "#/artistro08-tailorstartertheme/partials/columns/_icon"
2 changes: 1 addition & 1 deletion theme.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ authorCode: Artistro08
code: TailorStarterTheme
database: '0'
require:
- "Artistro08.TailorStarter"
- "Artistro08.TailorStarterCompanion"
3 changes: 2 additions & 1 deletion version.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,5 @@ v6.0.0: Added the pagefinder widget. Added a blog with post authors and categori
v6.1.0: Added ability to select specific records for the Posts, Products, and Events blocks in the builder.
v6.1.1: Added format_money filter from companion plugin
v6.1.2: Added "Theme" to the code namespace for the marketplace
v6.1.3: Fix issue in composer.json file.
v6.1.3: Fix issue in composer.json file.
v6.1.4: Prep for marketplace release with the namespace change of the plugin.

0 comments on commit 3e5095f

Please sign in to comment.