dbxapp 4.1.3
CMS, Shop, Workflows und modulare Geschäftsanwendungen
Loading...
Searching...
No Matches
update_homepage_20260728.php File Reference

Go to the source code of this file.

Variables

 $base = dirname(__DIR__, 4)
 Applies the concise German homepage and registers its new media.
 $_SERVER ['REQUEST_URI'] = '/dbxapp/'
 $_SERVER ['HTTP_HOST'] = 'localhost'
 $_SERVER ['HTTPS'] = 'on'
 $_SERVER ['SCRIPT_NAME'] = '/dbxapp/index.php'
const dbxSystem 'dbxWebApp'
const dbxRunAsAdmin 1
 $db = dbx()->get_system_obj('dbxDB')
 $dd = dbx()->get_system_obj('dbxDD')
 $mediaDd = 'dbx|dbxMedia'
 $mediaUsageDd = 'dbx|dbxMediaUsage'
 $contentDd = 'dbx|content_de'
for( $step=0;$step< 1000;$step++) if(($schema['status'] ?? '') !=='finished') $media
foreach($media as $id=> $record) $upsertMedia
 $posterId
 $videoId
 $pages
 $pageId = is_array($pages) && isset($pages[0]['id']) ? (int)$pages[0]['id'] : 0
if($pageId<=0) $content =
 $updated
if($updated !==1) $wantedUsage
 $activeUsage
 $kept = array('hero' => array(), 'inline' => array())
 if (class_exists(\dbx\dbxContent\dbxContentSitemap::class))

Variable Documentation

◆ $_SERVER [1/4]

$_SERVER[ 'HTTP_HOST'] = 'localhost'

Definition at line 15 of file update_homepage_20260728.php.

◆ $_SERVER [2/4]

$_SERVER[ 'HTTPS'] = 'on'

Definition at line 16 of file update_homepage_20260728.php.

◆ $_SERVER [3/4]

$_SERVER[ 'REQUEST_URI'] = '/dbxapp/'

Definition at line 14 of file update_homepage_20260728.php.

◆ $_SERVER [4/4]

$_SERVER[ 'SCRIPT_NAME'] = '/dbxapp/index.php'

Definition at line 17 of file update_homepage_20260728.php.

◆ $activeUsage

$activeUsage
Initial value:
= $db->select(
'content_id = ' . $pageId . ' AND active = 1',
'*',
'sorter,id',
'ASC',
'',
0,
0,
0
)

Definition at line 287 of file update_homepage_20260728.php.

◆ $base

$base = dirname(__DIR__, 4)

Applies the concise German homepage and registers its new media.

All database reads and writes intentionally use dbxDB with DD references. Existing media IDs 166, 371 and 432 are retained so older CMS content keeps working while receiving the new visual assets.

Definition at line 12 of file update_homepage_20260728.php.

◆ $content

$content =

Definition at line 183 of file update_homepage_20260728.php.

◆ $contentDd

$contentDd = 'dbx|content_de'

Definition at line 29 of file update_homepage_20260728.php.

◆ $db

$db = dbx()->get_system_obj('dbxDB')

Definition at line 25 of file update_homepage_20260728.php.

◆ $dd

$dd = dbx()->get_system_obj('dbxDD')

Definition at line 26 of file update_homepage_20260728.php.

◆ $kept

$kept = array('hero' => array(), 'inline' => array())

◆ $media

for($step=0; $step< 1000; $step++) if (( $schema[ 'status'] ?? '') !=='finished') $media

Definition at line 45 of file update_homepage_20260728.php.

Referenced by dbxDoxygenFigure().

◆ $mediaDd

$mediaDd = 'dbx|dbxMedia'

Definition at line 27 of file update_homepage_20260728.php.

◆ $mediaUsageDd

$mediaUsageDd = 'dbx|dbxMediaUsage'

Definition at line 28 of file update_homepage_20260728.php.

◆ $pageId

$pageId = is_array($pages) && isset($pages[0]['id']) ? (int)$pages[0]['id'] : 0

◆ $pages

$pages
Initial value:
= $db->select(
array('permalink' => 'home'),
'*',
'id',
'ASC',
'',
1,
0,
0
)

Definition at line 167 of file update_homepage_20260728.php.

◆ $posterId

$posterId
Initial value:
= $upsertMedia(array(
'slot' => 'inline',
'usage' => 'inline',
'sorter' => '0000',
'template' => '',
'title' => 'dbxapp TV-Spot – bewegtere Fassung',
'alt' => 'Formatfüllendes dbxapp Original-Logo als Schlussbild des 30-Sekunden-Spots',
'file_name' => 'dbxapp-tvspot-poster-20260730-v3.webp',
'file_path' => 'media/img/images/dbxapp-tvspot-poster-20260730-v3.webp',
'mime' => 'image/webp',
'width' => 1024,
'height' => 576,
'media_type' => 'image',
'media_folder' => 'images',
))
foreach($media as $id=> $record) $upsertMedia

Definition at line 134 of file update_homepage_20260728.php.

◆ $updated

$updated
Initial value:
= $db->update($contentDd, array(
'title' => 'dbxapp – CMS, Shop und Anwendungen',
'menu_title' => 'Home',
'seo_title' => 'dbxapp: CMS, Shop und individuelle Anwendungen',
'description' => 'dbxapp verbindet Website und CMS, Shop, Portale und individuelle Geschäftsanwendungen in einer modularen Plattform.',
'keywords' => 'dbxapp, CMS, Shop, Geschäftsanwendung, Portal, Workflow, Self-Hosting',
'template' => 'c-title-hero_header-body1-footer',
'content' => $content,
'hero_template' => 'image-hero',
'hero_image_id' => '166',
'hero_margin_top' => '0',
'hero_height' => '420px',
'hero_variant' => 'original',
'hero_sticky' => '0',
'hero_scroll_layer' => 'under',
'seo_image_id' => 166,
'lng_rev' => (int)($pages[0]['lng_rev'] ?? 0) + 1,
), $pageId, 0, 1, 0, 1)

Definition at line 257 of file update_homepage_20260728.php.

◆ $upsertMedia

foreach ( $media as $id=> $record) $upsertMedia

Definition at line 100 of file update_homepage_20260728.php.

◆ $videoId

$videoId
Initial value:
= $upsertMedia(array(
'slot' => 'inline',
'usage' => 'inline',
'sorter' => '0000',
'template' => '',
'title' => 'dbxapp TV-Spot – bewegtere Fassung',
'alt' => 'Dynamischer TV-Spot über Handy, Desktop, KI, CMS, Shop und Datenbanken mit dbxapp',
'file_name' => 'dbxapp-tvspot-20260730-v3.mp4',
'file_path' => 'media/video/dbxapp-tvspot-20260730-v3.mp4',
'thumb_file_path' => 'media/img/images/dbxapp-tvspot-poster-20260730-v3.webp',
'mime' => 'video/mp4',
'width' => 1024,
'height' => 576,
'media_type' => 'video',
'media_folder' => 'video',
))

Definition at line 150 of file update_homepage_20260728.php.

◆ $wantedUsage

if ( $updated !==1) $wantedUsage
Initial value:
= array(
'hero' => array(166),
'inline' => array($videoId, 371, 432),
)

Definition at line 283 of file update_homepage_20260728.php.

◆ dbxRunAsAdmin

const dbxRunAsAdmin 1

Definition at line 20 of file update_homepage_20260728.php.

◆ dbxSystem

const dbxSystem 'dbxWebApp'

Definition at line 19 of file update_homepage_20260728.php.

◆ if

if(class_exists(\dbx\dbxContent\dbxContentSitemap::class)) ( class_exists(\dbx\dbxContent\dbxContentSitemap::class) )

Definition at line 339 of file update_homepage_20260728.php.