Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement a good way to import / export template settings between 2 sites. #218

Open
mahagr opened this issue May 10, 2015 · 21 comments
Open

Comments

@mahagr
Copy link
Member

mahagr commented May 10, 2015

No description provided.

@mahagr mahagr added the feature label May 10, 2015
@mahagr mahagr added this to the Release milestone May 10, 2015
@newkind
Copy link
Contributor

newkind commented May 10, 2015

I think that the import/export functionality should cover all Gantry 5 aspects - presets, styles, configurations etc.

@w00fz
Copy link
Member

w00fz commented May 10, 2015

This is the import / export we talked about and just postponed?

// Djamil Legato // From iPhone //

On May 10, 2015, at 08:47, Matias Griese notifications@github.com wrote:


Reply to this email directly or view it on GitHub.

@w00fz
Copy link
Member

w00fz commented May 10, 2015

We have a ticket in JIRA FYI GANTRYFIVE-21
Also to summarize the further discussions we have had in the past months regarding this argument, we talked about having a modal that proposed different types of import/export (like a list with [x] Styles [x] Settings [x] Layout Manager [x] Configurations etc etc) and that one could check/uncheck as desired, building then a customizable importer/exporter.

@mahagr mahagr changed the title Implement a good way to import / export template settigns between 2 sites. Implement a good way to import / export template settings between 2 sites. May 11, 2015
@mahagr
Copy link
Member Author

mahagr commented May 11, 2015

This issue is based on discussion in Gitter, which is why I wanted to create a public issue for it.

@red1967
Copy link

red1967 commented Jun 7, 2015

Please give us the ability to export/import template settings/outlines/particles as it would save time.

@alwinaugustin
Copy link

This functionality implemented yet ? I am not seeing it in the templates

@w00fz
Copy link
Member

w00fz commented Apr 17, 2016

Unfortunately that feature had to be postponed but we are still planning on implementing it in a future version. Our focus right now is inheritance for the layouts (section / particles) and integration with grav.

@red1967
Copy link

red1967 commented Apr 18, 2016

Is "integration with grav" really more important than "export/import settings" and dynamic particles feeding off joomla articles? I just don't see the logic but am open to an explanation.

@w00fz
Copy link
Member

w00fz commented Apr 18, 2016

We already have implemented integration of particles with the Joomla Articles, http://docs.gantry.org/gantry5/advanced/content-in-particles .

We want the integration with Grav taking precedence over Import / Export. The main reason of this is because you can already Import / Export, many people do that already, it's just more of a manual process than having an UI in admin to do that (which is what we are postponing).

All stored files in Gantry are in the custom/, from Layouts to Settings to Styles. You can copy those files and paste them in another theme or the same theme in another platform, at the same location, and just tweak its content to match the destination.

So yeah, after inheritance has been completed, we are going to focus again on Grav integration. Once that's done too we will move on onto other features.

@red1967
Copy link

red1967 commented Apr 18, 2016

What the...I was with you all the way upto "finder". Wudn't it be easier to just have a drop down list of the categories/articles you want to select to feed into the particle instead of all that code?

@mahagr
Copy link
Member Author

mahagr commented Apr 19, 2016

But there is a dropdown list for categories. :) There isn't list of articles, though, as we cannot possibly display thousands of articles in a dropdown list.

The implementation is also about simple as it gets; Joomla itself uses much more code to do less, but the code is so specific that we couldn't use it. WP implementation is similar, but using Timber/WP API.

Creating particles with Joomla content is a complex task requiring you to know the internals of Joomla and to have some knowledge on how SQL works. There is just no way around it. But its not really that bad, a few people have already created particles with it. Think that you are making a search and adding rule after rule, thus making the search more specific.

@red1967
Copy link

red1967 commented Apr 19, 2016

Hmmm. Lets assume I have 100 reviews in Joomla content. I want to display about 20 of them as a news slider at the top of the website. I know this can be done with Roksprocket but can it be done using a particle?

@mahagr
Copy link
Member Author

mahagr commented Apr 20, 2016

Yes, there's nothing preventing you from doing that -- except that the existing particle does not have JavaScript part to create the slider. Its pretty easy to take the existing particle, modify the output suitable for some slider JS and configure it to display 20 latest reviews from your reviews category.

Next RocketTheme theme will have some particles which can display Joomla content like this, but I don't know which ones will get the support first.

@red1967
Copy link

red1967 commented Apr 20, 2016

That sounds very positive. Thanx for the info. :)

@mahagr
Copy link
Member Author

mahagr commented Oct 5, 2016

There has been a lot of work towards this feature, but its still experimental and needs manual fixes by the user. Basically full export from Joomla is already working, but importing data is still a manual task as the logic for it is mostly missing.

Great news are that it looks like export/import between supported platforms seems to be feasible to implement.

@shoulders
Copy link

sounds good. this was the only thing stopping me using gantry.

@Mineslu
Copy link

Mineslu commented Nov 5, 2016

It's wonderfull!.

@rskonieczka
Copy link

+1

@N8Solutions
Copy link

Any updates on this?
@w00fz I know this is mentioned here:
https://github.com/gantry/gantry5/wiki/Gantry-5-Agenda,-Exploration-and-Time-Travel
but that Wiki page, if correct, says it hasn't been updated since Dec. 14th 2016.

I was also surprised to see the issue that @marktaylor46 opened, #680, was not on the list for Import/Export feature. In the Wiki page it says:

Import/Export: This is something we have planned to have in Gantry 5 since the very beginning. We would like to be able to easily export and import, in a modular way, anything specific to a template: Custom folder, Particles settings, Layouts, etc. (#218, #339, #1174)

I know you guys are busy so when you have an opportunity to reply I'd appreciate it. I look forward to an update regarding this.

@mahagr
@newkind

@JoomFX I'm tagging you as well because I know how much you'd like to see Particle Packaging implemented 😉

@JoomFX
Copy link
Contributor

JoomFX commented Jul 24, 2018

@N8Solutions Thanks Michael

Yep, one of my biggest dreams is to see the "Particle Packaging" (and the Official Particle Marketplace) implemented. I'm not sure if it will ever going to happen but still, it is my dream.

@thexmanxyz
Copy link
Contributor

thexmanxyz commented Aug 15, 2018

@mahagr @N8Solutions @JoomFX @w00fz Let me give the discussion a little spin because it matches. Referencing back to #680.

Some might know that I offer a few particles and atoms on my GH page and I already use some sort of packaging routine Package Builder Gantry, which I already used heavily. Don't blame me for Windows Shell scripting, feel free to submit a PR for linux bash

However this already offers a way to package particles for different scenarios:

  • global Joomla Plugin install
  • template specific Joomla Plugin install
  • normal packaging and auto generation

I'm pretty sure this can be extended for Grav and Wordpress. Just throwing that in and questioning if we need another Plugin system if we already have them included in each CMS. I'm fully aware that one single plugin / update system would be way easier to manage. Just an idea based on the current situation.

It is also to consider that there are already CMS specific particles and atoms - segemations. This thoughts only affect the actual install routine for atoms, particles but not an actual public store and how the export is done. This is just a thing to consider down the road even if it might be a stupid thought :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests