/[drupal]/contributions/modules/viewfield/viewfield.module
ViewVC logotype

Log of /contributions/modules/viewfield/viewfield.module

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Tag:

Revision 1.20 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jun 17 02:56:40 2009 UTC (5 months, 1 week ago) by darrenoh
Branch: MAIN
CVS Tags: HEAD
Changes since 1.19: +2 -2 lines
Diff to previous 1.19
#480432 by Darren Oh: Improved original fix to prevent error on line 276.

Revision 1.19 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jun 17 01:40:19 2009 UTC (5 months, 1 week ago) by jerdavis
Branch: MAIN
Changes since 1.18: +2 -2 lines
Diff to previous 1.18
#480432 by Aren Cambre, hadsie, scottrigby, jerdavis: Error when creating new viewfield
- Added is_array() check to prevent errors when the field is first being created

Revision 1.18 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jun 15 19:13:29 2009 UTC (5 months, 1 week ago) by darrenoh
Branch: MAIN
Changes since 1.17: +2 -2 lines
Diff to previous 1.17
by Darren Oh: Fixed caching error.

Revision 1.17 - (view) (download) (as text) (annotate) - [select for diffs]
Sun May 24 05:33:35 2009 UTC (6 months ago) by darrenoh
Branch: MAIN
Changes since 1.16: +53 -85 lines
Diff to previous 1.16
#416922 by Darren Oh: Fixed upgrade for existing fields.
#434920 by Darren Oh: Fixed argument defaults being lost on save.

Revision 1.16 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Apr 7 19:03:41 2009 UTC (7 months, 2 weeks ago) by darrenoh
Branch: MAIN
Changes since 1.15: +3 -3 lines
Diff to previous 1.15
by Darren Oh: Moved theme functions file to theme directory.

Revision 1.15 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Apr 7 18:42:31 2009 UTC (7 months, 2 weeks ago) by darrenoh
Branch: MAIN
Changes since 1.14: +82 -310 lines
Diff to previous 1.14
by Darren Oh: Reverted previous commit.
  Arguments would not display on the field settings page when force default was
  on.
#386430 by Darren: Reverted patch.
  Patch prevented nodes from overriding default values.
by Darren Oh: Organized code and fixed coding standards compliance.
by Darren Oh: Fixed more error notices.
by Darren Oh: Added translation template.

Revision 1.14 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Apr 6 19:26:55 2009 UTC (7 months, 2 weeks ago) by darrenoh
Branch: MAIN
Changes since 1.13: +8 -6 lines
Diff to previous 1.13
by Darren Oh: Fixed error notice when force default is on.

Revision 1.13 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Mar 27 03:12:33 2009 UTC (7 months, 4 weeks ago) by jerdavis
Branch: MAIN
Changes since 1.12: +7 -3 lines
Diff to previous 1.12
#399872 by burlap, jerdavis: Does viewfield respect views permissions?
- Added $view->access() check to view execution and rendering in _viewfield_get_view_content()

Revision 1.12 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Mar 27 02:48:34 2009 UTC (8 months ago) by jerdavis
Branch: MAIN
Changes since 1.11: +33 -35 lines
Diff to previous 1.11
#376433 by revimage, jerdavis: Settings wont hold unless...
- Removed fieldset from viewfield in viewfield_select_process() and viewfield_field()

Revision 1.11 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Mar 9 15:08:11 2009 UTC (8 months, 2 weeks ago) by darrenoh
Branch: MAIN
Changes since 1.10: +7 -8 lines
Diff to previous 1.10
#312131 by plach: Fixed argument caching.

Revision 1.10 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Mar 6 20:34:28 2009 UTC (8 months, 2 weeks ago) by darrenoh
Branch: MAIN
Changes since 1.9: +606 -606 lines
Diff to previous 1.9
#386430 by muhleder: Fixed default value not being used until node is saved.

Revision 1.9 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Mar 5 21:51:24 2009 UTC (8 months, 3 weeks ago) by darrenoh
Branch: MAIN
Changes since 1.8: +3 -2 lines
Diff to previous 1.8
#367799 by Darren Oh: Fixed more error notices.

Revision 1.8 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Feb 20 04:22:52 2009 UTC (9 months ago) by jerdavis
Branch: MAIN
Changes since 1.7: +47 -47 lines
Diff to previous 1.7
#301503 by plach, artis, radman16, jerdavis: Viewfield supports only node views
- Added $table_queue check on $query to make sure we've got a node table in the queue before executing the query alter

Revision 1.7 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Feb 10 21:10:54 2009 UTC (9 months, 1 week ago) by jerdavis
Branch: MAIN
Changes since 1.6: +8 -7 lines
Diff to previous 1.6
#367799 by webchick, jerdavis: Metric boat-loads of notices
 - Cleaned up some code to remove some of the notices being thrown if error_reporting is E_ALL

Revision 1.6 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Feb 10 19:56:55 2009 UTC (9 months, 1 week ago) by jerdavis
Branch: MAIN
Changes since 1.5: +23 -9 lines
Diff to previous 1.5
#348257 by jerdavis: Add selection of available view displays to viewfield drop down lists
- Added ability to select a specific view display rather than forcing users to create a new default display for each view used by viewfield

Revision 1.5 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Aug 27 13:16:39 2008 UTC (14 months, 4 weeks ago) by weitzman
Branch: MAIN
Changes since 1.4: +590 -276 lines
Diff to previous 1.4
#235572 by plach. port to D6.

Revision 1.3.2.21 - (view) (download) (as text) (annotate) - [select for diffs]
Wed May 28 16:03:24 2008 UTC (17 months, 4 weeks ago) by darrenoh
Branch: DRUPAL-5
CVS Tags: DRUPAL-5--1-5
Changes since 1.3.2.20: +4 -4 lines
Diff to previous 1.3.2.20 , to branch point 1.3 , to next main 1.20
Added translation template.

Revision 1.3.2.20 - (view) (download) (as text) (annotate) - [select for diffs]
Mon May 12 17:04:07 2008 UTC (18 months, 2 weeks ago) by darrenoh
Branch: DRUPAL-5
Changes since 1.3.2.19: +6 -6 lines
Diff to previous 1.3.2.19 , to branch point 1.3
#253999 Fields that did not have a default view would not save any view.
#256972 Leaving all views unchecked should make all views available in node edit form.
Fixed a coding style error.

Revision 1.3.2.19 - (view) (download) (as text) (annotate) - [select for diffs]
Tue May 6 16:00:52 2008 UTC (18 months, 2 weeks ago) by darrenoh
Branch: DRUPAL-5
Changes since 1.3.2.18: +3 -3 lines
Diff to previous 1.3.2.18 , to branch point 1.3
Last commit did not update all documentation.

Revision 1.3.2.18 - (view) (download) (as text) (annotate) - [select for diffs]
Mon May 5 21:12:02 2008 UTC (18 months, 3 weeks ago) by darrenoh
Branch: DRUPAL-5
Changes since 1.3.2.17: +90 -69 lines
Diff to previous 1.3.2.17 , to branch point 1.3
#216827 Improved argument parsing. Arguments that contained commas were not being parsed correctly.
Improved method for counting results.

Revision 1.3.2.17 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Apr 30 19:18:26 2008 UTC (18 months, 3 weeks ago) by darrenoh
Branch: DRUPAL-5
CVS Tags: DRUPAL-5--1-4
Changes since 1.3.2.16: +159 -227 lines
Diff to previous 1.3.2.16 , to branch point 1.3
Fixed Drupal coding standards violations.

Revision 1.3.2.16 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Apr 30 17:52:55 2008 UTC (18 months, 3 weeks ago) by darrenoh
Branch: DRUPAL-5
Changes since 1.3.2.15: +3 -3 lines
Diff to previous 1.3.2.15 , to branch point 1.3
Last commit would cause an error if the token module is missing.

Revision 1.3.2.15 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Apr 30 13:46:06 2008 UTC (18 months, 3 weeks ago) by darrenoh
Branch: DRUPAL-5
Changes since 1.3.2.14: +15 -1 lines
Diff to previous 1.3.2.14 , to branch point 1.3
Fixed error caused by recursive calls to token_replace_multiple().

Revision 1.3.2.14 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Apr 29 15:59:37 2008 UTC (18 months, 3 weeks ago) by darrenoh
Branch: DRUPAL-5
CVS Tags: DRUPAL-5--1-3
Changes since 1.3.2.13: +11 -9 lines
Diff to previous 1.3.2.13 , to branch point 1.3
#217757 by Rob Loach. Made force defaule work.

Revision 1.3.2.13 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jan 25 19:46:47 2008 UTC (22 months ago) by weitzman
Branch: DRUPAL-5
Changes since 1.3.2.12: +6 -1 lines
Diff to previous 1.3.2.12 , to branch point 1.3
#206167 by moshe weitzman. most formatters busted since super default feature introduced. add in a few choice lines from content.module's implementation so that  is defined.

Revision 1.3.2.12 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jan 25 17:26:50 2008 UTC (22 months ago) by weitzman
Branch: DRUPAL-5
Changes since 1.3.2.11: +2 -2 lines
Diff to previous 1.3.2.11 , to branch point 1.3
#177065 by darren oh. Force default won't save true value.

Revision 1.3.2.11 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jan 23 20:14:00 2008 UTC (22 months ago) by mfredrickson
Branch: DRUPAL-5
Changes since 1.3.2.10: +4 -3 lines
Diff to previous 1.3.2.10 , to branch point 1.3
Correcting a small bug in the way viewfield adds a "default" flag to the "super default" fields. It wasn't a problem with form submissions, but programatic submissions were tossing an error.

Revision 1.3.2.10 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jan 16 18:05:25 2008 UTC (22 months, 1 week ago) by mfredrickson
Branch: DRUPAL-5
Changes since 1.3.2.9: +39 -29 lines
Diff to previous 1.3.2.9 , to branch point 1.3
Fixing up the new cool "super default" feature: if a node does not override the default
(via a checkbox on the form), no data is stored in the db (pros and cons to that). On load,
the node is populated with the default values so that it appears to have a default view and
args. However, admins can update the site wide default for all nodes at once. Very
convenient. Frankly, this feature should be moved to CCK proper, but I don't care to fight
that battle. Enjoy it in viewfield!

Revision 1.3.2.9 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jul 10 23:07:25 2007 UTC (2 years, 4 months ago) by mfredrickson
Branch: DRUPAL-5
Changes since 1.3.2.8: +116 -36 lines
Diff to previous 1.3.2.8 , to branch point 1.3
Golly, there sure are a lot of changes in this checkin.

1. Viewfield now supports "smart defaults" where if you update it on the field admin page, it updates for all nodes. This is huge people. And it should be a feature of every CCK field.

2. Better recursion handling.

3. Upgrade path for people using the old arg style, but who want to switch to token.

4. Better use of views hooks. This could be better yet.

5. Misc other stuff.

This is probably still unstable, but it's totally rad and you are encouraged to try it out.

Revision 1.3.2.8 - (view) (download) (as text) (annotate) - [select for diffs]
Tue May 29 02:50:49 2007 UTC (2 years, 5 months ago) by mfredrickson
Branch: DRUPAL-5
Changes since 1.3.2.7: +16 -20 lines
Diff to previous 1.3.2.7 , to branch point 1.3
Token recursion seems to be fixed. Hurray. Checking in the work in #121496

Revision 1.3.2.7 - (view) (download) (as text) (annotate) - [select for diffs]
Tue May 29 02:29:10 2007 UTC (2 years, 5 months ago) by mfredrickson
Branch: DRUPAL-5
Changes since 1.3.2.6: +28 -22 lines
Diff to previous 1.3.2.6 , to branch point 1.3
Checking a requested feature: #142709

Revision 1.3.2.6 - (view) (download) (as text) (annotate) - [select for diffs]
Tue May 29 02:04:09 2007 UTC (2 years, 5 months ago) by mfredrickson
Branch: DRUPAL-5
Changes since 1.3.2.5: +2 -2 lines
Diff to previous 1.3.2.5 , to branch point 1.3
Fixing 'char' issue for postgesql (#146574) -- thanks to stormsweeper.

Revision 1.3.2.5 - (view) (download) (as text) (annotate) - [select for diffs]
Tue May 29 01:56:59 2007 UTC (2 years, 5 months ago) by mfredrickson
Branch: DRUPAL-5
Changes since 1.3.2.4: +109 -24 lines
Diff to previous 1.3.2.4 , to branch point 1.3
Comming by #138028 by Crell -- Restrict viewfields to certain views. Thanks for the patches and reviews. This is a nice feature.

Revision 1.3.2.4 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Apr 13 22:07:58 2007 UTC (2 years, 7 months ago) by mfredrickson
Branch: DRUPAL-5
CVS Tags: DRUPAL-5--1-2
Changes since 1.3.2.3: +7 -7 lines
Diff to previous 1.3.2.3 , to branch point 1.3
commenting out token module code until it's stable. here comes the next release...'
'

Revision 1.3.2.3 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Apr 13 21:44:06 2007 UTC (2 years, 7 months ago) by mfredrickson
Branch: DRUPAL-5
Changes since 1.3.2.2: +13 -5 lines
Diff to previous 1.3.2.2 , to branch point 1.3
adding support for non-required fields

Revision 1.3.2.2 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Mar 20 02:50:15 2007 UTC (2 years, 8 months ago) by mfredrickson
Branch: DRUPAL-5
Changes since 1.3.2.1: +34 -5 lines
Diff to previous 1.3.2.1 , to branch point 1.3
#121496 -- Checking ray007's patch for the token module. Right now, token has a recursion issue with CCK types, so this code will not be released until that gets fixed.

Revision 1.3.2.1 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Feb 28 20:42:48 2007 UTC (2 years, 8 months ago) by mfredrickson
Branch: DRUPAL-5
CVS Tags: DRUPAL-5--1-1
Changes since 1.3: +29 -8 lines
Diff to previous 1.3
Porting over changes from head. Branch management is not my strong suit. :P

Revision 1.4 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Feb 18 00:40:26 2007 UTC (2 years, 9 months ago) by mfredrickson
Branch: MAIN
Changes since 1.3: +29 -8 lines
Diff to previous 1.3
Fixed #118764
Implemented plugins as formatters from Eaton's patch in #100085

Revision 1.3 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Feb 5 03:23:48 2007 UTC (2 years, 9 months ago) by mfredrickson
Branch: MAIN
CVS Tags: DRUPAL-5--1-0
Branch point for: DRUPAL-5
Changes since 1.2: +81 -34 lines
Diff to previous 1.2
Viewfield for 5.0

Thanks to eaton, webchick, alex_b, yched, and stefano73 for helping get viewfield ready for Drupal 5.0.

This release is basically a compatibility release. Some changes to the implementation:
1. More reliance on the views formatters (as seems to be the norm for CCK fields now) for formatting regular node views.
2. The full node formatter is now the "default". This may break some existing views. It's worth the pain.
3. Added paging as per stefano73/alex_b's work. Relatively untested, but it looks good so far. (Thanks!)

Watch http://drupal.org/node/100971 for further updates on viewfield's future.

Revision 1.1.2.1 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Dec 2 20:57:27 2006 UTC (2 years, 11 months ago) by mfredrickson
Branch: DRUPAL-4-7
Changes since 1.1: +53 -1 lines
Diff to previous 1.1 , to next main 1.20
#94122 -- No formatters

Added two formatters: one displays the count of the items in the view. the other displays the view itself. very cool stuff. thanks to yched for the suggestion.

Revision 1.2 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Nov 13 16:29:44 2006 UTC (3 years ago) by mfredrickson
Branch: MAIN
Changes since 1.1: +2 -2 lines
Diff to previous 1.1
Mistakenly subsituted the node id instead of the user id for the author argument token.

Revision 1.1 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Nov 10 19:17:49 2006 UTC (3 years ago) by mfredrickson
Branch: MAIN
Branch point for: DRUPAL-4-7
Nodes hold content. Views save queries. Wouldn't be great if a node could hold a saved query? Now it can. Viewfield is a CCK field module that allows administrators to put views directly into nodes. When creating a node, users can select from a list of views. When the node is displayed, the view is run and the content is inserted into the body of the node.

initial commit

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.

  Diffs between and
  Type of Diff should be a

Sort log by:

  ViewVC Help
Powered by ViewVC 1.1.2