11
heyula
Re: Output of images in the block
  • 2023/2/19 18:55

  • heyula

  • Theme Designer

  • Posts: 590

  • Since: 2008/4/24


ok you can do much better.

If you want, install the publisher module and send the ftp information, I'll do it.

As an example, the following site was made with the code block I gave you

Resized Image


Demo:
https://www.ilkguninsaat.com/

In short, you can do whatever you want.



12
heyula
Re: Output of images in the block
  • 2023/2/19 18:04

  • heyula

  • Theme Designer

  • Posts: 590

  • Since: 2008/4/24


If I understand correctly you want to do something like this

Resized Image


New Block for Publisher Module



13
heyula
Re: Output of images in the block
  • 2023/2/19 17:59

  • heyula

  • Theme Designer

  • Posts: 590

  • Since: 2008/4/24


Quote:

zivXP wrote:
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?


Yes you can do this with the following:

https://xoops.org/modules/newbb/viewtopic.php?topic_id=79187



14
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



15
heyula
Re: survey
  • 2023/2/16 18:37

  • heyula

  • Theme Designer

  • Posts: 590

  • Since: 2008/4/24


Nice job.

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

instead

en.oncom.ru/modulename.37/services.html

You can use the code below for publisher's seo friendly link

https://xoops.org/modules/publisher/item.php?itemid=6071



16
heyula
Re: Some questions about xoops
  • 2023/2/12 15:26

  • heyula

  • Theme Designer

  • Posts: 590

  • Since: 2008/4/24


Resized Image


Maybe it will meet your needs when the theme is finished soon.

Demo:
https://erenyumak.com/ato/



17
heyula
Re: Icon fonts are not displayed
  • 2023/2/12 15:18

  • heyula

  • Theme Designer

  • Posts: 590

  • Since: 2008/4/24


Quote:

zivXP wrote:
Thanks for the answer, but it doesn't help
Also tried Header set Access-Control-Allow-Origin "*" - that didn't help either


You may not realize it, but the code completely solved your problem.

Example :https://corder.ru/

Resized Image


Example :https://www.corder.ru/

Resized Image


If you clear the caches in your browser, the result will be the same for you.

I have this problem most of the time and I always use this solution.

Demo:
https://erenyumak.com/modules/xmcontent/viewcontent.php?content_id=13



18
heyula
Re: Icon fonts are not displayed
  • 2023/2/12 12:39

  • heyula

  • Theme Designer

  • Posts: 590

  • Since: 2008/4/24


Add the following code to your .htaccess file in the Main Directory;
<FilesMatch ".(ttf|otf|eot|woff|woff2)$">
  <
IfModule mod_headers.c>
    
Header set Access-Control-Allow-Origin "*"
  
</IfModule>
</
FilesMatch>



19
heyula
Re: Is Xoops SEO friendly on URLS?
  • 2022/11/23 5:21

  • heyula

  • Theme Designer

  • Posts: 590

  • Since: 2008/4/24


If you use publisher as content module, seo compatible links are available.

Publisher Seo
https://xoops.org/modules/publisher/item.php?itemid=6071
Demo:https://sevamed.com.tr/sevamed-17/sevamed.html

For seo compatible links on fixed pages

xmcontent
Demo:https://www.togaysan.com.tr/icerikler-1-hakkimizda.html
https://github.com/GregMage/xmcontent

RewriteEngine On
RewriteRule    
^content-([0-9]+)/.*.html$    modules/xmcontent/viewcontent.php?content_id=$1
RewriteRule    
^content-.*/viewcontent.php$    modules/xmcontent/viewcontent.php? [QSA]
RewriteRule    ^content-.*/comment_edit.php$    modules/xmcontent/comment_edit.php [QSA]
RewriteRule    ^content-.*/comment_reply.php$    modules/xmcontent/comment_reply.php [QSA]
RewriteRule    ^content-.*/comment_delete.php$    modules/xmcontent/comment_delete.php [QSA]
RewriteRule    ^content-.*/comment_post.php$    modules/xmcontent/comment_post.php [QSA]
RewriteRule    ^content-.*/comment_new.php$    modules/xmcontent/comment_new.php [QSA]
RewriteRule    ^content modules/xmcontent/index.html


An example of a site where all modules for Xoops are set and used as seo compatible
Contact Module:
Original Link:
https://www.gezginler.net/modules/contact/
Seo Link:
https://www.gezginler.net/iletisim/



20
heyula
Re: Bulma: the modern CSS framework
  • 2022/11/7 10:46

  • heyula

  • Theme Designer

  • Posts: 590

  • Since: 2008/4/24


Demo:
https://turkish.erenyumak.com/




TopTop
« 1 (2) 3 4 5 ... 24 »



Login

Who's Online

247 user(s) are online (148 user(s) are browsing Support Forums)


Members: 0


Guests: 247


more...

Donat-O-Meter

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

Latest GitHub Commits