Не нравятся результаты поиска? Попробуйте другой поиск!
DLE FAQ » Все вопросы » Шаблоны (TPL) » How to change pagination position?

How to change pagination position?


     11.05.2018    Шаблоны (TPL), Стили (CSS), Ламерские вопросы    193

вопрос
Every time when I insert bootstrap table in shortstory.tpl to display some information to the main page I have this problem. Pagination appears above of the news but I want to change position and bring it down after news.

I'm sure that problem is bootstrap, because when I don't use table everything is ok, but after this not.

Is there any chance to change position from above to the down?

This is what I want to do:

How to change pagination position?


This is a demo site for you to better understand what I'm trying to do: Betz.iMED.GE

Ответил: w1st


Admin panel > System configuration > News setting > Display navigation on news pages > (Select what you need)
OR
{SITE}/engine/data/config.php
find there
'news_navigation' => '1',

0 - Off pagination
1 - Bottom
2 - Top
3 - Both

6 комментариев

GiorgiPera
Юзер

GiorgiPera - 12 мая 2018 00:02 -

shortstory.tpl
  <tbody>
    <tr>
      <td>{category}</td>
      <td>[xfvalue_maspindzeli_gundi] - [xfvalue_stumari_gundi]</td>
      <td>[xfvalue_chempionati_football]</td>
      <td>[xfvalue_tarigi_football]</td>
      <td>[xfvalue_koeficienti_football]</td>
      <td>[xfvalue_shedegi_football]</td>
    </tr>
  </tbody>


My created TPL files:

table_h.tpl
<div class="table-responsive" style="background-color: white">
<table class="table">
  <thead>
    <tr>
      <th><!--კატეგორია--></th>
      <th>მატჩი</th>
      <th>ჩემპიონატი</th>
      <th>თარიღი</th>
      <th>კოეფ.</th>
      <th>შედეგი</th>
    </tr>
  </thead>


table_f.tpl
</table>
</div>


main.tpl
[aviable=main]{include file="table_h.tpl"}[/aviable]
{info}
{content}
[aviable=main]{include file="table_f.tpl"}[/aviable]

deadluk
Юзер

deadluk - 13 мая 2018 14:38 -

after the table

<div class="clr"></div>


or

<div class="clrfix"></div>


in the style:

	.clr { clear: both }


or

	.clrfix:after { clear: both; content: ""; display: table; }


if I understood correctly.

GiorgiPera
Юзер

GiorgiPera - 13 мая 2018 21:40 -

The result is same :/ Nothing changed.

deadluk
Юзер

deadluk - 14 мая 2018 23:31 -

upload the template to any cloud. will time, i'll take a look in than the problem

GiorgiPera
Юзер

GiorgiPera - 16 мая 2018 13:00 -


w1st
Юзер

w1st - 9 июня 2018 06:06 -


Ok... i understand ...
Table can't contain <div> elements something like this:

<div class="table-responsive qwerty" style="background-color: white">
<table class="table test1">
	<thead>
		<tr>
		<th class="test2"><!--კატეგორია--></th>
			<th class="test3">მატჩი</th>
			<th class="test4">ჩემპიონატი</th>
			<th class="test5">თარიღი</th>
			<th class="test6">კოეფ.</th>
			<th class="test7">შედეგი</th>
		<div id="test4"></div>
		</tr>
	<div id="test1"></div>
	</thead>
	<div id="test2"></div>
</table>
</div>

Чтобы комментировать - войдите или зарегистрируйтесь на сайте

Похожие вопросы

наверх