Ergebnis 1 bis 3 von 3

Thema: [gelöst] ODD Theme in eine vorhandene Seite hinzufügen

  1. #1
    Contao-Nutzer
    Registriert seit
    10.08.2009.
    Beiträge
    85

    Standard [gelöst] ODD Theme in eine vorhandene Seite hinzufügen

    Guten Tag,

    ich möchte gerne das Theme ODD in eine vorhandene Installation hinzufügen.
    Die Installation erfolgt aus meiner Sicht ohne sichtbaren Fehler.

    Es fehlt das neue Theme auf der Auswahlseite ...
    Theme.jpg

    In der Doku Installation sieht der DB Aufruf für Migration etwas anders auf ...
    Migration_ODD.jpg

    Consolenausgabe ODD hinzufügen

    Code:
    $ /opt/plesk/php/8.3/bin/php -q -dmax_execution_time=0 -dmemory_limit=-1 -ddisplay_errors=0 -ddisplay_startup_errors=0 -derror_reporting=0 -dallow_url_fopen=1 -ddisable_functions= -ddate.timezone=Europe/Berlin /var/www/vhosts/k4255.web175.dogado.net/httpdocs/test/public/contao-manager.phar.php composer require contao-themes-net/odd-theme-bundle --no-update --no-scripts --prefer-stable --sort-packages --no-ansi --no-interaction
    
    Using version ^3.7 for contao-themes-net/odd-theme-bundle
    /var/www/vhosts/k4255.web175.dogado.net/httpdocs/test/composer.json has been updated
    
    # Process terminated with exit code 0
    # Result: OK
    
    
    > Resolving dependencies using Composer Cloud v3.8.2
    
    [7.3MiB/0.28s] Loading composer repositories with package information
    [83.8MiB/13.77s] Updating dependencies
    [28.8MiB/15.38s] Lock file operations: 8 installs, 0 updates, 0 removals
    [28.8MiB/15.39s]   - Locking contao-dd/advanced-classes-bundle (1.6.2)
    [28.8MiB/15.39s]   - Locking contao-themes-net/odd-theme-bundle (3.7.2)
    [28.8MiB/15.39s]   - Locking contao-themes-net/theme-components-bundle (1.7.1)
    [28.8MiB/15.39s]   - Locking madeyourday/contao-rocksolid-frontend-helper (v2.2.9)
    [28.8MiB/15.39s]   - Locking pdir/contao-sticky-footer (1.1.3)
    [28.8MiB/15.40s]   - Locking pdir/contao-theme-helper-bundle (1.5.5)
    [28.8MiB/15.40s]   - Locking pdir/contao-webtools (1.6.2)
    [28.8MiB/15.40s]   - Locking terminal42/contao-folderpage (3.3.0)
    [28.1MiB/15.42s] Writing lock file
    [16.0MiB/15.46s] 3 package suggestions were added by new dependencies, use `composer suggest` to see details.
    [16.7MiB/15.47s] <warning>Package debril/feed-io is abandoned, you should avoid using it. Use php-feed-io/feed-io instead.</warning>
    [16.7MiB/15.47s] <warning>Package php-http/message-factory is abandoned, you should avoid using it. Use psr/http-factory instead.</warning>
    [17.0MiB/15.79s] No security vulnerability advisories found.
    [17.5MiB/15.79s] Memory usage: 17.52MB (peak: 191.58MB), time: 15.8s.
    [17.5MiB/15.80s] Finished Composer Cloud resolving.
    
    
    # Job ID Mq9Ktk6icBQ9qBp1sL6Ii9l0gS4B1iAI93Jg14sAIzspBA8CKkBzASuYjcLmrLiShzF1dQS5ORgmEOHlCCugX7zAWREC1iZOZZbUX completed in 17 seconds
    # Memory usage: 17.52MB (peak: 191.58MB), time: 15.8s.
    
    $ /opt/plesk/php/8.3/bin/php -q -dmax_execution_time=0 -dmemory_limit=-1 -ddisplay_errors=0 -ddisplay_startup_errors=0 -derror_reporting=0 -dallow_url_fopen=1 -ddisable_functions= -ddate.timezone=Europe/Berlin /var/www/vhosts/k4255.web175.dogado.net/httpdocs/test/public/contao-manager.phar.php composer install --no-dev --no-progress --no-ansi --no-interaction --optimize-autoloader
    
    Installing dependencies from lock file
    Verifying lock file contents can be installed on current platform.
    Package operations: 8 installs, 0 updates, 0 removals
      - Downloading terminal42/contao-folderpage (3.3.0)
      - Downloading pdir/contao-sticky-footer (1.1.3)
      - Downloading pdir/contao-webtools (1.6.2)
      - Downloading pdir/contao-theme-helper-bundle (1.5.5)
      - Downloading madeyourday/contao-rocksolid-frontend-helper (v2.2.9)
      - Downloading contao-dd/advanced-classes-bundle (1.6.2)
      - Downloading contao-themes-net/theme-components-bundle (1.7.1)
      - Downloading contao-themes-net/odd-theme-bundle (3.7.2)
      - Installing terminal42/contao-folderpage (3.3.0): Extracting archive
      - Installing pdir/contao-sticky-footer (1.1.3): Extracting archive
      - Installing pdir/contao-webtools (1.6.2): Extracting archive
      - Installing pdir/contao-theme-helper-bundle (1.5.5): Extracting archive
      - Installing madeyourday/contao-rocksolid-frontend-helper (v2.2.9): Extracting archive
      - Installing contao-dd/advanced-classes-bundle (1.6.2): Extracting archive
      - Installing contao-themes-net/theme-components-bundle (1.7.1): Extracting archive
      - Installing contao-themes-net/odd-theme-bundle (3.7.2): Extracting archive
    Package debril/feed-io is abandoned, you should avoid using it. Use php-feed-io/feed-io instead.
    Package php-http/message-factory is abandoned, you should avoid using it. Use psr/http-factory instead.
    Generating optimized autoload files
    124 packages you are using are looking for funding.
    Use the `composer fund` command to find out more!
    contao/manager-plugin: Dumping generated plugins file...
    contao/manager-plugin: ...done dumping generated plugins file
    > @php vendor/bin/contao-setup
    Added the bin/console file.
    Added the public/index.php file.
    Added the public/preview.php file.
    
     Trying to install assets as relative symbolic links.
    
     --- ------------------------------- ------------------ 
          Bundle                          Method / Error    
     --- ------------------------------- ------------------ 
      ?   ContaoCoreBundle                relative symlink  
      ?   ContaoCookiebar                 relative symlink  
      ?   ContaoFaqBundle                 relative symlink  
      ?   BugBusterVisitorsBundle         relative symlink  
      ?   ThemeHelperBundle               relative symlink  
      ?   PdirContaoStickyFooterBundle    relative symlink  
      ?   ContaoNewsBundle                relative symlink  
      ?   RockSolidFrontendHelperBundle   relative symlink  
      ?   PdirContaoWebtoolsBundle        relative symlink  
      ?   ContaoCalendarBundle            relative symlink  
      ?   ContaoNewsletterBundle          relative symlink  
      ?   SoftleisterBackupDbBundle       relative symlink  
      ?   ContaoDDAdvancedClassesBundle   relative symlink  
      ?   ContaoCommentsBundle            relative symlink  
      ?   ThemeComponentsBundle           relative symlink  
      ?   ContaoThemesNetOddThemeBundle   relative symlink  
     --- ------------------------------- ------------------ 
    
     [OK] All assets were successfully installed.                                   
    
    
     --- ------------------------------------------- -------------------------------------------------- 
          Symlink                                     Target / Error                                    
     --- ------------------------------------------- -------------------------------------------------- 
      ?   public/files/sc-h                           files/sc-h                                        
      ?   public/files/layout                         files/layout                                      
      ?   public/files/odd                            files/odd                                         
      ?   public/files/tiny_templates                 files/tiny_templates                              
      ?   system/themes/flexible                      vendor/contao/core-bundle/contao/themes/flexible  
      ?   public/assets                               assets                                            
      ?   public/system/themes                        system/themes                                     
      ?   system/logs                                 var/logs                                          
      ?   public/vendor/scrivo/highlight_php/styles   vendor/scrivo/highlight.php/styles                
     --- ------------------------------------------- -------------------------------------------------- 
    
    
     // Clearing the cache for the prod environment with debug false                
    
     [OK] Cache for the "prod" environment (debug=false) was successfully cleared.  
    
    
     // Clearing the cache for the dev environment with debug true                  
    
     [OK] Cache for the "dev" environment (debug=true) was successfully cleared.    
    
    
     // Warming up the cache for the prod environment with debug false              
    
     [OK] Cache for the "prod" environment (debug=false) was successfully warmed.   
    
    
     [INFO] Done! Please run the contao:migrate command to make sure the database is
            up-to-date.                                                             
    
    
    # Process terminated with exit code 0
    # Result: OK
    Consolenausgabe DB Migration
    Code:
    ALTER TABLE tl_article ADD pdir_th_tag VARCHAR(64) DEFAULT '' NOT NULL, ADD pdir_th_domain VARCHAR(64) DEFAULT '' NOT NULL
    ALTER TABLE tl_content ADD advancedCss VARCHAR(255) DEFAULT '' NOT NULL, ADD subline TEXT DEFAULT NULL, ADD headline_inline CHAR(1) DEFAULT '' NOT NULL, ADD subheadline CHAR(1) DEFAULT '' NOT NULL, ADD ct_contentBox_page TEXT DEFAULT NULL, ADD ct_contentBox_pageText TEXT DEFAULT NULL, ADD ct_contentBox_pageTitle TEXT DEFAULT NULL, ADD ct_contentBox_customTpl VARCHAR(64) DEFAULT '' NOT NULL, ADD ct_featureIcon VARCHAR(64) DEFAULT '' NOT NULL, ADD ct_iconLink TEXT DEFAULT NULL, ADD ct_featureElement_customTpl VARCHAR(64) DEFAULT '' NOT NULL, ADD ct_price VARCHAR(20) DEFAULT '' NOT NULL, ADD ct_priceLabel VARCHAR(50) DEFAULT '' NOT NULL, ADD ct_priceBox_link1 TEXT DEFAULT NULL, ADD ct_priceBox_linkText1 TEXT DEFAULT NULL, ADD ct_priceBox_link2 TEXT DEFAULT NULL, ADD ct_priceBox_linkText2 TEXT DEFAULT NULL, ADD ct_popularPriceBox VARCHAR(50) DEFAULT '' NOT NULL, ADD ct_priceBox_customTpl VARCHAR(64) DEFAULT '' NOT NULL, ADD ct_teaserBox_page TEXT DEFAULT NULL, ADD ct_teaserBox_pageText TEXT DEFAULT NULL, ADD ct_teaserBox_pageTitle TEXT DEFAULT NULL, ADD ct_teaserBox_customTpl VARCHAR(64) DEFAULT '' NOT NULL, ADD ct_wrapper_name TEXT DEFAULT NULL, ADD ct_sliderElement_page VARCHAR(255) DEFAULT '' NOT NULL, ADD ct_sliderElement_linkText VARCHAR(255) DEFAULT '' NOT NULL, ADD ct_sliderElement_target CHAR(1) DEFAULT '' NOT NULL, ADD ct_sliderElement_subHeadline VARCHAR(255) DEFAULT '' NOT NULL, ADD ct_sliderElement_playerSRC BLOB DEFAULT NULL, ADD odd_page TEXT DEFAULT NULL, ADD odd_linkText TEXT DEFAULT NULL, ADD odd_linkTitle TEXT DEFAULT NULL, ADD odd_subHeadline TEXT DEFAULT NULL, CHANGE target target CHAR(1) DEFAULT '' NOT NULL
    ALTER TABLE tl_form ADD ac_defaultColumnWidth TINYINT(1) DEFAULT 0 NOT NULL, ADD ac_disableCSS TINYINT(1) DEFAULT 0 NOT NULL, ADD ac_set VARCHAR(255) DEFAULT '' NOT NULL
    ALTER TABLE tl_form_field ADD advancedCss VARCHAR(255) DEFAULT '' NOT NULL
    ALTER TABLE tl_module ADD modal_linkText VARCHAR(255) DEFAULT '' NOT NULL, ADD modal_linkClass VARCHAR(255) DEFAULT '' NOT NULL, ADD modal_text TEXT DEFAULT NULL, ADD modal_customTpl VARCHAR(64) DEFAULT '' NOT NULL, ADD modal_class VARCHAR(255) DEFAULT '' NOT NULL
    ALTER TABLE tl_page ADD ac_defaultColumnWidth TINYINT(1) DEFAULT 0 NOT NULL, ADD ac_disableCSS TINYINT(1) DEFAULT 0 NOT NULL, ADD enable_high_contrast TINYINT(1) DEFAULT 1 NOT NULL, ADD enable_font_size TINYINT(1) DEFAULT 1 NOT NULL, ADD enable_font_size_switcher TINYINT(1) DEFAULT 1 NOT NULL, ADD ac_set VARCHAR(255) DEFAULT '' NOT NULL, ADD font_size_comment_page INT UNSIGNED DEFAULT 0 NOT NULL
    ALTER TABLE tl_theme ADD pdir_th_description MEDIUMTEXT DEFAULT NULL, ADD pdir_th_license_domain VARCHAR(128) DEFAULT '' NOT NULL, ADD pdir_th_short_code VARCHAR(32) DEFAULT '' NOT NULL
    ALTER TABLE tl_user ADD rocksolidFrontendHelperOperations BLOB DEFAULT NULL, ADD rocksolidFrontendHelperContentElements BLOB DEFAULT NULL, ADD rocksolidFrontendHelper CHAR(1) DEFAULT '1' NOT NULL, ADD rocksolidFrontendHelperLightbox CHAR(1) DEFAULT '1' NOT NULL
    ALTER TABLE tl_user_group ADD rocksolidFrontendHelperOperations BLOB DEFAULT NULL, ADD rocksolidFrontendHelperContentElements BLOB DEFAULT NULL
    Geändert von hpt (Heute um 08:16 Uhr)

  2. #2
    Contao-Urgestein
    Registriert seit
    24.02.2021.
    Beiträge
    1.543
    Partner-ID
    11715
    Contao-Projekt unterstützen

    Support Contao

    Standard

    Der Thread ist ähnlich dem hier:
    https://community.contao.org/de/show...ight=odd+theme

    Würde ein Neuaufbau mit "Relaunch" in einer anderen Installation nicht schneller gehen?

  3. #3
    Contao-Nutzer
    Registriert seit
    10.08.2009.
    Beiträge
    85

    Standard

    Und es geht doch, durch einlesen des Themes per CTO-Datei.
    Die pdir GmbH stellt diese Dateien hier zur Verfügung: https://pdir.de/produkthilfe.html

    Nachdem die CTO-Datei importiert ist, müssen die Layouts des entsprechenden Seiten manuell zugewiesen werden und ggf. weitere Inhalte unter Seiten, Artikel usw. angelegt / angepasst werden.

    Da der betreffende Auftritt sehr viele Seiten beinhaltet, sehe ich hier die Chance die Seiteninhalte von Contao 3.5.x mit vertretbaren Aufwand in ein modernes Layout zu übernehmen.

Aktive Benutzer

Aktive Benutzer

Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1)

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein
  •