- Posts: 11
- Thank you received: 0
JoomailerChimp not shortening K2 articles to intro text
So when i send out the newsletter, the content is the full article with no pictures. Is there any way to fix this and get Joomailer to shorten the article like K2 does?
Please Log in or Create an account to join the conversation.
- The Mole
- Visitor
I've just posted a similar message, I notice you haven't had a reply though. Did you manage to find out how to do this?
Thanks
Mark
Please Log in or Create an account to join the conversation.
This feature is currently not on our todo list so I'll provide instructions how to solve in the meantime.
You have to edit the file /administrator/components/com_joomailermailchimpintegration/controllers/create.php
Scroll down to the very end. Above the closing curly brackets where it says "}// class" enter the following function:
Then replace line 308 and 1324 with this code:
The 300 means the function will count 300 characters and cut off the text at the next following point and then attach three points.
Please keep in mind that after each joomailer upgrade you will have to apply this patch again!
Let me know if this is what you're looking for and if not, why
Kind regards,
Pete
Please Log in or Create an account to join the conversation.
Thanks so much for this patch - just implemented and it's working beautifully You saved the day!!
I've just made another post regarding inserting k2 item images along with intro text k2 images - do you have any ideas how I could achieve this?
Thanks again
Emily
Please Log in or Create an account to join the conversation.
Any suggestions?
Cheers
Emily
Please Log in or Create an account to join the conversation.
I used
Seems to be working so far.
Please Log in or Create an account to join the conversation.
- The Mole
- Visitor
I've used this code before to shorten the K2 articles but I have just upgraded Joomlamailer to version 1.7 and made these changes above and it doesn't seem to be working, any ideas?
Thanks
Mark
Please Log in or Create an account to join the conversation.
- The Mole
- Visitor
Could anyone help me with the above problem?? I have upgraded to the latest version and I don't think the code suggested previously works now, can you please confirm?
Thank you
Mark
Please Log in or Create an account to join the conversation.
I have no idea why it wouldn't work with the new version except the line numbers where you have to adjust the code have changed. However, please download the attached file, extract it and upload the file create.php to your server to the directory: /administrator/components/com_joomailermailchimpintegration/controllers
download
Please Log in or Create an account to join the conversation.
joomlamailer uses cookies!
This website uses cookies to provide user authentication and improve your user experience. Please indicate whether you consent to our site placing these cookies on your device. We are not using cookies for marketing purposes. For more information visit our privacy policy
Joomlamailer.com is not affiliated with or endorsed by The Joomla! Project™, Open Source Matters, Inc. or Intuit Mailchimp.
Any products and services provided through this site are not supported or warrantied by The Joomla! Project, Open Source Matters, Inc. or Intuit Mailchimp.
Use of the Joomla!® name, symbol, logo and related trademarks is permitted under a limited license granted by Open Source Matters, Inc.
Mailchimp® is a registered trademark of The Rocket Science Group.