This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

zio3d
zio3d

Hello, Since the name of my plug-in is too long, I have almost all the truncated names in the list of plug-in tables (on the back-end Builder) so I have to click on each table to read its full name. How can I rename my plug-in so I will make it shorter? I searched on Google and also on the October CMS forum but I didn't find anything.

Thank you. Davide Q.

Codecycler
Codecycler

This is not easy to do.

Proceed as follows:

  • Rollback all migrations from your plugin
  • Adjust all namespaces and check all use statements
  • Customize your plugin.yaml to your liking

Once you have checked and adjusted everything, you can perform the new migrations with the command 'php artisan october:up'.

In most cases it would be easier to create a new plugin and take over parts of your old plugin.

But what you run into is the table names in the builder plugin?

Last updated

Codecycler
Codecycler

@zio3d I've just adjusted some CSS for the backend to see the longer names in the Builder Plugin. Assuming you are using the /backend url for the backend you can add the following CSS in the tab 'Style'.

At url: /backend/system/settings/update/october/backend/branding

Add CSS: .control-filelist.single-line ul li a span.title { text-overflow: inherit; white-space: inherit; word-wrap: break-word; }

Last updated

zio3d
zio3d

Thanks. I will follow your advice to create a new plugin with a shorter name and recreate my tables. Yes, my problem is the table names in the builder plugin, they are truncated on the screen from "xxxxx_yyyyy_zzzzz" to "xxxxx_yyyyy_z...".

Codecycler
Codecycler

zio3d said:

Thanks. I will follow your advice to create a new plugin with a shorter name and recreate my tables. Yes, my problem is the table names in the builder plugin, they are truncated on the screen from "xxxxx_yyyyy_zzzzz" to "xxxxx_yyyyy_z...".

As I said. You can always just adjust the CSS for the backend of October CMS. This will show the full table names. It could save you a lot of time ;-).

Good luck!

Last updated

zio3d
zio3d

When I replied, I hadn't seen your new CSS post yet. Of course, I proceeded to modify the CSS you proposed and now I can see the complete names of the tables. Perfect! You have been very useful. Thank you!

Last updated

Codecycler
Codecycler

zio3d said:

When I replied, I hadn't seen your new CSS post yet. Of course, I proceeded to modify the CSS you proposed and now I can see the complete names of the tables. Perfect! You have been very useful. Thank you!

No problem at all. Happy to help. Enjoy!

1-7 of 7

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.