Tiny Posted September 6, 2018 Report Posted September 6, 2018 Is there a reasonable way to list automatically packages on the portal screen? PHP scripts don't run in there. Ideally I want something like: Domains | Price , Package | Price , similar to the order pages, just without the registration. Quote
0 Blesta Addons Posted September 6, 2018 Report Posted September 6, 2018 4 hours ago, Tiny said: just without the registration. You mean only show product/price without link to order it ? 4 hours ago, Tiny said: list automatically packages on the portal screen? Protal Screen is a custom script or the CMS blesta core? Quote
0 Tiny Posted September 13, 2018 Author Report Posted September 13, 2018 On 9/6/2018 at 3:42 PM, Blesta Addons said: You mean only show product/price without link to order it ? Not really. Just basically the actual /order/forms/ (this looks to ugly as start page) , however, this could be good as amnu (left side for me) and/or a selection of products eg: domain names and then display a list of all avail domains, incl price ..., hosting packages | description | Price /..........j ust a order form, without any registration The problem for me, the portal page does not accept any mySql query/code at all. I am almost sure, there is a kind of feed ora script, which could populate this, within the portal screen Somehow, I can already the /order/forms/ and hard coding the links, but the actual packages, pricing, description, I fail Something like in attachment, I like to archive. This from whmcs, so that all packages can be listed. I don't need the html or css parts, just somehow, a strting point and if not clean php, as I can, then the points, where to add the classes. Ignore currency above , as this is ALMOST to 100% sorted' Fetching package | description, if | price ..and maybe applicable options. ideally per group (order form) Sorry for late response, but spend to much time in hospital, aslo for coming weeks ongoing Quote
0 Blesta Addons Posted September 13, 2018 Report Posted September 13, 2018 not sure how it should but have you tried to edit the order form template file? in your case i think is main_index.pdt Quote
0 Tiny Posted September 14, 2018 Author Report Posted September 14, 2018 The oder form pdt's ain't really the problem. An old classic, mysql ... could work this. the worry is, the landing page, portal, does not accept/execute any php. Quote
0 Blesta Addons Posted September 14, 2018 Report Posted September 14, 2018 9 hours ago, Tiny said: The oder form pdt's ain't really the problem. An old classic, mysql ... could work this. the worry is, the landing page, portal, does not accept/execute any php. is true, is not accepting javascript also. we have CMS pro that i used in one of our website group that have this option, allow users to add javascripts/php in thier code, is multi-languages support, built-in in compares packages, built-in whois search, built-in sliders, built-in domains extensions page, built-in contact page, built-in menus and nav bars menu, footer links, Seo-friendly and mush more wonderful and fantastic features, we have not yet released for public, but we are in the way to release it. a dirty way to achieve your goal now is : 1 - create custom plugin that will show what you want. 2 - create a js file that has a ajax request to that plugin controller 3 - in the cms put the line to the js file. <script type="text/javascript" src="https://xxxxxx.com/plugins/your_plugin/views/default/js/your_js_file.js"></script> we are using the same method in blesta-addons to list the latest products, you can check html source code to understand well . our js file has this content fetch_latest_items(); function fetch_latest_items() { $(this).blestaRequest("GET", "/plugin/store/main/latest_products/", null, function(data) { if (data) $(".portfolio-slider").html(data); }, null, {dataType:"json"}); } activa 1 Quote
0 Tiny Posted September 25, 2018 Author Report Posted September 25, 2018 Oh, thx mate. I will bookmark this as a starting point and try to get it working. It will take a while. I am not the fastest and it's anyway only a decorative issue, low urgency activa 1 Quote
0 EMar Posted December 22, 2018 Report Posted December 22, 2018 Disappointed to discover the portal won't accept javascript. I embeded some css and html pricing tables with an iframe, not really what I wanted. Quote
Question
Tiny
Is there a reasonable way to list automatically packages on the portal screen?
PHP scripts don't run in there. Ideally I want something like: Domains | Price , Package | Price , similar to the order pages, just without the registration.
7 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.