251
zivXP
Re: Output of images in the block
  • 2023/2/19 15:04

  • zivXP

  • Not too shy to talk

  • Posts: 113

  • Since: 2006/2/9 1


It is necessary to display the image in the block only for the first article, the rest of the articles without images.
Will it be possible to do this?



252
heyula
Re: Output of images in the block
  • 2023/2/19 14:12

  • heyula

  • Theme Designer

  • Posts: 590

  • Since: 2008/4/24


Quote:
zivXP wrote: How to edit correctly publisher_items_spot.tpl? So that only the first article displays <{$item.image_path}>?
<{foreach item=item from=$block.items name=spotlight}>
        <{if 
$item.summary != ''}>
              <
div>
                    <{if 
$item.image_path}>
                        <
a href="<{$item.itemurl}>"><img src="<{$item.image_path}>" align="right" alt="<{$item.clean_title}>" title="<{$item.clean_title}>"></a>
                    <{/if}>
            <{
$item.summary}>
                </
div>
        <{/if}>
    <{/foreach}>
It will show yes if you make the settings as below. Resized Image
Resized Image
But my advice is to create the blocks using this plugin, which is much more dynamic. New Block for Publisher Module



253
zivXP
Re: Output of images in the block
  • 2023/2/19 13:22

  • zivXP

  • Not too shy to talk

  • Posts: 113

  • Since: 2006/2/9 1


How to edit correctly publisher_items_spot.tpl?
So that only the first article displays <{$item.image_path}>?

<{foreach item=item from=$block.items name=spotlight}>
<{if $item.summary != ''}>
<div>
<{if $item.image_path}>
<a href="<{$item.itemurl}>"><img src="<{$item.image_path}>" align="right" alt="<{$item.clean_title}>" title="<{$item.clean_title}>"></a>
<{/if}>
<{$item.summary}>
</div>
<{/if}>
<{/foreach}>



254
zivXP
Output of images in the block
  • 2023/2/19 10:52

  • zivXP

  • Not too shy to talk

  • Posts: 113

  • Since: 2006/2/9 1


Module "publisher". How to make sure that only one image is displayed in block "In the Spotlight!"?
Make an image output only for the last article.
May restrict the database request?



255
sweetlou
Re: Some questions about xoops
  • 2023/2/19 1:26

  • sweetlou

  • Just popping in

  • Posts: 10

  • Since: 2023/2/10


Thanks, but no thanks. It doesn't solve the other problems I have. I'm currently on the other CMS. I hope that one day I will be able to return when there will be more functionality.



256
zivXP
Re: survey
  • 2023/2/17 7:27

  • zivXP

  • Not too shy to talk

  • Posts: 113

  • Since: 2006/2/9 1


Quote:

en.oncom.ru/publisher.item.37/services.html

Thank you, I will try this option.
I tried to completely abandon this part (publisher.item.37), but it didn't work out.
I wanted to do en.oncom.ru/services.html
But I couldn't do it



257
Mamba
Re: Some questions about xoops
  • 2023/2/17 7:06

  • Mamba

  • Moderator

  • Posts: 11366

  • Since: 2004/4/23


Quote:
I can't use Xoops 2.5.11, because there are no language files for that version that will work properly.

Why don't then translate the files? It's pretty easy.

Just copy the /english folders and rename them to your local language name, and then translate the files there (Google Translate can help with that). Once you're done, you can upload them to GitHub, so others could use them too!

Quote:
I can't use Xoops 2.5.11, because there are no language files for that version that will work properly.

There shouldn't be any big language differences between XOOPS 2.5.10 and 2.5.11, but you can always compare language files from these two version using something like WinMerge
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs



258
Mamba
Re: Some questions about xoops
  • 2023/2/17 6:48

  • Mamba

  • Moderator

  • Posts: 11366

  • Since: 2004/4/23


Sorry to hear about your login problems. If it happens again, go to this link, and check the "Remeber me" box:

https://xoops.org/user.php
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs



259
Mamba
Re: survey
  • 2023/2/17 6:45

  • Mamba

  • Moderator

  • Posts: 11366

  • Since: 2004/4/23


Nice job, looks very good!

Congratulations!
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs



260
sweetlou
Re: Some questions about xoops
  • 2023/2/16 22:16

  • sweetlou

  • Just popping in

  • Posts: 10

  • Since: 2023/2/10


As I understand, there is no way to add the "online" status for users and the icons in titles. Just wasting time with Xoops instead of searching the other CMS. Too bad, I kind of like it. Even the documentation for Xoops is dead as the community. :sadface:




TopTop
« 1 ... 23 24 25 (26) 27 28 29 ... 29422 »



Login

Who's Online

101 user(s) are online (63 user(s) are browsing Support Forums)


Members: 0


Guests: 101


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits