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

Feature/2493 change logo support #3572

Merged
merged 3 commits into from
May 12, 2023
Merged

Conversation

jaapmarcus
Copy link
Member

Upload files to /usr/local/hestia/web/images/custom

Clear cache might be required:

Screenshot 2023-05-11 at 23 35 35

web/templates/pages/edit_whitelabel.php Outdated Show resolved Hide resolved
Co-authored-by: Alec Rust <me@alecrust.com>
@jaapmarcus jaapmarcus merged commit 705a4ae into main May 12, 2023
5 of 6 checks passed
@jaapmarcus jaapmarcus deleted the feature/2493-change-logo-support branch May 12, 2023 08:26
@dfag86
Copy link

dfag86 commented Jul 24, 2023

whitelabel works fine? I made the directory /custom/ because it did not exist, I added the appropriate file sizes, named them as in the manual, cleared the cache, refreshed, but I still see old data. Nothing is updating :(

@jaapmarcus
Copy link
Member Author

Run

v-update-white-label-logo

It should work fine

@dfag86
Copy link

dfag86 commented Jul 24, 2023

done but no change :(

@jaapmarcus
Copy link
Member Author

And cleared caches Hestia is know for way to long cache on things. You can also try

/usr/local/hestia/web/images/logo.svg?randomstringhere

And it should clear the cache

We just copy over:

if [ -f "$HESTIA/web/images/custom/logo.svg" ]; then
cp -f $HESTIA/web/images/custom/logo.svg $HESTIA/web/images/logo.svg
elif [ ! -f "$HESTIA/web/images/custom/logo.svg" ] && [ "$download" = "yes" ]; then
download_file https://raw.githubusercontent.com/hestiacp/hestiacp/release/web/images/logo.svg $HESTIA/web/images/logo.svg
fi

The files to the 1 folder higher

@dfag86
Copy link

dfag86 commented Jul 24, 2023

Everything works fine, thanks.
I had the png files copied, and the SVG not, hence the error. Sorry, thread closed :)

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

Successfully merging this pull request may close these issues.

None yet

3 participants