1 2 Previous Next 56 Replies Latest reply: Nov 9, 2014 6:59 PM by Gary Swanepoel | ITB RSS

    BC.Next Requests

    Liam Dilley CommunityMVP

      Moving my requests out of the other thread to here for easier management for BC staff.

        • 1. Re: BC.Next Requests
          Liam Dilley CommunityMVP

          Visitor Object Information:

           

          Could this be expanded one day to have more information?

          It would be great to be able to get more specific device information out through liquid and also detect through devicePixelRatio if a device is retina or not?

           

          Why?

          The goal would be to use, in combination of existing features to render image variations for retina display and mobile devices etc.

          • 2. Re: BC.Next Requests
            Liam Dilley CommunityMVP

            By Default or option to remove whitespace created by Liquid markup in rendered HTML. (This was an option in old liquid)

            • 3. Re: BC.Next Requests
              Liam Dilley CommunityMVP

              JSON Request 1:

               

              You can do the following:

              {module_booking,a, collection="eventCollection"}

              <script type="text/javascript" id="event-json">{{eventCollection.items | json}}</script>

              This renders the modules as json inline.

              There is not the biggest use for this really unless you wanted to run some script on this json data inline.

               

              It would be great to have access to a rendered json file for a module like events, web apps without taking two or three steps to create and fetch that information.

               

              JSON Request 2:

               

              json module:

              Most external data sources are not just .json

              An example would be:

              http://api.rottentomatoes.com/api/public/v1.0/lists/movies/box_office.json?apikey=[your_ap i_key]&limit=1

              Or

              http://gdata.youtube.com/feeds/api/standardfeeds/most_popular?v=2&alt=json

               

              None of these types of urls will work currently with the module_json are you guys able to get such URL constructs to work?

               

              Being liquid rendered and if you have an api Key you need to include, these would be a little more secure. You can do this with javascript now which adds to load of a page. In Liquid this would be a pretty big feature enhancement and very useful.

              • 4. Re: BC.Next Requests
                Liam Dilley CommunityMVP

                Liquid Markup Includes:

                 

                Liquid supports includes, BC's current version does not yet.

                 

                Why is this needed?

                Content holders are used by developers to create region content to edit for clients but also for code like footer or template sections like the head that they do not want the client to edit.

                Having one thing with two separate functions creates problems, clients edit and break things they should never access or need to access and creates a number of problems for the sites operation and headaches for BC partners and developers

                 

                Includes would allow you to create a folder to put .tpl files in.

                footer.tpl for example for footer sections and called with a liquid include in a template.

                • 5. Re: BC.Next Requests
                  Liam Dilley CommunityMVP

                  For a later update: Liquid in emails

                   

                  Allowing liquid render within email and email marketing layouts to render before send.

                  • 6. Re: BC.Next Requests
                    Digital Fuel Web Community Member

                    Liquid in Apps:

                    Liquid tag for top level Page URL from inside the sandboxed app. The ability to have it all, split into <scheme name> : <hierarchical part> [ ? <query> ] and get query by namewould be great also.

                     

                    Why?

                    This would allow access to the url without using referrer which is unreliable. As used in the BC Team App. And in many other instances.

                    • 7. Re: BC.Next Requests
                      Liam Dilley CommunityMVP

                      That would break the restrictions they have put in place for a reason wouldn't it?

                      And apps are BC pages, so what works in BC sites will work in apps including liquid.

                      • 8. Re: BC.Next Requests
                        Digital Fuel Web Community Member

                        I have ask RaduCos about this he said they would look at it. But after listening to brass tacks about Liquid I thought I would ask here too because Liquid would be a great way to add this functionality. Not sure I am asking for anything that cannot be done already as you can use referrer and then save it to cookie, session storage etc. But it can be turned of in browsers. The BC Team app created by BC uses referrer but it can be unreliable. So even if we are given a reliable way to get url without use of referrer where referrer works then we can save it in cookie etc. doing nothing you cannot accomplish already but without the problems and extra js.

                        This maybe a dumb question Liam but can we get url in liquid already? If so I will try.

                        • 9. Re: BC.Next Requests
                          Liam Dilley CommunityMVP

                          Cristinel said he had mapped out what to do for those cases rather going through this method. They are looking to increase security with apps further so I suspect that the limited hacks you can do with the parent (which is limited) will be locked down further, and they will provide alternate methods.

                           

                          You are right though that liquid for both sites and apps will open the door for them to give us a bit more access to things, in saying that though it also can expose them to more things like denial of service attacks which Radu mentioned to me.

                           

                          In terms of liquid you have {{globals.site}}

                          But I have not had any issues with my implementations for host access and document.referrer, the DOM for your app even presents the url, take a gander with your app pages in a window on their own to view what you can access.

                          • 10. Re: BC.Next Requests
                            Liam Dilley CommunityMVP

                            It really would be great to get some BC feedback on these requests please guys.

                            We at Pretty for example would REALLY REALLY like to see includes.


                            Again, Content holders used by clients and developers - two sides of the coin using the same feature creates a variety of issues. Includes would be a great way to protect code chunks and allow developers to create them.

                            • 11. Re: BC.Next Requests
                              Adam Cook Community Member

                              I second Liam's comment about includes.

                              • 12. Re: BC.Next Requests
                                Liam Dilley CommunityMVP

                                Content holders to this day render funny as well, so social things do not pick up right and things do not detect properly when used in the head.

                                Giving us includes from what I remember in the first liquid attempt by BC - The includes did not suffer those problems.

                                • 13. Re: BC.Next Requests
                                  Lucian Cozma Adobe Employee

                                  Hey guys.

                                   

                                  External JSON source for module_json is an idea we have thought of ourselves, but in the first release this will not fit.

                                  Regarding includes, we're taking a stab at it, but they also might not make it in the next release.

                                   

                                  We're trying to fit many things in (with backwards compatibility of the rendering being top-priority), so at least for the first release we will have to be careful with the scope.

                                  I hope you guys understand that some things will not fit in and that we would need to wait until a subsequent release to add more things in.

                                   

                                  -Lucian

                                  • 14. Re: BC.Next Requests
                                    Liam Dilley CommunityMVP

                                    Site structure and what we do will (not may, or could, will) get Messy Lucian without includes.

                                    As a developer I hope you can understand that, Already seeing things to messy and disorganised and a release of liquid that off the bat I think is a bad start in that regard. People like us at Pretty are going to try educate people in the right way of doing things, but if you can get includes in it would be good.

                                    I went through the liquid documentation and integration in .net on the weekend in terms of the include stuff. BC is of course it's own beast but I did not think it was all that.

                                    Do not forget you got .tpl you can run off so something like /_System/includes/myfile.tpl

                                     

                                    And the include tag {%include"/_System/includes/myfile.tpl"%}

                                     

                                    Would be what we are hoping for.

                                    • 15. Re: BC.Next Requests
                                      Liam Dilley CommunityMVP

                                      Shopping Cart:

                                      {{this}} exposes a fair amount of the cart information but I currently do not see a collection for the products themselves.

                                      If you guys have not got to this and when you do, could you please try and expose the product object in full.

                                      The hope from us all is that with liquid we tap into the data and use it as we need to, if it exposes only the same data as tags it is a bit limiting still.

                                      Things like showing or being able to use shipping weight information is really needed with the limitations of the shipping.

                                       

                                      We at Pretty for example have looked at some options for custom shipping solutions which we can do enough of what we want, but when you need product weight to help form that solution or calculate total weight of the cart - We hit roadblocks.

                                       

                                      If with liquid or now we were able to add data-weight=".... to product data and have a nice product collection loop for our cart with the data we want, we can then do more then shipping allows us until you guys improve shipping.

                                      Basically allowing us to do something more until you guys do the ultimate updates, but that weight can be long so at least allowing us to do a bit more with more data is really important.

                                      • 16. Re: BC.Next Requests
                                        Liam Dilley CommunityMVP

                                        Shipping:

                                        Shipping as a collection if possible please.

                                        • 17. Re: BC.Next Requests
                                          Liam Dilley CommunityMVP

                                          Could you add the toolbox to the product editor as well please. Anywhere it does not work in at the moment would be great.

                                          Your limited to what you can do with products so being able to access insertion of modules etc would be helpful.

                                          • 18. Re: BC.Next Requests
                                            mario_gudelj CommunityMVP

                                            Is someone from BC looking at this or @Liam are you using it as some wishing well? Anyway, permanent API tokens would be nice. The new REST APIs are great but we need this to fully utilise them.

                                            • 19. Re: BC.Next Requests
                                              cristinel@adobe Adobe Employee

                                              Hi Mario,

                                               

                                              We are looking at these. But for now we are focusing on the core work so cannot promise anything. Like you said on a separate discussion, MVP, MVP, MVP...

                                               

                                              As for permanent tokens, we'll definitely be included at some point, but not expect them in the following 3 months.

                                               

                                              Cristinel

                                              • 20. Re: BC.Next Requests
                                                mario_gudelj CommunityMVP

                                                Thanks for the heads up Cristinel. Looking forward to it. By the way you

                                                guys have done some great work lately!

                                                 

                                                 

                                                M: 0415 193775

                                                E: mario@twoblokeswithapostie.com

                                                W: www.twoblokeswithapostie.com

                                                S: mariogugi

                                                 

                                                 

                                                 

                                                On Thu, Sep 11, 2014 at 10:31 PM, cristinel@adobe <forums_noreply@adobe.com>

                                                • 21. Re: BC.Next Requests
                                                  Scott Shefler Community Member

                                                  This isn't a bug so didn't want to post it on the bug thread but can we PLEASE get classifications exposed in JSON on the web app item list and not just the detail?

                                                  Also, any way to separate it out by category level? right now it just renders on the detail as one long comma separated list/array..

                                                  • 22. Re: BC.Next Requests
                                                    mario_gudelj CommunityMVP

                                                    And item slug would be awesome

                                                    • 23. Re: BC.Next Requests
                                                      Stephen_Blignault Community Member

                                                      You honestly won't believe how many times this has been requested. Not sure why BC engineers have not make classifications available in list view. Simply cannot understand why this has not been implemented yet.

                                                      • 24. Re: BC.Next Requests
                                                        Gary Swanepoel | ITB Community Member

                                                        I don't know how difficult this is but it would be great if would could use the visual editor in pages, as well as the site walk-though. If the customer uses the page editor with all the ice tags in place they really can screw things up especially with all the section tags.

                                                         

                                                        It also means that we can avoid any compatibility issues with ICE when the whole site is loaded because we can update a page without the template attached, so there's less chance a poorly prepared (or theme'd) template will make ICE unusable.

                                                        • 25. Re: BC.Next Requests
                                                          Liam Dilley CommunityMVP

                                                          Markup Whitespace:

                                                          This was a thing that always annoyed me with coldfusion

                                                           

                                                          Functional liquid tags  - {%%} create whitespace. Liquid has the following tag format:

                                                          {%-, -%}

                                                          Which prevents the whitespace in markup rendering. BC does not support it in this way but - {% -%}

                                                           

                                                          As a request could you guys look to suppress the rendered white space by default, it may be easier?

                                                           

                                                          Thank You

                                                          • 26. Re: BC.Next Requests
                                                            Devon Reehl Community Member

                                                            To make the Redactor editor more relevant for our clients, I'd request two things:

                                                             

                                                            1) Enable the CSS button so it works and give us a way to define what styles are included.

                                                             

                                                            2) Allow us to turn certain controls on the editor on and off on a site by site basis (like the current one does). 

                                                            • 27. Re: BC.Next Requests
                                                              Liam Dilley CommunityMVP

                                                              Devon, The editor will work just as it does with the current work. You can already go into your partner portal and define things.
                                                              IT is just a bit broke so will need fixing. BC already know about this.

                                                              In terms of turning things on and off - Already in the partner portal, this has not changed.

                                                              • 28. Re: BC.Next Requests
                                                                Digital Fuel Web Community Member

                                                                Get Admin User Roles inside open admin app.

                                                                Ability to get logged in admin users, User Roles from inside an open admin app using liquid. {{globals.user}}?

                                                                 

                                                                Why?

                                                                It would allow for customising apps based on User Roles.

                                                                • 29. Re: BC.Next Requests
                                                                  cristinel@adobe Adobe Employee

                                                                  Hi,

                                                                   

                                                                  May I go one step deeper and ask why you need to customise apps based on User Roles?

                                                                   

                                                                  Cristinel

                                                                  • 30. Re: BC.Next Requests
                                                                    Liam Dilley CommunityMVP

                                                                    Just as you have things in the admin Cristinel.

                                                                    For one of my apps, you may want the developers to have parts to set things up using the app for the client, but for them to be able to have option to set roles up so the client does not see those sections.

                                                                    And then very similar for clients... There are lots of cases where you develop a custom solution for a bigger client who has several users but have more limited access and features (just to edit, or add content vs configuration) for  some of their staff who have access.

                                                                     

                                                                    So you can modify the menu config with your app options, but you can not detect the user type when they are viewing the app.

                                                                    • 31. Re: BC.Next Requests
                                                                      Digital Fuel Web Community Member

                                                                      As Liam said above Cristinel to do what you can do in admin already giving the ability to let some users edit app setting other not etc.

                                                                       

                                                                      I have an app and I want some admin users to be able to add webapps and edit setting but other only to edit the app items created by customers all using a custom app UI.

                                                                      As an added bonus getting admin user names, emails could be used to customize an individuals UI holding preference for that user then activating them on opening the app once again just like the BC admin does. Another thought this could also let you track user actions giving logs where required and many other thing too I suspect.


                                                                      Thanks for looking into this.

                                                                      • 32. Re: BC.Next Requests
                                                                        Liam Dilley CommunityMVP

                                                                        {module_webformresults} - Liquify Please

                                                                        Why?

                                                                        Everyone has wanted to modify the formatting of this and run different things on the data. Exposing this to liquid will address all of this without having to change the module output or provide a layout by BC.

                                                                        • 33. Re: BC.Next Requests
                                                                          Stephen_Blignault Community Member

                                                                          I agree with Liam.

                                                                           

                                                                          Normally I have to have inline CSS to hide/show only the table cells and rows I want shown in the email back to customers.. and even workflows.

                                                                           

                                                                          Long story short, please make webformresults data accessible with Liquid

                                                                          • 34. Re: BC.Next Requests
                                                                            Liam Dilley CommunityMVP

                                                                            Campaign V3 API:

                                                                            IS this coming?

                                                                            Things we would like is the ability to more easily turn off and on customers email campaigns based on different conditions as well as have the current API in REST.

                                                                             

                                                                            I am sure you guys have this down, I am just puttin ti down on paper as it were. Appreciate all the work done and how much still to do!

                                                                            Doing an awesome job as a note, THANK YOU!.

                                                                            • 35. Re: BC.Next Requests
                                                                              Liam Dilley CommunityMVP

                                                                              There are some hacks right now to get a dynamic menu going in BC for a shop catalogue but it adds to many modules and not a great way. A few people have asked me about this in just the last week.

                                                                              {module_cataloguelistdump} Renders a dump of the current catalogs in a catalog

                                                                              {module_cataloguelistdump catalogId="-1"  collection="my_custom_collection_name" template=""}

                                                                              Would render all catalogs from the root and expose them to a collection.

                                                                               

                                                                              BUT this does not contain the children of the catalogs nor their ID's

                                                                               

                                                                              {module_catalogueselect} Renders Catalogs in an option select output but can also be formed into a collection.


                                                                              In the collection the data is the name, ID and the children of the catalogs but lacks the URL.

                                                                               

                                                                              Catalogue list Dump module therefore should contain all the child items of each cataloge so you can properly create a custom dynamic menu as you need to.

                                                                              • 36. Re: BC.Next Requests
                                                                                Liam Dilley CommunityMVP

                                                                                Page information in globals...


                                                                                page

                                                                                • title: text Title of the page.
                                                                                • name: text Name of the page.
                                                                                • url: url
                                                                                  Url of the page.

                                                                                 

                                                                                Also, It would be great if you guys could implement the Liquid URL paramater fetching, this would be really powerful. I know you can use the module_url but you would have to assign that to a value. I can see the liquid URL paramater features on shopify for example allows more direct use.

                                                                                • 37. Re: BC.Next Requests
                                                                                  Digital Fuel Web Community Member

                                                                                  Timer

                                                                                   

                                                                                  I may be dreaming but this would be handy especially in some app building having a timer that could run code one the site automatically like running email campaigns does or schedule webapp item release date.

                                                                                  I understand this would most likely need to be locked down to maybe run minimum daily and maybe limit how many each site can use to stop people running continuously. There are certainly many more things to consider as well.

                                                                                   

                                                                                  Use: Backup BC is an example. Run automatic backups ie. run every 1 daily at 23.45pm

                                                                                  This could help backups be scheduled for late at night out of peak hours.

                                                                                   

                                                                                  eg {% timer recur="1d" time="2345" %} ie. backup.js {% endtimer %}

                                                                                   

                                                                                  If I am dreaming or this is not possible please disregard.

                                                                                  • 38. Re: BC.Next Requests
                                                                                    Robert Bell (Bosweb) Community Member

                                                                                    Running code server-side on BC? You must be dreaming...

                                                                                     

                                                                                     

                                                                                     

                                                                                     

                                                                                    • 39. Re: BC.Next Requests
                                                                                      Liam Dilley CommunityMVP

                                                                                      You mean like we are now Rob?

                                                                                       

                                                                                      At Pretty we have already pitched this with triggers, being able to form requests with others and have interval operational triggers. I think there is a big pitch thread on it here as well that I wrote.

                                                                                      1 2 Previous Next