Using snippit's
|
1 posts
|
Hello all, I have a quick question that I hope can be answered. First off, my site was built before I thought of using Frog CMS, I added the Frog CMS for the news section only. My problem is, that on the home page I have a feature box where I would like to have a recent article snippit I created, called into it, but since the page is outside of the Frog application, I’m not sure what include code should look like. Does anyone know how I can include a snippit I created, to the home page if its outside of the CMS folder? |
|
180 posts
|
I think you can create page like…
Note that you should use layout “none” for this page. At first page (not FrogCMS page – simple php page) you can include this content like:
Or
Or you can use AJAX-request that will be load yor articles from FrogCMS page. Or… :) You can make page that will be like JavaScript page with articles content:
And require this JS to your page without Frog:
Or…! You can use CURL :) heh… |
|
1 posts
|
Thank you so much! |