Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

No Api Call For Including An Image With A Blog Post? Rate Topic   - - - - -

 
  • CreationX
  • Member
  • Members
  • Join Date: 20-Jul 15
  • 24 posts

Posted 18 April 2017 - 02:24 AM #1

We have looked everywhere regarding the ability to include an image in a blog post via an API call.  It does not appear to exist at the moment.  The image is even hosted already (it's a URL jpg) and all we want to do is have the image post in the addon section of the Blog/Pages page.  Everything else works fine.  Just can't figure out the correct call for the image and the documentation has nothing relating to it.

 

Any help would be much appreciated!



 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 19959 posts

Posted 18 April 2017 - 07:31 AM #2

I am afraid, it is required to extend API. All functions for pages and blog posts are located here

 

app/Tygh/Api/Entities/Pages.php


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    Multi-Vendor PLUS           USD 3100 (2775)
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      Multi-Vendor Ultimate       USD 7500 (6000)

 
  • CreationX
  • Member
  • Members
  • Join Date: 20-Jul 15
  • 24 posts

Posted 18 April 2017 - 12:18 PM #3

I don't understand why it is like that.  Isn't the pages option one of the main features of cs-cart?



 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 19959 posts

Posted 18 April 2017 - 02:12 PM #4

I don't understand why it is like that.  Isn't the pages option one of the main features of cs-cart?

 

Yes and the Blog module just extends the default Pages feature


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    Multi-Vendor PLUS           USD 3100 (2775)
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      Multi-Vendor Ultimate       USD 7500 (6000)

 
  • CreationX
  • Member
  • Members
  • Join Date: 20-Jul 15
  • 24 posts

Posted 19 April 2017 - 12:47 PM #5

Is there at least an edit to get the blog image in the rss feed?  



 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 19959 posts

Posted 19 April 2017 - 01:53 PM #6

Is there at least an edit to get the blog image in the rss feed?  

 

Please check our answer in another your thread


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    Multi-Vendor PLUS           USD 3100 (2775)
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      Multi-Vendor Ultimate       USD 7500 (6000)