templaza / astroid-framework

Powerful framework for designers and developers to create responsive, fast & robust Joomla based websites and templates.
https://astroidframe.work/
GNU General Public License v3.0
77 stars 12 forks source link

Is it possible to Export stuff from Template One to Template Two? #561

Open Giorgi625 opened 4 months ago

Giorgi625 commented 4 months ago

I already work with Template one on my websites, but I want to move them to Template Two. Before I remember there was Import/Export Settings option but I can not find it now. I used this feature to move from template Zero to One. So was this feature removed? Is there option to move in one action or should I do it manually?

mac-joomla commented 4 months ago

It is now called "Preset Profiles" at similar location in preferences of Astroid template where "import" and "Export" used to be, where you now can save and import "Presets"

Giorgi625 commented 4 months ago

I tried this but it does not save. I click on save preset, then add name and description and click on button, it does not do anything. how long should I wait for this?

mac-joomla commented 4 months ago

Does it show in your list of presets? Then you can do an export from this tile. Does this work?

Giorgi625 commented 4 months ago

It is already 5 minutes after I clicked on Save settings image

mac-joomla commented 4 months ago

ok seems a problem there. Are you on recent versions of templates an framework? Did you try to use another browser or even just restarting the browser and/or computer? In my case it works with Safari 17.3 on MacOS 13.6.4

Giorgi625 commented 4 months ago

Everything up to date. Joomla 5.0.2 I use mainly Opera. Browser restart did not help. I opened website using Chrome but same thing.

I will try restarting PC. hope it will help.

mac-joomla commented 4 months ago

Good luck, unfortunately for the moment I don't know what to do here…

Giorgi625 commented 4 months ago

even template save button on top has infinite animation when I click on it, so I guess something is broken on this website. I will just do it manually if it will not work.

mac-joomla commented 4 months ago

did you clear cache?

Giorgi625 commented 4 months ago

yes I cleared cache

Giorgi625 commented 4 months ago

nothing helped on that website, I even uninstalled Astroid fully and installed again but same problem, while on other website it works just fine. I will check how it works on older backups. I do not really want to rebuild whole website again.

sonvnn commented 4 months ago

@Giorgi625 may you send me your admin via sonlv@tenplaza.com? I will help you check it.

Giorgi625 commented 4 months ago

Sent

sonvnn commented 4 months ago

Sorry I make a mistake on my Mobile. My email is sonlv@templaza.com. May you send me your admin again?

Giorgi625 commented 4 months ago

can you confirm if you received my email?

sonvnn commented 4 months ago

I received your email. I will check it on Monday. I will response you asap

Giorgi625 commented 4 months ago

Ok, thank you

sonvnn commented 4 months ago

@Giorgi625 I fixed the issue on your site. Please help me check it. Thanks

Giorgi625 commented 4 months ago

Thank you I will check and share results.

Giorgi625 commented 4 months ago

I still have problem. So what I did: I installed backup from January 30th on localhost and saved preset into json file from there. This is preset for Template One which I had installed on my site. I imported this file to website which you fixed. So import feature works fine. Save template also works until I select my preset and after I try to save this arrows on template save button arrows on it just go round and round and do not save template with my preset.

deltapapa01 commented 2 months ago

Hey, I still have the problem that I can't transfer my settings from Template Zero to Template Two. I get the following error message:

Preset did not uploaded yet1second ago INVALID FILETYPE

Is it even possible to switch from Zero to Two at the moment? WBR, deltapapa

deltapapa01 commented 2 months ago

Hey, @sonvnn did you have an idea, you have the time to update template zero and one to use the new blog feature? I would also switch to template two, but unfortunately the import does not work from template zero. Thank you very much and wbr, deltapapa

sonvnn commented 2 months ago

Can you send me your admin? I will try to export/import settings to Two.

deltapapa01 commented 2 months ago

Hey Sonny, i send you account data from my testsite. When it's working, i want to change all my other sites too.

Thank you and with best regards, deltapapa

sonvnn commented 4 weeks ago

@deltapapa01 I am sorry for late reply. I tried to export data from One and import to Two. Astroid works like a charm. Can you send me your admin via sonlv@templaza.com again? I need to check it on your site.

Best Regards, Sonny

deltapapa01 commented 3 weeks ago

Hi Sonny, Thank you for your feedback. I think I found the problem myself after you wrote that it works for you. I had a hunch about the admin tools, and that's where the problem lies. If I take the standard htaccess of Joomla, it works without problems, if I let the admin tools generate it, I can not upload this profile. I assume I have to add an exception in the htaccess that files can be uploaded to a specific folder, but which folder should I use? image

Maybe you have a solution to the problem?

WBR, deltapapa

Chacapamac commented 3 weeks ago

I’m Using AdminTools to &Interested in this post.

• @deltapapa01 , are your error was always “INVALID FILETYPE” when exporting/importing? • Did you check your server errors logs, maybe you will have more infos. Strange...

• AdminTools htacees creator block everything not needed by Joomla on creation of the .htacces file, but I never create any exception for Astroid?

• Maybe Astroid Export/Import are asking for a specific folder/file to be readable and accessible? • The FILETYPE error seem to point to something else...?

• Did you try to fix site files/folder permissions in Admintools before trying?

deltapapa01 commented 3 weeks ago

Hi, Okay, I've found the solution to my problem. When I use Akeeba Admin Tools, it blocks the correct creation of the present file under: _media/templates/site/astroid_templatetwo/astroid/presets To solve the problem, a rule must be added to the htaccess file that allows access to this folder:

image

Once this is done, the present file will be created correctly, stored under the path. If I now download the file to my PC and then upload it again, everything works without a problem. I had noticed that my present files were only 9KB in size, and the correctly created present files were well over 107kb. I then realized that the files had no content at all, only warnings!

One more small thing: When troubleshooting, I noticed that no debug information is displayed in Astroid Framework. We had this a long time ago, is there a trick? Even if I switch the debug information to Yes in the framework plugin, nothing happens in the template. The same applies to the debug information from Joomla, which is not displayed at all in the Template Manager.

WBR, deltapapa

Chacapamac commented 3 weeks ago

Great Stuff @deltapapa01 This should be added to the documentation as Akeeba Admintools is THE firewall used by all pro on Joomla.

I just add the exception on my websites. Thanks @sonvnn to share! 👍 🚀

@deltapapa01 you said:

I had noticed that my present files were only 9KB in size, and the correctly created present files were well over 107kb. I then realized that the files had no content at all, only warnings!

• Do you mean that the import/export files are correct or incorrect after the Akkeeba Admin Astroid exception is set?

deltapapa01 commented 3 weeks ago

Hi, the import / export Files work fine after set the exception in Akeeba.

Chacapamac commented 3 weeks ago

Thanks!