cyber83 Designer از کشور Romania عضو از ژوئن 2024 cyber83 8 فوریهٔ 2025 13:58 If I make a vMod in Admin for example: Operation #1 Method: All Match Type Multiline .. and give a complete new code for the whole page that is added in the 'File Pattern' at the 'File To Modify' section in the FRONT, on the website the breadcumbs turns into "Dashboard > Edit vMod" is this a bug or am I missing something? see attached images
jackmaessen LiteCart Fan از کشور Netherlands عضو از دسامبر 2022 jackmaessen 8 فوریهٔ 2025 16:08 can you show the whole code you insert?
cyber83 Designer از کشور Romania عضو از ژوئن 2024 cyber83 8 فوریهٔ 2025 16:22 ok I digged and what Ive found Iff I add these codes to the INSERT textarea: {snippet:breadcrumbs} {snippet:notices} ...after I save the Vmod in admin it automatically turns the above lines into this: <ul class="breadcrumb"> <li><a href="/admin/">Dashboard</a></li><li>Edit vMod</li></ul>
cyber83 Designer از کشور Romania عضو از ژوئن 2024 cyber83 8 فوریهٔ 2025 17:05 the only solution I found is this and it seems it works: <?php $snippet_notices = base64_decode('e3NuaXBwZXQ6bm90aWNlc30='); $snippet_breadcrumbs = base64_decode('e3NuaXBwZXQ6YnJlYWRjcnVtYnN9'); ?> <?php echo $snippet_breadcrumbs; ?> <?php echo $snippet_notices; ?>
tim Founder از کشور Sweden عضو از مهٔ 2013 tim 9 فوریهٔ 2025 11:52 There is a problem using the backend editor to tamper with snippet placeholders as they are being resolved. I'm thinking if something like <?php echo implode('', ['{', 'snippet:breadcrumbs', '}']); ?> or <?php echo '{'.'snippet:breadcrumbs'.'}'; ?> would work too?
cyber83 Designer از کشور Romania عضو از ژوئن 2024 cyber83 9 فوریهٔ 2025 11:56 Yes, just tested it and I can confirm <?php echo implode('', ['{', 'snippet:breadcrumbs', '}']); ?> also works. Thank you