How to use a custom comments template?

Hi, I'm using

{module_ratingfeedback template="/auto/templates/comments.tpl}"

Model renders {{items}} as '2 System.Collections.Generic.Dictionary (System.String, System.Object)
Restores {{[0]}} as [pendingComment], [date, 09/03/2016 14:21:19] [body, large vehicle] [country], [flagUrl,] [fullName, Anonymous] [Web site] [postUrlWithHost, http://www.yarmarka.kz] [note, 3]

But I can't loop through {{items}}.

{% for item in items %} TEST {% endfor %}

returns nothing.

What I am doing wrong?

Hello

According to the docs, the module_ratingfeedback will make your comments for an article.

So there will be everything to loop through.

What exactly are you trying to achieve? Can the {tag_commentspaged, collection model = 'collection_name' = ""} help?

Tags: Business Catalyst

Similar Questions

  • How to use my custom defiend function

    Dear all,

    I simply create a new custom set function that I send him a whole month and return name.
    The function registered successfully. and everything is ok, the newspapers are ok

    My question: how to use my @TOSTRING CDF

    the following code for the java class
    --------------------------------------------------------------------------------
    import java.lang. *;
    Import Java.util;
    import java.text.DateFormatSymbols.
    class toString {}

    public static String fromInt (int m)
    {

    return new DateFormatSymbols () .getShortMonths () [m-1];

    }

    }

    ------------------------------------------------------------------------------


    I tried the following and check syntax result successful and executed, but now


    VAR x = 2;
    'Project status' = @MEMBER (@CONCATENATE (@TOSTRING (x), '200'));


    Please advice

    Try to write a fix and check that @TOSTRING (x) is back, ex:
    DIFFICULTY (@MEMBER (@CONCATENATE (@TOSTRING (x), "200"))
    ;
    ENDFIX;

    Or

    Fix (@Member (@TOSTRING (x)))
    ;
    ENDFIX;

    You will find a line in the newspapers saying:
    Expression [@MEMBER (<>)]...

    See you soon... !!!

  • How to use a custom in OBPM jsp taglibs?

    Could someone, please, explain to me the steps on how to use a taglib custom inside OBPM 10 g with jsp?
    I created a custom taglib, it works with other projects (with jdeveloper, for example), but I'm missing something to make it work with Obpm.

    Thank you

    Make sure you copy the .tld and .jar files appropriate for the tag library in the directories for the BPM execution:

    Copy the .tld into /webapps/workspace/WEB-INF

    Copy the jar file of taglib in /webapps/workspace/WEB-INF/lib

    Make sure you restart the workspace after making the above changes. If you are using enterprise, you must rebuild and install le.war/.ear to the workspace and to redeploy.

  • How to use two custom on one screen fields

    Hello friends,

    I'm trying to customize LabelField and EditField. Both performed well individually in separate projects. Now I want to put them in the same project, same screen. Please help me.

    My Code is as attaché

    // BBEdit field class...customized EditField
    
    import net.rim.device.api.system.Display;
    import net.rim.device.api.ui.Color;
    import net.rim.device.api.ui.Graphics;
    import net.rim.device.api.ui.component.EditField;
    
    public class BBEditField extends EditField {
    
        public BBEditField() {
            super("","Trial");
    
        }
    
        protected void layout(int width, int height) {
            super.layout(width, height);
            setExtent(width, height);
        }
    
        protected void paintBackground(Graphics graphics) {
            // TODO Auto-generated method stub
               graphics.setColor(Color.BURLYWOOD);
                graphics.clear();
    
            super.paintBackground(graphics);
        }
    
    }
    
    //BBLabelField class.. customized LabelField
    
    package mypackage;
    
    import net.rim.device.api.ui.Graphics;
    import net.rim.device.api.ui.component.LabelField;
    
    public class BBLabelField extends LabelField {
        private String text;
        private int colorOfText;
    
        public BBLabelField(String text, int colorOfText) {
            super(text);
            this.text = text;
            this.colorOfText = colorOfText;
    
        }
    
        protected void layout(int width, int height) {
            super.layout(width, height);
            setExtent(width, height);
        }
    
        protected void paintBackground(Graphics graphics) {
            graphics.setColor(colorOfText);
            graphics.clear();
            super.paintBackground(graphics);
        }
    
    }
    
    // Actual use of both the classes..not working well together
    
    public final class MyScreen extends MainScreen
    {
        /**
         * Creates a new MyScreen object
         */
        public MyScreen() {
            // Set the displayed title of the screen
            VerticalFieldManager vfm = new VerticalFieldManager();
            BBLabelField myLabel = new BBLabelField("dummytext",Color.BROWN);
            BBEditField editField1 = new BBEditField();
    
            editField1.setText("This is Non-Editable");
            editField1.setLabel("Name : ");
            editField1.setEditable(false);
    
            vfm.add(editField1);
            vfm.add(myLabel);
    
            add(vfm);
    
        }
    }
    

    Thank you

    remove the sublayout method, it does not have something useful.

  • How to use the alternative list template during the rendering of elements of web application to a page?

    I need to be able to use the main list on some pages, but then use the different tag for other pages - is there a way I can specify the alternative list within the tag module template?

    Hi Matt, you should read on web apps here:

    STOM.html http://helpx.adobe.com/content/Help/en/Business-Catalyst/Partner/Web-Apps-module-Create-Cu

    And reference module here:

    http://helpx.Adobe.com/business-catalyst/KB/modules-quick-reference.html

    If you insert in the admin, and then click Customize you will see the option to use listbackup. You will also see this provision availible via FTP and in admin or DW.

    Here you can see where in the module settings, the ability to choose the listbackup occurs:

    http://helpx.Adobe.com/business-catalyst/KB/modules-quick-reference.html#id_65138

  • How to use the custom function to put in shape of line chart Axes?

    Hello...

    I use a graphic line which the axis value is vary from 0 to 50000. It is a number which he gets from its dataProvider. I want to format it and show it as

    $50,000

    $40,000

    $30,000

    $20,000

    $10,000

    $0

    Instead of

    50000

    40000

    30000

    20000

    10000

    0

    Here is my code linechart:

    < mx:LineChart id = "revTimeLineChart".
    Width = "100%" height = "100%".
    showDataTips = "true" >

    < mx:horizontalAxis >
    < mx:CategoryAxis id = "lcCatAxis" categoryField = "name" / >
    < / mx:horizontalAxis >

    < mx:series >
    < mx:LineSeries id = "ls" yField = "income" displayName = "Recipes" showDataEffect = "{slideIn}" / > (yField, this is what I want to do a format...)

    < / mx:series >

    < / mx:LineChart >

    Can you please let me know how can this be achieved?

    See you soon!

    Deepak

    Hello

    you need a labelFunction in AxisRenderer.

    See the example in the documentation

    http://livedocs.Adobe.com/Flex/3/langref/MX/charts/AxisRenderer.html#includeExamplesSummar y

  • How to use the custom scale

    Hello

    I use the version of LabVIEW 2013. In my program, I used DAQmx create scale (linear). VI before the DAQmx create Channel.vi

    I have a 4 to 20mA current signal to be converted into pressure. It's I want any current value comes put DAQmx read to be subtracted by 4mA and then multiplied by 0.375.

    If we see equation y = mx + c, and then my x-value data from reading DAQ, m will be 0.375 and orderly will be - 0.0015

    If I feed these scale values create, I do not receive correct data. It is that I gave the slope as 0.375 intercept and y as - 0.0015 to create Scale.vi

    Is not the right way.

    If I try the way ordinary read DAQmx exit, then subtracting 4mA and then multiplying 0.375, I get correct pressure value.

    So if I want to the regular way or what I have to do scaling create to manage this calculation. Let me know. Thank you

    Hemagopal wrote:
    I have 6 bar working pressure of 4 to 20 my. Create scale can be used?

    If you are off to a factor of 1000.  Your scale should be y = 375 x - 1.5

  • What is correnct how to use GroupDataModel custom inside a qml?

    Hello.

    Got this code qml

        Tab {
            title: qsTr("Friends")
            content: NavigationPane {
                Page {
                    content: ListView {
                        id: friendsView
                            dataModel: friendsModel
                        listItemComponents: [
                            ListItemComponent {
                                type: "header"
                                StandardListItem {
                                    title: friendsModel.header
                                }
                            },
                            ListItemComponent {
                                type: "item"
                                StandardListItem {
                                    title: friendsModel.first_name
                                    description: friendsModel.last_name
                                }
                            }
                        ]
                    }
                    onCreationCompleted: {
                      if (friendsModel){
                        console.log("Here is non 0 model")
    
                      }
                    }
                }
    
            }
        }
    

    And this C++ code

        FriendsApiService* friendsApi = new FriendsApiService();
        friendsApi->getFriendsList();
    
        QmlDocument *qml = QmlDocument::create("asset:///main.qml")
        .parent(this);
    
        qml->setContextProperty("friendsModel", friendsApi);
    
        AbstractPane *root = qml->createRootObject();
    
        app->setScene(root);
    

    It's interesting because I see my virtual functions in groupdatamodel (childcount() and data()), debugging messages

    but then was an error in the console: "Reference error cannot find varialable friendsModel.

    So as a result, I got 5 (cause my model data has 5 rows) empty strings in my ListView.

    In your StandardListItem you use ListItemData.first_name, not friendsModel

  • How to use the plugin Cordova customized with AEM Mobile?

    Hello

    I explored the basics of the AEM Mobile over the last days and also tried to use some plugins Cordova mentioned in the Plugins to the application tab. Now, I would like to know how to use a custom Cordova plugin or plugin other than those mentioned in this list in my application.

    Is it possible to achieve today? If Yes, please provide me with the markets / pointers to all documentation which explains the same thing.

    Custom plugins support is not yet available, but on the road map

  • How to use PF_AppGetColor() indeed custom?

    Hello

    I am able to use PF_AppGetColor (PF_App_ColorType, PF_App_Color) and get the AE color required for use in the CEAP. But I'm not able to find a way to use PF_AppGetColor() in my custom effect. For now I'm connect to CEAP and get the required color. Please tell me how to use indeed custom PF_AppGetColor().

    Thank you

    Dheeraj.

    I use it in an effect.

    This comes directly from my code.

    Suites. AppSuite3()-> PF_AppGetColor (PF_App_Color_HOT_TEXT & appColor1);

    What happens when you try to use it?

  • applicationContext remains "null" after using the custom url scheme to launch the app

    Hello

    I am currently working on a DPS application for a customer who wishes to use its own authentication system.

    The client system is implemented so that they send the valid token to a URI with a custom method.

    By setting the same pattern custom in my app DPS constructor, I can get the app from the login window.

    What is described in the library of DPS & Api store 2.32 documentation, I understand that

    " adobeDPS.configurationService.applicationContext must contain several variables associated to how the viewer was started or enabled:" ","this class represents the context under which the application is launched '


    However, in my application when I try to see what contains the applicationContext, the object is always 'null '. It doesn't matter if I started the application by clicking on its icon or if it was launched using the custom uri scheme.


    Is this a bug or am I missing something here? I really need this token.

    Hello

    After being stuck for a while trying to work with the url of my client for usage, I finally tested it with a modified version and have found the cause of the problem.

    Work of first information provided by a colleague who was apparently not detailed enough for the customer asked me to use a url of the form App. scheme://auth/#token=...

    It turns out that this kind of url can start or bring the app to the front, but applicationContext remains empty.

    My tests using a url in the same form as you suggested (eg. app. scheme://v1/slot/library) can trigger the app or transmit data.

    The documentation available in the SDK library & shop and article on how to use a custom template is very vague on what formats link actually works, and how we can vary with it.

    A breakdown of official links to pieces, that the parties do and what items can be modified (for example ' / appstate') within the API documentation would be a great help for developers, I think.

    Kind regards

    Lorin

  • How to add a custom html comment widget?

    Hello guys,.

    I would like to know how to add a html comment or maybe someone custom widget has created a widget to comment by muse?

    I m write some news twice a week on my site and I would like to add a comment box on each news for my "faithful" like on a blog site?

    Any idea?

    Ceety, I used this code in my site.

    I tested it to make sure,

    _____________________________________________________________

    http://www.htmlcommentbox.com"> comment form loads of comments...".

    ______________________________________________________________

    hope you find good,

  • I created a template. How to use it?

    I created a template for an e-mail message that I want to customize many different recipients. The model is in the 'Template' folder How to use this template? Thank you!

    _ http://KB.mozillazine.org/Thunderbird: _FAQs_:_Using_Templates

  • How to use the Smart zero 4.4.0 customer service and HP Profile Editor to activate chip cards

    I have a T610 HP Smart Thin Client from scratch and I get zero Smart software to recognize the card chip when connecting. How to use the Smart zero 4.4.0 customer service and HP Profile Editor to activate chip cards. You can configure without the profile HP of the XML editor.

    Mike Sieradzki

    Hello ski_mike.

    Welcome to the HP Forums. I understand that you want to support with your Smart Client zero. However, it is a commercial product. To get assistance, thank you for posting your question on the business Forums HP: HP Enterprise Business Community

    Thank you

    Mario

  • I want how to use custom, actions, brushes ets...

    I want how to use custom, actions, brushes ets...

    I put the files here...

    C:\Users\[username]\AppData\Roaming\Adobe\Adobe Photoshop CC 2015\Presets

    When I load model and ets...
    There is nothing in the record...

    What should you do?

    I use Photoshop cc 2015...

    and workign in Photoshop cs6.

    You will need to put the diagrams in the subfolder of the boss, actions in the action etc subfolder.  I thought you just need to know the path to the CC 2015 presets in general.

    Here's my presets folder and all subfolders

Maybe you are looking for

  • Graphics memory ATI 128 MB to 256 MB on Satellite L20

    HelloIt is possible increase graphics memory ATI 128 MB to 256 MB on my Satellite L20 182?Maybe upgrade the BIOS?

  • Questions of GarageBand

    2 questions: I have drums and other sounds that I want to use on garageband, but I can't import into garageband! And when I put a sample on the playlist and chop it upward, I can't assign to the keys! I have garageband on mac pro 10.1.0.

  • Use of laptop computer for the first time: when updating Windows 10?

    Just got the Inspiron 5000 15 (Intel (R) series - 5558 I ordered. It comes with Windows pre-installed 8.1, I understand.Preparing for first use and installation of stuff, I was wondering if I should switch to Win 10 straight away or after first setti

  • superior Headphone Jack does not work

    My office h8-1039 (W7 Home Premium) has a Jack headphone and microphone on the top and the back of the PC.  On the top of the page game of catch, the helmet stopped workng, the microphone still does, so I have to use the headphones for talking me thr

  • Backup keeps fialing error: 0x800000A.

    Lack of keep my backups and an error message (0x800000A) tells me that the backup set is not found. The backup set was in a directory on the F: drive but when I browse under "Edit backup settings" I see is no longer under the root of the F:. I theref