111
svenhard
Re: publisher
  • 2023/9/20 15:02

  • svenhard

  • Just popping in

  • Posts: 1

  • Since: 2023/9/20


I apologize if this is the wrong place to post this. I've been trying to locate recent conversations about implementing an image slider directly into the Publisher module, but all discussions seem to be referencing older versions of XOOPS.

I'm building a comic strip website and I ultimately want each post to have single panel images that can be swiped like an Instagram post. I currently have a responsive CSS carousel that I could manually enter as code into an article post, but that is messy and time consuming.

So, I just wanted to know if this has been successfully implemented before I invest a lot of time doing dev work someone else already did.



112
Mamba
Re: Smarty 3 and Smarty 4 coming soon to XOOPS
  • 2023/9/13 16:10

  • Mamba

  • Moderator

  • Posts: 11374

  • Since: 2004/4/23


This site is actually running already on 2.5.11 and Smarty 3

While we encourage to test the code from GitHub, don't use it yet on production sites.
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs



113
zivXP
Re: Smarty 3 and Smarty 4 coming soon to XOOPS
  • 2023/9/11 12:46

  • zivXP

  • Not too shy to talk

  • Posts: 113

  • Since: 2006/2/9 1


Quote:

Mamba wrote:
There are still couple of minor issues, but it looks pretty solid. Yesterday I upgraded our test site that it's quite big, and it went pretty well.


That's cool!



114
Mamba
Re: Smarty 3 and Smarty 4 coming soon to XOOPS
  • 2023/9/11 12:04

  • Mamba

  • Moderator

  • Posts: 11374

  • Since: 2004/4/23


It's getting closer!

We're still testing and making improvements, as you can see from the commits on GitHub and Pull Requests

There are still couple of minor issues, but it looks pretty solid. Yesterday I upgraded our test site that it's quite big, and it went pretty well.
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs



115
zivXP
Re: Smarty 3 and Smarty 4 coming soon to XOOPS
  • 2023/9/10 18:38

  • zivXP

  • Not too shy to talk

  • Posts: 113

  • Since: 2006/2/9 1


Any news on Xoops 2.5.11?



116
zivXP
Re: Restrict the "title" field
  • 2023/8/12 20:21

  • zivXP

  • Not too shy to talk

  • Posts: 113

  • Since: 2006/2/9 1


Quote:

Mamba wrote:
Why? What's the reason?


This is done for a news aggregator (dzen.ru ). Their conditions have changed.



117
Mamba
Re: How to use XOOPS tree?
  • 2023/8/12 8:04

  • Mamba

  • Moderator

  • Posts: 11374

  • Since: 2004/4/23


Yes, when you use the getChildTreeArray function, you include it like this:

$tree->getChildTreeArray(0'title ASC');
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs



118
Mamba
Re: Restrict the "title" field
  • 2023/8/12 7:48

  • Mamba

  • Moderator

  • Posts: 11374

  • Since: 2004/4/23


Why? What's the reason?
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs



119
zivXP
Re: Restrict the "title" field
  • 2023/8/11 12:22

  • zivXP

  • Not too shy to talk

  • Posts: 113

  • Since: 2006/2/9 1


Quote:

goffy wrote:
hi

you can add a truncate in your template file
e.g. <{$title|truncate:80}>


Thanks!



120
zivXP
Re: Restrict the "title" field
  • 2023/8/11 12:15

  • zivXP

  • Not too shy to talk

  • Posts: 113

  • Since: 2006/2/9 1


I did what I needed to do. Maybe someone else will need it.
modules/news/include
edit files storyform.inc.php and storyform.original.php

$sform = new XoopsThemeForm(_NW_SUBMITNEWS, "storyform", XOOPS_URL.'/modules/'.$xoopsModule->getVar('dirname').'/submit.php');
$sform->setExtra('enctype="multipart/form-data"');
$sform->addElement(new XoopsFormText(_NW_TITLE, 'title', 50, 255, $title), true);

replace 255 with 80

This is done for a news aggregator, as conditions have changed there.




TopTop
« 1 ... 9 10 11 (12) 13 14 15 ... 29424 »



Login

Who's Online

158 user(s) are online (89 user(s) are browsing Support Forums)


Members: 0


Guests: 158


more...

Donat-O-Meter

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

Latest GitHub Commits