rica-carv

Results 26 comments of rica-carv

> > > Thank you @newbthenewbd ! Typically the white-space should be added in the PHP script, and not in the LAN_XXX, which is why it trims it by default....

I can't see why a user submited news fields can't be as the admin one. Of course, only admin fields should be rulled out, but almost any content oriented field...

Redefine the download button shortcode ({DOWNLOAD_VIEW_LINK} or {DOWNLOAD_MIRROR_LINK}) in your theme to do exactly that...

Indeed.At least a warning that the page you're about to delete has related chapters....

@Jimmi08 Humm, let's see if i understand. Chapter is a child of page, right? So why can't i delete a child of a parent page? It should always be allowed,...

@Jimmi08 Ok, i understand it works this way, but i have a big problem if i want to show error messages for my plugin in the frontend. For instance, with...

@Jimmi08 I don't have the debug extension ![Screenshot 2024-05-05 at 16-41-40 Filatelia (Catálogo) - Gerenciar imagens - Área do administrador SelosPT](https://github.com/e107inc/e107/assets/17130530/4f46e60f-f30e-4dab-a3cb-f4974ab295b0) As far i see it, it's because i'm using...

@Vodhin That will work, but if i have more conditions to set warning messages, it will be little bit redundant with the code....

Well, i think i catch the bug..... For instance, if i do ``` $msg = e107::getMessage(); ... e107::lan('phillis',"front", true); ... require_once(HEADERF); ... if (!e107::isInstalled('philcat')) { $msg->addwarning(LAN_PHILLIS_09); if (ADMIN == TRUE)...

> The LAN files need to be loaded before HEADERF @Vodhin Not quite.... ``` require_once(HEADERF); if (!e_QUERY && !(e107::getmenu()->isLoaded("philcat"))) { $msg->addwarning(LAN_PHILCAT_05); if (ADMIN == TRUE) { e107::lan('philcat',"admin", true); $msg->adderror(PHILCATLAN_72); }...