Jump to content



Member Since 15 Nov 2017
Offline Last Active Jul 03 2018 04:07 AM

Posts I've Made

In Topic: Add to cart button missing

03 July 2018 - 04:07 AM

Allowed memory size of 268435456 bytes exhausted (tried to allocate 134217736 bytes)

Error at
app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php, line: 62



This is  the error message

In Topic: Add to cart button missing

03 July 2018 - 04:03 AM

I enabled catalog mode for my store to test it, now when am trying to revert it, am getting memory exhausted error. Tried cleaning cache and manually cleared all the cache files in var folder. Even tried setting memory limit to -1 without any luck. Please help.

In Topic: File Upload Types

25 June 2018 - 11:01 AM

Any idea how to replicate the backend file uploader in frontend? I want to allow the users to select the file from server, upload locally or share a link. Please help.

In Topic: wysiwyg editor

09 June 2018 - 11:47 AM

Well, there has to be a siimple answer. One of my clients wanted the wysiwyg editor on a textarea in their admin. It was eays to add cm-wsiwyg to the class and viola, the editor appeared.

However, when i put two lines like
Test line 1

Test line 2

The HTML shows as two paragraphs (what is expected) but when the data is POSTED it comes into the controller as 2 newline separated lines versus the two html paragraphs.

So what's the trick to getting it to POST html code so that the editor is useful? I must be missing something.

The textara tag looks like:

<textarea id="big_commentr" name="big_comment" cols="55" rows="8" class="cm-wysiwyg input-textarea-long">
But when $_REQUEST['big_comment'] is received in the controller the string is "Test line 1\nTest line 2" where it should be "<p>Test line 1</p><p>Test line 2</p>".


Use fn_trusted_vars.

In Topic: More Information on the .ceDialog Function

09 June 2018 - 08:38 AM

I know this is too late, But ceDialog is basically jQuery UI dialog with a different name.