I recently had a theme component that had its Git repository URL change.
Is there any way to simply update the target URL for this theme component without having to remove it and re-configure all of its settings?
I recently had a theme component that had its Git repository URL change.
Is there any way to simply update the target URL for this theme component without having to remove it and re-configure all of its settings?
There’s a remote_themes table.
You can do something like
theme_id=5 # replace with whatever theme is at the of theme URL
theme=Theme.find(theme_id)
rtheme=RemoteTheme.find(theme.remote_theme_id)
rtheme.remote_url='new url'
rtheme.save
Or, it could ruin your life completely.
و اليوم يمكنك الحصول على جميع إعدادات السمة بصيغة json، مما يسهل نسخ الإعدادات إلى السمة باستخدام الرابط الجديد.
تم إغلاق هذا الموضوع تلقائيًا بعد 8 أيام. لم يعد يُسمح بالردود الجديدة.