Here users from all over the world gather around to learn the latest about Chevereto and contribute with ideas to improve the software.
Please keep in mind:
Support response
Support checklist
No. That's a custom editing request and unfortunately, I don't have spare time to write a guide for that.could u guide me into how to do it please
i mean the whole process
- If you want to get rid of all the embed codes then choose that setting at dashboard > settings > theme.
- If you want to remove some of those codes, you will have to hack the target route and the embed_codes snippet.
- If you can to conditionally display stuff based on user status, you will have to use the CHV\Login methods.
Find the file app/routes/route.image.php
From line 252 you'll see the embed codes. You can literally remove the chuck of code relating to the embed code that you don't want.
Once done, save the file and put it into the app/routes/overrides folder leaving the original file intact.
That will work but ideally you should make a copy of Peafowl and edit that instead.
It doesn't actually restrict the users though as they could still easily work out what the full image embed code should be.
BTW make sure you a decent text editor like Notepad ++
This one.liss