Migration j4

More
2 years 9 months ago #81392 by philippeg
php et js don"t knwo at all ; css yes i change some of them ::do you mean the change i have done ar not longer valid ? i fact the title is wrong a bad copy i did do at all about php/css of custom j3 template ; just a new tentative of site migration

Please Log in or Create an account to join the conversation.

More
2 years 9 months ago #81393 by philippeg
Yes the change is working !!!

Please Log in or Create an account to join the conversation.

More
2 years 9 months ago #81394 by philippeg
0 - Call to undefined method Joomla\CMS\Document\HtmlDocument::addScriptVersion()Il est possible que vous ne puissiez visiter cette page en raison de :
  1. un lien/favori obsolète
  2. un moteur de recherche possède un listing périmé pour ce site
  3. une adresse erronée
  4. vous n'avez pas accès à cette page
  5. La ressource demandée est introuvable
  6. Une erreur est survenue pendant l'exécution de la requête.
Veuillez essayer l'une des pages suivantes : Si les difficultés persistent, merci de contacter l'administrateur de ce site et de signaler les erreurs ci-dessous.Call to undefined method Joomla\CMS\Document\HtmlDocument::addScriptVersion()
/home/philippe/joomlaprod/videos-livres-trieves/components/com_flexicontent/templates/core-oeuvres2/item.php:34Call stack#FunctionLocation1()JROOT/components/com_flexicontent/templates/core-oeuvres2/item.php:342include()JROOT/libraries/src/MVC/View/HtmlView.php:4293Joomla\CMS\MVC\View\HtmlView->loadTemplate()JROOT/libraries/src/MVC/View/HtmlView.php:2184Joomla\CMS\MVC\View\HtmlView->display()JROOT/administrator/components/com_flexicontent/views/item/view.html.php:23985FlexicontentViewItem->_displayItem()JROOT/administrator/components/com_flexicontent/views/item/view.html.php:576FlexicontentViewItem->display()JROOT/libraries/src/MVC/Controller/BaseController.php:6927Joomla\CMS\MVC\Controller\BaseController->display()JROOT/components/com_flexicontent/controller.php:2628FlexicontentController->display()JROOT/libraries/src/MVC/Controller/BaseController.php:7309Joomla\CMS\MVC\Controller\BaseController->execute()JROOT/components/com_flexicontent/flexicontent.php:28910require_once()JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:6911Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher\{closure}()JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:7112Joomla\CMS\Dispatcher\LegacyComponentDispatcher->dispatch()JROOT/libraries/src/Component/ComponentHelper.php:38913Joomla\CMS\Component\ComponentHelper::renderComponent()JROOT/libraries/src/Application/SiteApplication.php:20614Joomla\CMS\Application\SiteApplication->dispatch()JROOT/libraries/src/Application/SiteApplication.php:24515Joomla\CMS\Application\SiteApplication->doExecute()JROOT/libraries/src/Application/CMSApplication.php:27816Joomla\CMS\Application\CMSApplication->execute()JROOT/includes/app.php:6317require_once()JROOT/index.php:32

Please Log in or Create an account to join the conversation.

More
2 years 9 months ago #81395 by philippeg
Replied by philippeg on topic Migration j4
there is an error on the title i did not change the php or js files only some css have change : hte second part of the title "about PHP/CSS of custom j3 templates" is wrong bad copy i think ...

Please Log in or Create an account to join the conversation.

More
2 years 9 months ago #81396 by micker
Replied by micker on topic Migration j4
tu as un soucis sur ton theme dupliquer le code n'est pas compatbile avec j4
template core-oeuvres2/item.php:34
il faut mettre ton appel a jour comme ceci :
Code:
JFactory::getDocument()->addScript(JUri::root(true).'/components/com_flexicontent/assets/js/tabber-minimized.js', array('version' => FLEXI_VHASH)); JFactory::getDocument()->addStyleSheet(JUri::root(true).'/components/com_flexicontent/assets/css/tabber.css', array('version' => FLEXI_VHASH)); JFactory::getDocument()->addScriptDeclaration(' document.write(\'<style type="text/css">.fctabber{display:none;}<\/style>\'); '); // temporarily hide the tabbers until javascript runs
a adapter en fonction de ton code
=> flexi a mis à jour les templates de bases mais ne peu intervenir sur les templates dupliqués ou customiser

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

Please Log in or Create an account to join the conversation.

More
2 years 9 months ago - 2 years 9 months ago #81397 by philippeg
Replied by philippeg on topic Migration j4
theme généré avec template creator pour J4 il faut juste regénérer le theme c'est ce que j'ai fait ....
On parle bien du them global du site ? LEs themes FC je ne touche pas .. 
ce que je ne comprends pas c'est que j'ai ce soucis avec certains templates FC et pas d'autres ...
Last edit: 2 years 9 months ago by philippeg.

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.644 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline