README.md in editmode-1.2.5 vs README.md in editmode-1.2.6
- old
+ new
@@ -48,10 +48,16 @@
<%= E('cnk_x4ts............') %> # Using a chunk identifier
<%= E('marketing_page_headline') %> # Using a content key
<%= E('cnk_x4ts...', class: "a-css-class") %> # Render a chunk with inline css class
```
+### Working with multiple projects in the same codebase
+If you want to include content from a different project to the one you've specified in the initializer, you can pass the project id in to the view helper.
+```erb
+<%= E("cnk_16e04a02d577afb610ce", project_id: "prj_02d577afb617hdb") %>
+```
+
### Content can also be accessed in Controllers
```ruby
@page_title = e("cnk_x4ts............") # Using a chunk identifier
@page_title = e("marketing_page_seo_title") # Using a content key
```
@@ -75,9 +81,11 @@
# Collection Field with Variables
e("cnk_16e04a02d577afb610ce", "Email Content", variables: variable_values)
# Response: "Hi Dexter Morgan"
```
+
+
### Use collections for repeatable content
```erb
<%= c('col_j8fbs...', class: "profiles-container", item_class: "profile-item") do %>
<h3 class="name">