T
T
Timur Mukhtarov2014-08-07 11:30:40
PHP
Timur Mukhtarov, 2014-08-07 11:30:40

How to cut tags inserted by Drupal?

The code is inserted through the node
FireBug shows the following code:

<div class="m-slider">
  <div class="sliderBox">
    <div class="owl-stage-outer">
      <div class="owl-stage" style="width: 810px; transform: translate3d(0px, 0px, 0px); transition: all 0.25s ease 0s;">
        <div class="owl-item active" style="width: 810px; margin-right: 0px;">
          <div class="view view-flock-salon view-id-flock_salon view-display-id-block_1 view-dom-id-daf568a99ac877d7cf32c6c7dc214cf5">
            <div class="view-content">
              <div class="views-row views-row-1 views-row-odd views-row-first">
                <pre class="xdebug-var-dump" dir="ltr">
                  !!!!!!!<div class="item">!!!!!!!

And it should be:
<div class="m-slider">
  <div class="sliderBox">
    !!!!!!!<div class="item">!!!!!!!

Where does it come from and how to remove it:
<div class="owl-stage-outer">
<div class="owl-stage" style="width: 810px; transform: translate3d(0px, 0px, 0px); transition: all 0.25s ease 0s;">
<div class="owl-item active" style="width: 810px; margin-right: 0px;">
<div class="view view-flock-salon view-id-flock_salon view-display-id-block_1 view-dom-id-daf568a99ac877d7cf32c6c7dc214cf5">
<div class="view-content">
<div class="views-row views-row-1 views-row-odd views-row-first">
<pre class="xdebug-var-dump" dir="ltr">

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Drupby, 2014-08-07
@fearintino

<div class="owl-stage-outer">
<div class="owl-stage" style="width: 810px; transform: translate3d(0px, 0px, 0px); transition: all 0.25s ease 0s;">
<div class="owl-item active" style="width: 810px; margin-right: 0px;">

it's obviously OwlCarousel
<div class="view view-flock-salon view-id-flock_salon view-display-id-block_1 view-dom-id-daf568a99ac877d7cf32c6c7dc214cf5">
<div class="view-content">
<div class="views-row views-row-1 views-row-odd views-row-first">

read about the theming of views (view templates)
this is xdebug, which, as I understand it, is unnecessarily included

S
Stanislav Ezersky, 2015-06-15
@EzS

To cut out the unnecessary, you need to know perfectly well what is theming, the Drupal API and module templates. Having dealt with this, you will make “clean” sites. When developing sites, nothing remains of Drupal (in code) for me, practically

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question