Mailchimp custom built template hide block - mailchimp

I built an custom template custom built html - with all possible variations - to can be used as a starting template for future emails - i would like to hide some blocks in one of emails - i tried to use the
mc:hideable
But not working - short can't hide the content what not need it - the hideable content has inline editable text and image too.
By curiosity i checked the code source in chrome developer toolbar
https://www.dropbox.com/s/ifndwy1xwxqhxxl/Screenshot%202019-01-02%2018.09.07.png?dl=0
the hide button is there- but for some reason is set tohidden - to not show up - not sure what need to do to can enable.
Thanks!

Finally got cleared for me - writing here if somebody ouccurs same problem to get on faster;
The custom built template - blocks can be hide only in campaign when you create a new one and do the edits there , not when you directly edit/work on template.

Related

No images showing up in email activity D365

We have a problem that in the email activity when multiple inline images are included, the images completely stop loading. Emails with a few images are displayed without problems, but if there are a lot of images, they do not appear in the attachment.
In addition to the missing images, I get a large number of error messages in the console for this email activity only. Here are some screenshots of the error messages.
Here is the network trace log for reference:
Our system specifications:
Dynamics 365 Online - Customer Service.
DB version: 9.2
Region: Europe
Solution for missing inline images:
We changed the default font and size which is only possible by adding a custom
"EmailRTEconfig.js". That is currently the only way to change settings of the email editor. The documentation says you only need to add the changes to the js file but that's incorrect. We had to add all settings and changed what we needed. By doing so the issue was resolved. Maybe the custom "rte config" file is not put on top but overwrites the default file completely.
Solution for missing attachments in the list:
The problem got solved by adding this flag to the end of the email activity url: "&flags=DisableFormHandlers=true". It disables the scripts (onyl for that load) which would trigger by loading the form. This flag does not disable the scripts, only for that one reload. By adding the flag you can check if the problem is triggered by any of your custom scripts. In my case the issue was coming from a custom script. All I had to do was deactivating the custom scripts, make a hard refresh and then activate them again. After that the problem was solved.
I notice that there is a new and editable EmailRTEconfig.js:
EmailRTEconfig_editable.js
Display name: msdyn_EmailRTEconfig_referenceonly.js
However, if I add this to the as a RTE Control in the Email Description column, the inline images are not shown either in received emails or (Outlook) sent emails.

Create a Link To An External Page On Order Confirmation Page in Prestashop

I'm very naive. I am not able to create an external hyperlink on the order confirmation page. (lets say http://google.com)
I've modified the bank transfer module to create a manual payment method, but I am not able to add a simple link on the confirmation page. The screenshot depicts it well.
Also attaching the screenshot of the backend where I input the text. I've tried editing the tpl files, but it doesn't change the actual code on the browser. I have even tried disabling html filter and typing href on the text box itself, again the code just disappears in the browser.
The images will make things very clear.
Thanks.
Link
Backend
The solution is simple, like ébewè said, go to advanced settings > Performances, and clear cache or select no from the drop-down menu next to cache.
Then you can just use high school grade html commands in tpl file to wrap the requisite text inside the code. It works!
Thanks ébewè!

Rally custom dropdown to multiSelect

We have a custom drop down and need to make it a multiSelect. Your answer gives me hope but so far, I have not figured out how this can be done. I played around how to build custom grids using JavaScript. Is it possible to make an existing custom drop-down list to a multiSelect? If it is, can be it used in the existing Rally screens or do we have to use interactive grids to be able to update the field?
Please advice on how this can be achieved.
Thank you, Rajani.
A custom dropdown cannot be turned into a custom multiselect. There are no custom fileds in Rally of mulitselect type. You may write a custom app using AppSDK2 with a MultiObjectPicker
For example, here is a rallymutiobjectpicker that allows selection of multiple testsets:
this._testSetPicker = Ext.create('Rally.ui.picker.MultiObjectPicker', {
itemId:'testsetpicker',
modelType: 'testset'
});
Later you may use _getRecordValue() to get the array of selected records:
var selectedTestSets = this._testSetPicker._getRecordValue();
A custom grid and a custom html app are not the same.
A UI component created with AppSDK2 cannot be added to a custom grid, and cannot be added to existing Rally pages, e.g. a Defect or User Story details page, or any summary page.
The MultiObjectPicker can only be used in a custom code that you write and then copy your deployment html and paste it into a custom html page.
The developer portal also has links to great videos by David Thomas. See all the links in this post for details.

Adding rating feature to Jetpack Carousel

I'm using jet-pack carousel in my gallery website and i want to add image rating capabilities. I have the "wp-postratings" plugin running on the rest of my site.
I'm assuming that i could add this to individual images as wp treats each image as a post, if so where would i find the template i should add this code to?
All the plugin requires is that i add one line of php to the page/image but i can't figure out where it shoud go as the code for carousel seems to be entirely js and php generated.
demo: http://so.devilmaycode.it/adding-rating-feature-to-jetpack-carousel/gallery/
in a js file jetPack_meet_wpPostRating.js copy this code (place the file in the js folder of your theme):
https://gist.github.com/aSeptik/9739808
in the functions.php file of your theme put this code:
https://gist.github.com/aSeptik/9739808
NOTE
after installing the above scripts make sure to delete the browser cache before test.
tested with latest wordpress, jetpack and wp-postrating versions.
this will also work with multiple gallery in the same page.
does not need to put any extra [ratings] shortcode anyware.
the bounty for this answer is too low... ;)
FIX
Fixed bugs added some check and debug to consol.log...
You can use hook into the Jetpack Carousel on the server-side
(like to output your data, for example).
Then on the client-side, get your Javascript rating code to
load after the Jetpack+Carousel JS, and hook into them
(hook on the bindings, etc).
JetPack provides 2 JavaScript hooks:
1) jp_carousel.afterOpen
2)jp_carousel.beforeClose.
Action hook code example

Joomla module or component to be render on a blank page

I have developed a Joomla module that does provides a form, processes its post data, does some calculations and displays the results.
The module includes a button to print the results. I'm currently using JavaScript to open a new window, paste the relevant HTML and open the print dialog.
Instead of JavaScript I would prefer to provide a separate URL for the print view and simply open that in a _blank target. This would make the application work better for people using screen readers or not having JavaScript available.
Is there any way that I can tell Joomla to not render the template along with my module? I was thinking that creating a component fixes that issue, but had to find that components are rendered into the template, too...
BTW: I have Joomla 1.5.22
To achieve what you want you have to add additional tmpl=component query string parameter to the request URL. This will disable template and module rendering.
Your URL will look something like this: index.php?option=com_xxx&view=xxx&tmpl=component
Since you are using Joomla 1.5 you can request index2.php?option=com_xxx&view=xxx and it will only render the component. Joomla 2.5 does not have index2.php so if you plan to migrate in future, don't use this option.
If you are using SEF then adding ?tmpl=component at the end on URL does the trick.
To go a step deeper... in your template directory you have component.php file, that is the file that's being loaded by tmpl param. You can copy component.php to my_component.php, do necessary changes and load your custom component template with index.php?option=com_xxx&view=xxx&tmpl=my_component
The joomla way of doing it would be to set your output to "raw", see this tut:
http://www.katcode.com/displaying-raw-output-in-joomla-by-setting-format-in-the-component/

Resources