Skip to content

Releases: gp247-plugin/News

2.0.5

Choose a tag to compare

@gp247net gp247net released this 28 Jul 23:31
Update version

Fix getList arrOpt filter, news content lang keys; bump to 2.0.4

Choose a tag to compare

@gp247net gp247net released this 26 Jul 14:16
- Models: count($arrOpt = []) always reset the option array to empty, so getList() ignored every passed filter; use count($arrOpt).

- news_content view: use core lang keys (admin.cancel/reset/update/submit/active/inactive/no_records) instead of the non-existent admin.core.* keys.

- Bump plugin version 2.0.3 -> 2.0.4.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

2.0.3

Choose a tag to compare

@gp247net gp247net released this 12 Jul 01:07
Update version

2.0.2

Choose a tag to compare

@gp247net gp247net released this 11 Jul 14:30
Update version

2.0.1: Register sitemap provider with key/label so admin can toggle it

Choose a tag to compare

@gp247net gp247net released this 11 Jul 14:19
Updates the seo_sitemap_providers registration to the new
{key, label, callback} shape (s-cart ADR seo_plugin-sitemap-extension,
amended 20260711T135121) so the "SEO" admin screen can list and
toggle this plugin's sitemap contribution independently. Reuses the
manifest's own configKey/name fields — no new translation string
needed just for this.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>

2.0: Upgrade News plugin admin/front for GP247 v2 compatibility

Choose a tag to compare

@gp247net gp247net released this 11 Jul 10:54
Admin (fatal error -> working): NewsCategoryController/NewsContentController
returned views extending gp247-core::layout and gp247-core::screen.list,
both physically removed in the AdminLTE-to-TailAdmin cutover. Ported both
screens to Livewire (ResourcePanel + HasMultilingualDescriptions, mirroring
GP247\Shop\Admin\Livewire\CategoryManager) with TailAdmin views. Legacy
route names kept identical (admin_news_category.*, admin_news_content.*)
since installed sites already have AdminMenu rows pointing at them. Removed
the now-dead legacy controllers and their now-unused custom validators.

Front (unstyled -> styled): views extended block_main directly, discarding
GP247Front's container/breadcrumb/sidebar-block scaffolding, and used
Bootstrap-era classes with no matching compiled Tailwind CSS. Switched to
block_main_content_center (mirroring screen/shop_item_list.blade.php) and
common/item_single.blade.php (already compiled); the previously-used
common/item_single_long.blade.php was itself dead code from the removed
template. news_detail gains a title heading using the same rich-content
wrapper classes as shop_product_detail's description tab.

Bump gp247.json to version 2.0.0 / requireCore 2.0 to reflect the migration.

Verified end-to-end: installed on a dev DB, all 9 routes register correctly,
all 3 front pages return 200 with expected content, admin routes redirect
to login cleanly (no more fatal 500), no exceptions logged.

1.1.10

Choose a tag to compare

@gp247net gp247net released this 21 Aug 03:40
Improve handle process category parent

1.1.9

Choose a tag to compare

@gp247net gp247net released this 17 Aug 05:26
Update env for GP247_PREFIX_NEWS

1.1.8

Choose a tag to compare

@gp247net gp247net released this 14 Aug 04:17
Update readme

1.1.7

Choose a tag to compare

@gp247net gp247net released this 27 Jul 15:43
Fix template