radiant-copy_move-extension 2.4.9 → 2.4.10

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 78048c80a53e80c524d1a9a6c80290729cd7dc9873a81b3857c813f7bbcc57df
4
- data.tar.gz: c030907e1dd9fd72e1fb8d8604b14d95368340eb25a6ab323d1a7e0445981cda
3
+ metadata.gz: 717faaba334ad9b9b720d03b961c108dfaf78685a9a72b3e4b2d51e2ca10c56a
4
+ data.tar.gz: 5e41844830988102722955ba97e8681efcfdc623eac4aeab667014bee5f5a88b
5
5
  SHA512:
6
- metadata.gz: 1d9541a952fd47381f53c8cf7c762e94b3daf21b71e44e6b01fcff57ba8eb1bdb91a62e5a4d24ea8c5d3551ee40320a95aa2a61068b64651b0b108b10309a79d
7
- data.tar.gz: 2a29b25a7345ce706994f149b83022756bce1321d8df02426a43f2974e4ecfc4ec70d9072e7d78bdb6ce5e7a46e5126db8c7c6c1dbd744e39e92b03703d2b0d2
6
+ metadata.gz: 420126e902cd04ac56b39b3e0d2ccd4f93d666478412bf0647f1e3910d055527013c0f16b59ddfdcfeb594370c26abc7e0b602a16d54081c03d2aa79d42298d6
7
+ data.tar.gz: 6f6d328e0c98b1dcafa2fc17c16756ef524c5bcd17999245e7439c88bee60fa071d9ca4fa03607b1996f495addfdd4432333c4a2df423e76b9f0d73813ec3395
data/HELP.rdoc CHANGED
@@ -48,15 +48,18 @@ This allows you to set the status of the new page and all its children.
48
48
  For larger sites, you may want to exclude certain pages from coming up in the "new parent" select for performance and/or usability reasons.
49
49
  There are 2 options:
50
50
 
51
- 1/ Create a page field called "exclude_children_from_copy_move_target" to not display it's children in the list.
52
- 2/ Set Radiant::Config["copy_move.exclude_archive_children"] to true to not display children from ArchivePages
51
+ 1. Create a page field called "exclude_children_from_copy_move_target" to not display it's children in the list.
52
+ 2. To not display children from ArchivePages, set:
53
+ Radiant::Config["copy_move.exclude_archive_children"]
53
54
 
54
55
  === Copy page attachments
55
56
 
56
57
  When using the {clipped extension}[https://github.com/radiant/radiant-clipped-extension], you may want page attachments to be copied along.
57
- To achieve this, set Radiant::Config["copy_move.copy_page_attachments"]
58
+ To achieve this, set:
59
+ Radiant::Config["copy_move.copy_page_attachments"]
58
60
 
59
61
  === Copy related pages
60
62
 
61
63
  When using the {relations extension}[https://github.com/jomz/radiant-relations-extension], you may want related pages to be copied alond.
62
- To achieve this, set Radiant::Config["copy_move.copy_page_relations"]
64
+ To achieve this, set:
65
+ Radiant::Config["copy_move.copy_page_relations"]
@@ -26,6 +26,9 @@ module CopyMove
26
26
  self.parts.each do |part|
27
27
  new_page.parts << part.clone
28
28
  end
29
+ self.fields.each do |field|
30
+ new_page.fields << field.clone
31
+ end
29
32
  new_page.send :add_to_list_bottom if defined?(Reorder)
30
33
  new_page.status_id = status.blank? ? new_page.status_id : status
31
34
  if self.respond_to?(:page_attachments) && Radiant::Config["copy_move.copy_page_attachments"]
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "radiant-copy_move-extension"
8
- s.version = "2.4.9"
8
+ s.version = "2.4.10"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Benny Degezelle", "Andrew vonderLuft"]
@@ -23,7 +23,6 @@ Gem::Specification.new do |s|
23
23
  "README.textile",
24
24
  "Rakefile",
25
25
  "TODO",
26
- "VERSION",
27
26
  "app/helpers/copy_move_helper.rb",
28
27
  "app/views/admin/pages/_copy_move_extra_td.html.haml",
29
28
  "app/views/admin/pages/_copy_move_extra_th.html.haml",
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: radiant-copy_move-extension
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.9
4
+ version: 2.4.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Benny Degezelle
@@ -39,7 +39,6 @@ files:
39
39
  - README.textile
40
40
  - Rakefile
41
41
  - TODO
42
- - VERSION
43
42
  - app/helpers/copy_move_helper.rb
44
43
  - app/views/admin/pages/_copy_move_extra_td.html.haml
45
44
  - app/views/admin/pages/_copy_move_extra_th.html.haml
data/VERSION DELETED
@@ -1 +0,0 @@
1
- 2.4.6