My site already installed Views Custom Field 6.x. Since Views PHP now has D6 version then, do I need to uninstall Views Custom Field before install Views PHP?
How about my previous PHP code using Views Custom Field?

Comments

thedavidmeister’s picture

subscribe

lpalgarvio’s picture

don't do that.
Views PHP isn't ready for production use.

something i tried to do with it wouldn't work for example... it worked right away on the older module, Views Customfield.

when the developers feel Views PHP is ready, they will likely announce it, and a stable release will surely be made.

thedavidmeister’s picture

i'm using both at the moment without any glaring conflicts/issues.

totally anecdotal of course, but the added convenience/power provided by this module makes it worth having a play.

drupalnesia’s picture

@thedavidmeister: i'm agree, at least we can help maintainers buy reporting any bugs quickly. thanks for sharing.
edit: confirmed, both modules run together perfectly.

webservant316’s picture

subscribe. views_php still seems half baked to me at this time. so I plan to check out views_customfield.

webservant316’s picture

views_customfield meets my needs

thedavidmeister’s picture

views_php has the advantage that you can easily drop in a custom PHP filter, but I've recently had problems where the PHP sort is really slooooow for even small views with only 15 or so rows being displayed so you do have to be careful with the performance of what you put into views_php.

webservant316’s picture

plus the $value, $php, and $data variables do not appear to be properly populated in the latest dev of views_php.

thedavidmeister’s picture

@webservant - that sounds like a code issue that should be in this queue if it isn't alread, my point was more of a general comment that probably has more to do with lower level PHP eval() and SQL performance than this module.

webservant316’s picture

@thedavidmeister - yes good point, I was straying from the original post question. Regarding the original question I think that views_customfield and views_php can both operate side by side without a problem (as far as they are functioning). views_customfield is the predecessor with less features and no filter option, but it appears to work as advertised. views_php is more full-featured and with filters, but the current dev just doesn't work as advertised.

thedavidmeister’s picture

I'm using a version of views_php from at least 6 months ago and I've managed to get filters, fields and sorts all working ok with a minimum of fuss. Can't comment on the latest dev version though.

webservant316’s picture

it would appear something is broken in the lastest dev.

RaulMuroc’s picture

To met it just does not interpret PHP. I put code like " print "hello"; " in Output field and in the screen is show the literal text: print hello. instead of the value "hello".

The same in value field.

I don't know if I do something wrong or what but is really simple php statement as to fail.

Liam Morland’s picture

Issue summary: View changes
Status: Active » Closed (outdated)

Drupal 6 is no longer supported. If this applies to a later version, please re-open and update the version.