Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
V
views_row_insert
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
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
project
views_row_insert
Merge requests
!3
Created readme file
Code
Review changes
Check out branch
Download
Patches
Plain diff
Open
Created readme file
issue/views_row_insert-3338869:3338869-readme-update
into
8.x-2.x
Overview
0
Commits
3
Pipelines
0
Changes
1
Open
Ravi Kant kumawat
requested to merge
issue/views_row_insert-3338869:3338869-readme-update
into
8.x-2.x
1 year ago
Overview
0
Commits
3
Pipelines
0
Changes
1
Expand
Related to
#3338869
0
0
Merge request reports
Compare
8.x-2.x
version 2
d65b513d
1 year ago
version 1
050db24e
1 year ago
8.x-2.x (HEAD)
and
latest version
latest version
abc9bf45
3 commits,
1 year ago
version 2
d65b513d
2 commits,
1 year ago
version 1
050db24e
1 commit,
1 year ago
1 file
+
23
−
34
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
README.md
+
23
−
34
Options
# Views Row Insert
This module provides a view style plugin, which is capable to insert custom
row
with html
unrestricted
markup or blocks content into a view row results after
every
nth row.
This module provides a view style plugin, which is capable to insert custom
row
with html markup or blocks content into a view row results after
every
nth row.
The inserted row may contain a standard Drupal block created by views or other
modules or user's content block with custom content. Custom class names along
with the default row classes like views-row, views-row-1 and standard
striping (odd/even), first/last row classes can be applied to inserted and
regular rows.
The inserted row can contain a standard Drupal block created by modules like
views, etc., or user's content block with custom html content. The row can use
the custom class names along with the default row classes like views-row-1 and
standard striping (odd/even), first/last row classes or it can go without them.
This module can be used for placing Google Adsense or any other code
snippets/content into your views
results
.
snippets/content into your views
items output
.
For a full description of the module, visit the
[
project page
](
https://www.drupal.org/project/views_row_insert
)
.
@@ -30,43 +29,33 @@ Submit bug reports and feature suggestions, or track changes in the
## Requirements
Depends on views modul
e.
This module requires no modules outside of Drupal cor
e.
## Installation
To install this module, do the following:
1.
Extract the tar ball that you downloaded from Drupal.org.
2.
Upload the entire directory and all its contents to your modules directory.
Install as you would normally install a contributed Drupal module. For further
information, see
[
Installing Drupal Modules
](
https://www.drupal.org/docs/extending-drupal/installing-drupal-modules
)
.
## Configuration
To enable and configure this module do the following:
1.
Go to Admin -> Modules, and enable Views Rows Insert.
2.
Create a view or open an existing view display settings page and click on
style plugin name next to
`"Format:"`
label at the
`"FORMAT"`
section.
Choose
`"Insert Rows"`
style plugin in the list and click
`"Apply"`
.
3.
Choose the Row type by selecting
`"Block"`
or
`"Custom content"`
radio button.
1.
Create a view or open an existing view display settings page and click on
style plugin name next to "Format:" label at the "FORMAT" section. Choose
"Insert Rows" style plugin in the list and click "Apply".
1.
Choose the Row type by selecting "Block" or "Custom content" radio button.
Depending on your choice, select a block name from the list or fill the
`
"Custom content"
`
textarea field. Be careful, this field does not filters out
"Custom content" textarea field. Be careful, this field does not filters out
your input.
4
.
Select a number of rows to skip at
`
"Insert after every Nth row"
`
and also
you
can check some other settings like
`
"Start with inserted row"
`
,
"Insert row at
the bottom" or "Limit the amount of inserted rows".
5
.
Enter name of the row class if any and configure other class related
1
.
Select a number of rows to skip at "Insert after every Nth row" and also
you
can check some other settings like "Start with inserted row",
"Insert row at
the bottom" or "Limit the amount of inserted rows".
1
.
Enter name of the row class if any and configure other class related
settings.
**Customization**
To override the default output html markup, you may edit the template file
views-row-insert.html.twig located inside module's templates folder.
## Maintainers
-
Polarwinds -
[
P
olarwinds
](
https://www.drupal.org/u/polarwinds
)
-
Philippe Joulot -
[
phjou
](
https://www.drupal.org/u/phjou
)
-
Polarwinds -
[
p
olarwinds
](
https://www.drupal.org/u/polarwinds
)
-
Philippe Joulot -
[
phjou
](
https://www.drupal.org/u/phjou
)
\ No newline at end of file
Loading