Quantcast
Channel: User nmc - Stack Overflow
Browsing latest articles
Browse All 37 View Live

Comment by nmc on How to implement invisible but accessible link in a table...

I think this would work if I can just figure out how to make the link fill the cell with CSS.

View Article



Comment by nmc on How to implement invisible but accessible link in a table...

@Moob While aesthetically the transparent link works, I tried that table with Chrome Vox and the link descriptions were not read out loud by the screen reader.

View Article

Comment by nmc on Hide Products from View in Drupal Commerce

@MxmastaMills if you are logged in to Drupal as an administrator, then you will still be able to see the page even if you have unpublished it. Try viewing the page from a different browser or log out...

View Article

Comment by nmc on Creating list of similar nodes in Drupal 7/Views 3

@Heihachi I just tested this with the latest version of Views and it is currently working for me.

View Article

Comment by nmc on Struts 2 and spring mobile integration

Are your filters set up in the correct order in your web.xml (see stackoverflow.com/questions/10801800/…)

View Article


Comment by nmc on Dynamic URL access rights from form using Spring Security...

You wrote: "if there is a new user, i've to manually add in this xml file". Do you mean a new role (not a new user)?

View Article

Comment by nmc on changing font color and size has no effect in CKEditor Drupal

Your Text Format Filters are likely stripping out the inline CSS that CKEditor put in. See drupal.org/node/213156

View Article

Comment by nmc on Troubles Migrating VB script (reliant on vendor API) from...

Unfortunately, I have no documentation nor support from the vendor :(

View Article


Comment by nmc on Implementing Custom Modules in Drupal

@peifa I suggest you come up with a specific question about where or how you are stuck and ask it on this forum.

View Article


Comment by nmc on Regex in Google Analytics Advanced Custom Filter not...

@WiktorStribiżew That did it! Please post as an answer so I can accept

View Article

Comment by nmc on How to track ServiceNow Service Portal (AngularJS) page...

I just tried $window.ga(...) and I'm not seeing a difference. Same problem.

View Article

Comment by nmc on PHP & SQL Server - field names truncated

Finally got around to testing this and it seems ODBC Driver 13 does fix this problem! $connection = odbc_connect("DRIVER={ODBC Driver 13 for SQL Server}; Server=$server; Database=$db;", $loginname,...

View Article

Comment by nmc on "ValueError: Lengths must match to compare" for chi2 from...

And of course, that was the very simple error that I couldn't spot. I was looking at features and labels instead of category/category_id. If you'd post the answer, I'd be happy to accept.

View Article


Embedded youtube video in IE9 not working

I'm trying to embed a youtube video on my site and it doesn't seem to be working in IE. Seems to work on with other browsers so far. In IE9, it displays an outline of a box where the video would be...

View Article

Answer by nmc for Getting Shibboleth Attributes through Struts-1

Turns out that in my case, it was an issue with the server-side config. After following the instructions here: https://wiki.shibboleth.net/confluence/display/SHIB2/NativeSPJavaInstall, I was able to...

View Article


Getting Shibboleth Attributes through Struts-1

I'm trying to integrate Shibboleth authentication with an old Struts-1 application that I've inherited the maintenance of, but I cannot figure out how to acecss the Shibboleth attributes. This is what...

View Article

Answer by nmc for Drupal 7: How can I allow a user role to upload a file via...

I have used the IMCE Module for this.IMCE is an image/file uploader and browser that supports personal directories and quota.and it has the ability to integrate to WYSIWYG.

View Article


Answer by nmc for Hide Products from View in Drupal Commerce

It has been a while since I've worked with Drupal Commerce, but I assume that your product listing is a View. You should be able to modify your View to filter out the disabled products.

View Article

Answer by nmc for How come struts property tag converts java.util.Date in...

Struts recognizes certain object types as listed in the Built in Type Conversion Support section for the documentation and as explained in the linked answer by Andrea.If you're wondering why your Date...

View Article

Answer by nmc for Struts2 - How to populate a select tag with a list of String?

If you omit the lisKey and listValue attributes, then Struts2 will use the string text as the key and the value.Try: <s:select name="status" list="status" headerKey="" headerValue="-- Select --"...

View Article

Answer by nmc for How to right-align and format an amount entered into a...

If you're looking to format the text in the web page, then you need to write javascript to do so. If you are looking to format it in the action class then see NumberFormat classSee how to align texts...

View Article


Answer by nmc for Drupal Page Template based on url alias

page--test.tpl.php doesn't work because Drupal is using the real path of page--node--#.tpl.php. To get Drupal to recognize aliased paths, you have to add the aliased path as part of the theme...

View Article


Answer by nmc for Drupal 7 add headings to each grouped section in my content...

The other answers to this question were on the right track. The code responsible for the vertical tab heading is the theme_vertical_tabs function in the includes/form.inc file.If you have your own...

View Article

Answer by nmc for Creating database related JUNIT test cases for Struts2

You can look into using DbunitDbUnit is a JUnit extension (also usable with Ant) targeted at database-driven projects that, among other things, puts your database into a known state between test runs....

View Article

Answer by nmc for Troubles Migrating VB script (reliant on vendor API) from...

This was indeed a silly error on my part... When attempting to register the dll, I tried to register the dll that was converted by Tlbimp.exe (the one that I could add as a reference to the project),...

View Article


Answer by nmc for Drupal 7 Webform : How to display/hide some fields based on...

Look into the Webform Conditional module. There's a demo here https://www.youtube.com/watch?v=7uxfqJr6K6U which can show you what it's capable of to verify that this is what you're looking for.

View Article

Answer by nmc for How to make sub terms show in main taxonomy page in Drupal?

Have you tried adding the contextual filterContent: Has taxonomy term ID (with depth) of to the view? See https://drupal.stackexchange.com/a/58526

View Article

Answer by nmc for Create a template for the page

You would need to implement a hook_theme function and specify a template file. Then in your page callback, you would have to call your theme function. Something like...function example_theme($existing,...

View Article

ClassNotFoundexception: net.sourceforge.jtds.jdbc.Driver

I'm running into java.lang.ClassNotFoundException: net.sourceforge.jtds.jdbc.DriverI can get around the error by putting jtds.jar file in the CATALINA_HOME/lib directory but this isn't an ideal...

View Article



Escaping reserved database keywords with spring-test-dbunit

How do I escape SQL Server keywords using Spring-test-dbunit framework?In my @DatabaseSetup("sampleData.xml") file, I have a table called File which is a reserved keyword in SQL Server. In order for...

View Article

SQLSRV driver vs. PDO driver for PHP with MS SQL Server

What considerations should I take into account when choosing between SQLSRV driver vs. PDO driver (for PHP with MS SQL server)? I saw this previous Stackoverflow post ( When using PHP on Windows, what...

View Article

PHP & SQL Server - field names truncated

Here is the relevant code: function connect(){ // DB credentials and info defined here.... $connection = odbc_connect("DRIVER={SQL Server Native Client 11.0}; Server=$server; Database=$db;",...

View Article

Answer by nmc for ServiceNow Service Portal AngularJS Accordian Widget Not...

{{mytable.id}} is not populating because you didn't specify it in your server script. You need something like mytable.id= gr.getValue('sys_id');

View Article


Answer by nmc for How to track ServiceNow Service Portal (AngularJS) page...

I finally remembered to look at the browser's console logs and saw the error that was causing my issues: Error: $window is not definedI needed to add $window variable in the Client Script function...

View Article

Spring Mobile - Interceptor not applied? Device is null

I'm experimenting with Spring Mobile but I can't seem to get the basic example working. I have a feeling I'm missing something stupidly simple but I can't figure out what it is. Here is what I have in...

View Article

Answer by nmc for Drupal add an action on the content listing

You need to implement hook_node_operations(). You can look at the pathauto_node_operations() as example.function pathauto_node_operations() { $operations['pathauto_update_alias'] = array('label' =>...

View Article


Answer by nmc for How to add new rules in drupal

1 - According to hook_default_rules_configuration() documentation:This hook is invoked when rules configurations are loaded.The function is actually called when you clear your cache as this is when...

View Article

Browsing latest articles
Browse All 37 View Live




Latest Images