Skip to content

Allow admin users to change the creation date of products, posts, and other registered models

License

Notifications You must be signed in to change notification settings

FriendsOfBotble/fob-creation-date

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FOB Creation Date

Allow admin users to change the creation date of products, posts, and other registered models in Botble CMS.

Requirements

  • Botble Core 7.5.0 or higher
  • PHP 8.2 or higher

Compatible Scripts

Installation

  1. Extract the plugin to platform/plugins/fob-creation-date
  2. Activate the plugin in Admin > Plugins
  3. Configure in Settings > Others > FOB Creation Date

Features

  • Change Creation Date: Edit the created_at timestamp of any registered model from the admin panel
  • Per-Model Configuration: Enable or disable the feature for specific model types via settings
  • Extensible Model Registry: Other plugins can register their own models to support creation date editing
  • Meta Box Integration: Appears as a sidebar meta box on edit forms for enabled models
  • Multi-language Support: Translations included for 30+ languages

Usage

Once activated, a "Creation Date" meta box appears in the sidebar of edit forms for enabled models (e.g., products, posts). Click Change to open a date picker modal and set a new creation date.

Change Creation Date

Registering Custom Models

Other plugins can register their models to support creation date editing:

use FriendsOfBotble\CreationDate\Facades\CreationDate;

CreationDate::registerModel(MyModel::class, 'My Model');

Settings

Configure which models allow creation date changes in Settings > Others > FOB Creation Date.

Contributing

See CONTRIBUTING.md

License

The MIT License. See License File

About

Allow admin users to change the creation date of products, posts, and other registered models

Resources

License

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors