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
Demo:
https://www.ilkguninsaat.com/
In short, you can do whatever you want.
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?
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}>
zivXP wrote:
Thanks for the answer, but it doesn't help
Also tried Header set Access-Control-Allow-Origin "*" - that didn't help either
<FilesMatch ".(ttf|otf|eot|woff|woff2)$">
<IfModule mod_headers.c>
Header set Access-Control-Allow-Origin "*"
</IfModule>
</FilesMatch>
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