M
M
Martyer2015-01-16 22:41:53
css
Martyer, 2015-01-16 22:41:53

How to link pages in a template?

Hello. Maybe someone made dle templates and knows how to solve it.
I'm making a template, designed the main page, added some news and displayed them on the main page...
When I go to the news, it's as if the fullstory file is not being read.. there is no full news, only the main page is empty.. how to do it right?
here is the shorystory code, it seems that everything was correctly indicated:

<div class="MiniPost">
 <div class="MiniPostssss">

   <!-- DopInfo -->
   <a href="{full-link}" class="MiniPostPoster">
    [xfgiven_img]<img src="[xfvalue_img]">[/xfgiven_img]
   </a>
   
   <!-- ModelWindowsTrailer -->
</div>
  <div class="MiniPostTitle">
      <center>[full-link]{title}[/full-link]</center>
</div>
</div>

and there is another problem. When I follow the link of any category => http://******/main/, then again only the main page without news is displayed, although there is news in the category And plus the logo disappears, i.e. the logo image, if I go to the /main/ category, then the browser looks for a picture not in .../images/logo.png, but in /main/.../images/logo.png
Please help who knows.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
l2p, 2015-01-16
@l2p

How do you specify paths for images?
- {THEME}/images/*.png in .tpl files
- ../images/*.png in .css files
Nothing is clear about the rest. You ask why the fullstory is not displayed and throw shortstory. Everything is fine with shortstory. In general, there can be many problems. I haven't used DLE for a long time, so I won't tell you the options right off the bat.
Is there a complete news with the default template?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question