Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
tablefield-3199886
Manage
Activity
Members
Labels
Plan
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Issue forks
tablefield-3199886
Commits
f16d1728
Commit
f16d1728
authored
14 years ago
by
Kevin Hankens
Browse files
Options
Downloads
Patches
Plain Diff
Initial update to Field API for D7 - major changes
parent
be09f99a
No related branches found
No related tags found
No related merge requests found
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
README.txt
+1
-1
1 addition, 1 deletion
README.txt
tablefield.css
+5
-5
5 additions, 5 deletions
tablefield.css
tablefield.info
+4
-3
4 additions, 3 deletions
tablefield.info
tablefield.install
+0
-8
0 additions, 8 deletions
tablefield.install
tablefield.module
+263
-253
263 additions, 253 deletions
tablefield.module
with
273 additions
and
270 deletions
README.txt
+
1
−
1
View file @
f16d1728
...
...
@@ -8,7 +8,7 @@ INSTALLATION
------------
- Copy tablefield directory to /sites/all/modules
- Enable module at /admin/build/modules
- Add a tablefield to a
cont
ent
ty
pe
at /admin/
content/types
- Add a tablefield to a
n
ent
i
ty at /admin/
structure
AUTHOR/MAINTAINER
-----------------
...
...
This diff is collapsed.
Click to expand it.
tablefield.css
+
5
−
5
View file @
f16d1728
/* $Id$ */
#content-field-edit-form
.node-tablefield
.form-text
,
.field-widget-tablefield
.node-tablefield
.form-text
,
.node-form
.node-tablefield
.form-text
{
width
:
auto
;
margin
:
1px
1px
1px
1px
;
padding
:
1px
1px
1px
1px
;
}
#content-field-edit-form
.node-tablefield
.form-item
,
.field-widget-tablefield
.node-tablefield
.form-item
,
.node-form
.node-tablefield
.form-item
{
float
:
left
;
margin
:
0
0
0
0
;
padding
:
0
0
0
0
;
}
#content-field-edit-form
.node-tablefield
table
,
.field-widget-tablefield
.node-tablefield
table
,
.node-form
.node-tablefield
table
{
width
:
auto
;
}
#content-field-edit-form
.node-tablefield
table
tr
td
,
.field-widget-tablefield
.node-tablefield
table
tr
td
,
.node-form
.node-tablefield
table
tr
td
{
margin
:
0
0
0
0
;
padding
:
0
0
0
0
;
}
#content-field-edit-form
.node-tablefield
.tablefield-rebuild
,
.field-widget-tablefield
.node-tablefield
.tablefield-rebuild
,
.node-form
.node-tablefield
.tablefield-rebuild
{
margin-top
:
0.5em
;
}
This diff is collapsed.
Click to expand it.
tablefield.info
+
4
−
3
View file @
f16d1728
; $Id$
name = TableField
description = Defines a generic tablular data field.
dependencies[] = content
package = CCK
core = 6.x
core = 7.x
files[] = tablefield.css
files[] = tablefield.module
files[] = tablefield.install
This diff is collapsed.
Click to expand it.
tablefield.install
+
0
−
8
View file @
f16d1728
...
...
@@ -10,16 +10,12 @@
* Implementation of hook_install().
*/
function
tablefield_install
()
{
drupal_load
(
'module'
,
'content'
);
content_notify
(
'install'
,
'tablefield'
);
}
/**
* Implementation of hook_uninstall().
*/
function
tablefield_uninstall
()
{
drupal_load
(
'module'
,
'content'
);
content_notify
(
'uninstall'
,
'tablefield'
);
}
/**
...
...
@@ -28,8 +24,6 @@ function tablefield_uninstall() {
* Notify content module when this module is enabled.
*/
function
tablefield_enable
()
{
drupal_load
(
'module'
,
'content'
);
content_notify
(
'enable'
,
'tablefield'
);
}
/**
...
...
@@ -38,7 +32,5 @@ function tablefield_enable() {
* Notify content module when this module is disabled.
*/
function
tablefield_disable
()
{
drupal_load
(
'module'
,
'content'
);
content_notify
(
'disable'
,
'tablefield'
);
}
?>
This diff is collapsed.
Click to expand it.
tablefield.module
+
263
−
253
View file @
f16d1728
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment