Questions tagged [pyrocms]

PyroCMS is a lightweight, themeable open-source CMS built on top of the PHP framework Laravel, praised for its simplicity.

PyroCMS is an open-source content management system based on Laravel.

420 questions
1
vote
1 answer

How to host my PyroCMS web page

So I have created my web page based on PyroCMS, adding some custom modules. Developing was done on localhost using wampserver. Now I need to put this website online, so I'm trying to test it using free hosting. I uploaded my project folder on…
andree
  • 3,084
  • 9
  • 34
  • 42
1
vote
2 answers

PyroCMS - Loading a custom library in a module

I'm writing a PyroCMS module which involves image upload and thumbnail generation. I'm aware codeigniter has a built in image manipulation class that's capable of making thumbnails, but I'm a big for of phpThumb'ss adaptive resize function. For this…
edhardie
  • 299
  • 1
  • 5
  • 15
1
vote
1 answer

{{ user:username }} not always returning right username

I am using Pyro CMS and implementing its custom module. In this module when I am to get the user name by {{user:username}} it returns wrong value. So I want to ask that is it correct way to get username or here is any error. I there any other way to…
Code Lღver
  • 15,573
  • 16
  • 56
  • 75
1
vote
3 answers

Tracking down mysterious session-ending bug

I'm using Codeigniter/PyroCMS which uses ion_auth. I have my session stuff set for two hours. I'm using db sessions. There is a gremlin somewhere that is booting the session after n minutes, sometimes. It is very random, and as such is hard…
stormdrain
  • 7,915
  • 4
  • 37
  • 76
1
vote
1 answer

Pyrocms Contact form in facebook tabs - displaying errors on page load

I'm trying to use the PyroCMS Contact form in a facebook tab. When displaying the page directly, everything is OK, the form page is displayed as wished without error message. https://facebook.noviris.com/tests/contact When I integrate this page via…
Khalil TABBAL
  • 817
  • 6
  • 12
1
vote
1 answer

Can I have a multi-lingual navigation when using PyroCMS?

I'm running version 1.3.2 which was until very recently the most recent version. I don't know if this has changed in 2.0.0 but I won't be upgrading my project anyway so it doesn't really matter. I'd like to have a multilingual navigation but the…
Matt
  • 9,068
  • 12
  • 64
  • 84
1
vote
1 answer

Pyrocms : blank page on database load

I have a website running with Pyrocms & CodeIgniter. My config is the following: Debian: 5.0.9 Apache: 2.2.9 MySQL: 5.0.51 PHP: 5.2.6-1 I'm facing the following problem: I receive POST requests to insert messages in my database. Sometimes the…
Khalil TABBAL
  • 817
  • 6
  • 12
1
vote
1 answer

Trouble using dbforge with PyroCMS (CI based CMS)

I have been using PyroCMS and CI for quite some time, and truly love it. I am extending a DB module that will allow an admin user to manage a DB without having to use something like phpMyAdmin. The only thing I have been able to get working however…
jiminikiz
  • 2,867
  • 1
  • 25
  • 28
1
vote
1 answer

Traverse array in pyrocms template variable

I've adapted the File plugin to list all folders and inside of them list all files. The code is more or les like this: $folders = assoc_array_prop($this->file_folders_m->get_all()); $counter = 1; foreach ($folders as $key => $folder)…
Ignacio
  • 7,947
  • 15
  • 63
  • 74
1
vote
1 answer

How to add wysiwyg editor in "HTML" pyrocms widget

I would say if it's possible to add wysiwyg editor (CKeditor) in "HTML" pyrocms widget. I'm trying in this way, but it doesn't work: 1) In "system/cms/modules/widgets/controllers/admin.php", I've changed __constructor method: $this->template …
freesurf
  • 31
  • 4
1
vote
1 answer

Where should my system and addons folders reside for PyroCMS?

I have just completed a fresh install of PyroCMS on a dev server and it appears that the system and addons folder reside above the document root folder within "public_html". PyroCMS is based off of CodeIgniter and every time I did a CodeIgniter…
bigmike7801
  • 3,908
  • 9
  • 49
  • 77
1
vote
1 answer

How can I borrow PyroCMS' WYSIWYG editor for a module of my own?

I've included the following in the admin controller method (as per the pages admin controller): admin.js CodeMirror.js wysiwyg.php includes some more javascript and initialises the FCKeditor But my