As Denmark’s national design centre, it is the DDC’s mission to promote the use of design in business and industry. We designed and developed the digital platform for this agenda, using a new visual identity designed by WAAITT.
In drupal 7, I have a view with totals fields -sum, count, avg- calculated with calc_views module. In the theme file views-calc-table--llibre-de-socis--page-1.tpl.php. I can to this information with $totals array, and I can theme that.
I would like have some others extra fields so date, IBAN of my organization, address...
How can I add this information a $totals o another arrays that I can access in til file?
I don't now if I can explain well. I don't have good english. Sorry.
I ran my first scan on my website using HCL AppScan and it doing so it gave me 21 High Security Issues to fix. Most of those 21 boil down to an SQL Injection issue. When I click for details it says one of two things (using {url} to hid the URL for now):
I am building a table view of a custom entity, and I am trying to build the view out so that the only results it displays are results that are potential duplicates (based on there being two or more rows of a specific field). I was originally using hook_query_alter() and adding a havingCondition() to it, but that doesn't work because in order to use HAVING you need to use GROUP BY which condenses all the results into one row. I want all of the rows to display, but only if there is another row with the same field value.
As an example, if these values are in the database;
Can someone please advise how I can add something like this https://codepen.io/shvvffle/pen/JRALqG to a block on my site? Or even point me toward to a module that does the same thing. Thank you.
What I did was create a counter,js file and paste the javascript code in there and upload to the /site/all/theme_name/js directory and specify it in the theme_name.info file. Also copied the css file in to the css directory of the theme and also specified in the theme_name.info file as well.
I need to show each user different daily education posts depending on how many points they have.
Every day they submit information using content-type "Daily Submission" and with each submission, their point_count field count on thair Profile grows by 1 point. As an example, a person gets 14 points after 14 days of successive submissions.
I have created a text post for each day in the program. I assigned point_count value for each post. Now I want to show a post with a poin_count value X to all users who have accumulated X points.