Updating very old templates

More
3 years 2 weeks ago - 3 years 2 weeks ago #83325 by Pitou
Hello

I use for a long time flexicontent, and even after updating from J1.xxx to J.3.10, with the flexicontent process, I have deprecated lignes and notices.
So I think something went wrong with installation process.

Now I would like to update all my templates. What is the best way to proceed ?
I've seen  www.flexicontent.org/documentation/tutor...late-to-joomla4.html , but I think this is not enough for me, as I have old templates and files from 2009 sometimes. 
I wanted to signal a false information, as in my item.php from 2023 grid template, it's not 
Code:
JFactory::getDocument()->addScript(JUri::base(true) (and so on)
Code:
JFactory::getDocument()->addScript(JUri::root(true) (and so on)

So, so update all my news templates and keep configuration, what is the best way to do ? Is it even possible or do I have to delete and recreate everything ?

Thanks.

 
Last edit: 3 years 2 weeks ago by Pitou.

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

More
3 years 2 weeks ago #83327 by Pitou
Replied by Pitou on topic Updating very old templates
In fact, the proper way would be to create a new template. I can duplicate category configurations, but is there a way to affect only the new template to multiple cat ?
 

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

More
3 years 2 weeks ago #83330 by micker
Replied by micker on topic Updating very old templates
Sorry i dont understand Can you explain more please ?

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
3 years 2 weeks ago #83331 by Pitou
Replied by Pitou on topic Updating very old templates
Since I have been using Flexicontent, the templates have changed a lot. I have made the necessary updates from your tutorials, and it has always worked. But the updates seem to be only for compatibility with the new joomla, without adding the new features. I compared one of my old grid based templates with the 2023 grid.
In my old template: in the display settings, I have only one page, no item-tab for example.
So to change, I thought it was possible to use a kind of basic parameters memorization, and a simple way to modify the template, but finally, I will recreate everything and start from scratch.
Hence my question: is there a simple way to redefine the template en masse, and not go back to each article or category?
Thanks

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

More
3 years 2 weeks ago #83332 by micker
Replied by micker on topic Updating very old templates
Hello flexicontent doesnt Lost any feature we just simplify code for maintien it item tabbed already existe
About template assignation if you assign template to type and use défaut in item all bé ok
If you override value in each item no easy way sorry

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
3 years 2 weeks ago #83335 by Pitou
Replied by Pitou on topic Updating very old templates
that's not what I can see.
For example : I don't have seo on old templates. That's something new.
If I just do what you recommand for beeing compatible to joomla 4, I won't get this new feature on my old templates.
But do understand me : that's logical and that is not a problem for me. I know that old template won't be upated, and that because they are custom templates. So I have to make choices, that's ok.

But one new feature could be a method to copy old template parameters to new one. And an other feature could be a method to mass affect one template, just as the same method to copy templates configuration.

Thx

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

More
3 years 2 weeks ago #83337 by micker
Replied by micker on topic Updating very old templates
sorry pitou i don't understand one you speak about item tab now SEO ...
but that normal we can't support custom dev templating as well we want already need to adapt
flexicontent 4 add feature but don't remove anything for sure ...

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
3 years 2 weeks ago #83339 by Pitou
Replied by Pitou on topic Updating very old templates
Salut Micker, c'est un forum anglais, mais je vais l'écrire en français, uniquement sur ce post. 
Mes anciens templates sont copiés d'une source qui est l'une des toutes premières version de flexicontent, en 2009 au moins, si ce n'est avant. Dans ces templates, il y a beaucoup de fonctions qui n'étaient pas présentes. A chaque montée de version de Joomla, j'ai maintenu la compatibilité, mais je n'ai pas pu mettre à jour le template à chaque fois pour ajouter les nouvelles fonctionnalités. 
Maintenant, mes templates n'ont pas d'onglets sur les paramétrages. Les deux lignes seo/category/layouts/ meta.php et seo/category/layouts/ title.php qui sont apparues dans les fichiers des nouveaux templates ne sont pas présentes non plus dans mes vieux templates. Dans mes vieux templates, on ne parle même pas de html5... c'est pour dire. 

Que vous n'ajoutiez pas les nouvelles fonctionnalités aux templates customisé, c'est logique. Mais je cherche une façon de mettre à jour mes templates sans avoir à tout refaire à la main. C'est pas tant la question de reconfigurer un template, mais plus de le réaffecter à une ensemble d'articles ou de catégories. Quand on dépasse les 300 articles, c'est un peu lourd à envisager. 

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

More
3 years 2 weeks ago #83340 by micker
Replied by micker on topic Updating very old templates
Oui je comprend mais on ne peut maintenir un code que l'on a pas fait lol... Pour ce qui est de l'affection si les réglages sont bons cad respecte la liaison parent (le type) enfant (item qui hérite de son parent) il n'y a rien a faire
Par contre si tu as surchargé cela nous n'y pouvons rien... Ajouter une renassignation des template via un system de copy est demande du travail pour assez peu d'utilisation côté user et comme on nous reproche souvent de mettre trop d'option lol...
Sinon regarde côté de la base de données comme est affecter ton template et fait une requête sql
Courage

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.

Moderators: vistamediajoomlacornerggppdk
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
Save