1
heyula
Re: publisher 1.08
  • 2023/6/24 13:15

  • heyula

  • Theme Designer

  • Posts: 590

  • Since: 2008/4/24


I think the Publisher module is Xoops itself. Errors in the blocks are fixed simply, but the important thing is that there is a section in the publisher where we can add additional fields.



2
heyula
Re: Update site
  • 2023/6/24 13:12

  • heyula

  • Theme Designer

  • Posts: 590

  • Since: 2008/4/24


You will get php version error in all modules you use on the site. Most modules on chlmz.com will not work in Xoops 2.5.11



3
heyula
Re: survey
  • 2023/6/24 13:08

  • heyula

  • Theme Designer

  • Posts: 590

  • Since: 2008/4/24


You can try..

# Adding a category
RewriteRule ^publisher-([a-z-]+)/?$ modules/publisher/category.php?categoryid=$[L]



4
heyula
Re: how to change newbb photo width?
  • 2023/6/9 11:41

  • heyula

  • Theme Designer

  • Posts: 590

  • Since: 2008/4/24


You can adjust the height with css.

Example code:

.res img {
    
floatleft;
    
border2px solid #e5e9f2;
    
width255px;
    
height190px;
    
margin-right5px;
}


or

class/textsanitizer/image/config.php

return $config = array(
    
// Click to open an image in a new window in full size using CaricaFoto
    
'clickable' => 1,
    
// Resize the image down to max_width set below
    
'resize'    => 1,
    
// Maximum width of an image displayed on page, otherwise it will be resized
    
'max_width' => 300);



5
heyula
Re: Publisher - change the tag
  • 2023/3/7 17:52

  • heyula

  • Theme Designer

  • Posts: 590

  • Since: 2008/4/24


If you enter the metadata in the other tab of the publisher while adding the article, you will get what you want.

Resized Image


Resized Image



6
heyula
Re: Output of images in the block
  • 2023/2/24 17:39

  • heyula

  • Theme Designer

  • Posts: 590

  • Since: 2008/4/24


If you want to use Xoops in a much more flexible way, I recommend using Blocks anywhere <{block id=x}>. @trabis quote from "Blocks anywhere" is a smarty plugin that provides an easy way to place a block in a theme or template. Just upload this smarty plugin to class/smarty/xoops_plugins folder and you will be able to add a block using the following method:
<{block id=1}>
Replace '1' by the id of the block you want to display. You can find id of block in blocks administration(or groups), just hover the mouse over block 'EDIT' link and you will see something like this: .../modules/system/admin.php?fct=blocksadmin&op=edit&bid=3 This plugin respects XOOPS permissions. It will only display the block for users that are allowed to see it(as set in groups permissions). This plugin also takes in consideration cached blocks. Version 1.1 brings you some new cool options such as: display = 'title' -> shows just title display = 'none' -> renders the block but does not display it options = 'enter|block|options' -> overwrites block default options groups = 'enter|allowed|groups' -> overwrites block default group view permissions cache = 3600 -> overwrite cache time(in seconds) Code examples:
<{block id=1 display="title"}>   displays just the block title
<{block id=1}>                   displays just the block content
<{block id=7 display="none"}>    does not display nothing but executes the blockthis can go for online block or to trigger some cron block
<{block id=600 groups="0|1" cache=20}>  display block just for this 2 groups and sets a cache of 20 seconds
<{block id=600 options="100|100|s_poweredby.gif|0"}> displays block with diferent options
Usage example: Place your 'multimenu' block in your theme. Invisible online block that updates online users table. Add an image gallery block inside article category page. Add users online block into yogurt profile page Footnote: Plugin now comes standard on current Xoops versions



7
heyula
Re: Output of images in the block
  • 2023/2/24 15:15

  • heyula

  • Theme Designer

  • Posts: 590

  • Since: 2008/4/24


You can't solve this by changing the tpl file.

publisher/blocks/items_spot.php You need to edit the php file.



8
heyula
Re: Switching themes
  • 2023/2/24 15:08

  • heyula

  • Theme Designer

  • Posts: 590

  • Since: 2008/4/24


There is already a block for this. Themes block in the system module. But if you want to do it with a button, you can use the code below. domain.com/index.php?xoops_theme_select=XH-003
<div class="btn-group" role="group" aria-label="Basic mixed styles example">
  <
button type="button" class="btn btn-danger"><a href="https://domain.com/index.php?xoops_theme_select=XH-003">Tema 1</button>
  <
button type="button" class="btn btn-warning"><a href="https://domain.com/index.php?xoops_theme_select=XH-004">Tema 2</button>
  <
button type="button" class="btn btn-success"><a href="https://domain.com/index.php?xoops_theme_select=XH-005">Tema 3</button>
</
div>
Resized Image



9
heyula
Re: Output of images in the block
  • 2023/2/21 14:52

  • heyula

  • Theme Designer

  • Posts: 590

  • Since: 2008/4/24


Publisher 1.8.0 Alpha.8 (01/14/2022)

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



10
heyula
Re: Output of images in the block
  • 2023/2/21 12:25

  • heyula

  • Theme Designer

  • Posts: 590

  • Since: 2008/4/24


Quote:
zivXP wrote: Quote:
heyula wrote: As an example, the following site was made with the code block I gave you
Unfortunately, I could not launch such a block on my website. An error message is displayed: A problem has occurred on our server! Error: Class 'PublisherHelper' not found. Could you write in more detail how to do this? Inserted into the subject: <{includeq file="$theme_name/date-news.tpl"}> The file date-news.tpl is located in themes/xbootstrap The contents of the file as you specified.
The version of the publisher module you are using is outdated. You are getting this error because the classes in the older versions of the publisher are not the same as the new versions.




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



Login

Who's Online

211 user(s) are online (27 user(s) are browsing Support Forums)


Members: 0


Guests: 211


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