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
22
votes
2 answers

Conditional SetEnv in .htaccess?

Is it possible to set a SetEnv variable in an .htaccess file differently depending on hostname? For example, I need my .htaccess file to have the following value: SetEnv PYRO_ENV production On production boxes, and... SetEnv PYRO_ENV stage On…
Highway of Life
  • 22,803
  • 16
  • 52
  • 80
14
votes
5 answers

Convert a PHP date format to a jQueryUI Datepicker date format

[EDIT] : I guess people had problem to understand exactly what I mean, so I completely rewrote my explanations. I work on a project where users can define a date format used in the whole site. It uses PHP date format standard. For example :…
Tristan Jahier
  • 1,127
  • 1
  • 12
  • 27
10
votes
11 answers

Action you have requested is not allowed error

I made a module named Gallery which works fine on my localhost with version 2.0.3, but when using version 2.1.0 on a remote site I can not submit a form and I get the error: The action you have requested is not allowed. Why is this?
Faruk Omar
  • 1,173
  • 2
  • 14
  • 22
7
votes
2 answers

API - Error 202 "Your credentials do not allow access to this resource"

I am trying to use account/verify_credentials and statuses/update with the Twitter API. I always get an error 202, please see error returned below: {"errors":[{"code":220,"message":"Your credentials do not allow access to this resource."}]}
6
votes
7 answers

How to join the same table twice and assign table aliases in Codeigniter?

I'm trying to make a mail system in Codeigniter with the PyroCms. In my mail table, I have a "recipent" row and a "sender" row which contains the user id of the sender and recipient. To retrieve usernames from the ids, I'm trying to join the table…
Jonas m
  • 2,646
  • 3
  • 22
  • 43
6
votes
1 answer

PyroCMS: how to share resources between modules?

I'm new to PyroCMS and struggling to get help on the forums (slow responses, minimal activity, etc.). So, I'm hoping someone here on SO can help. How do I share resources (e.g. models, controllers, views, etc.) between modules? It seems that every…
StackOverflowNewbie
  • 39,403
  • 111
  • 277
  • 441
6
votes
3 answers

PyroCMS helper documentation

I'm working on a PyroCMS project, but having problems due to the lack of complete documentation. Does anyone know where I can find a list of core helpers, such as {pyro:navigation:links}?
Adam Hopkinson
  • 28,281
  • 7
  • 65
  • 99
6
votes
2 answers

can't add git submodule to repository

(Predominantly a Git question, but may be relevant to other PyroCMS users) I have a local repository of PyroCMS - the repo is a clone of a github fork of the main project. I also have a PyroCMS module, which is also a local clone of a github fork…
William Turrell
  • 3,227
  • 7
  • 39
  • 57
5
votes
2 answers

How to get Currently logged user's ID in pyrocms?

Now I have a project with pyrocms, I have a problem to get the current id user in module's controller, does anyone know how to get it?
5
votes
3 answers

Port Codeigniter App to PyroCMS

I'm working on a web application in Codeigniter. I'd like to integrate the functionality of my application with a CMS so that site admins can easily update the site (about pages, blog, etc). Is this easily done with PyroCMS or another…
starsinmypockets
  • 2,264
  • 4
  • 34
  • 45
5
votes
4 answers

Problem sending email with Codeigniter - Headers sent in the message body

Having a strange issue with the email class in codeigniter. When I send email directly to my gmail account email address, it works fine. However if I send email to a different email address and use POP3 to import that email address into gmail, then…
Brian
  • 953
  • 4
  • 15
  • 35
5
votes
3 answers

Which CMS will be better to load different templates in different pages in CI?

I am trying to look forward for the CMS in which the designer can easily implement the different templates for different pages so that the site can be completed in short time even without the web developer. Can you suggest the appropriate CMS for…
Hrishav Ojha
  • 545
  • 5
  • 12
5
votes
1 answer

Making a blog the home page in PyroCMS

I know that I can go into pages and make an individual page the default home page, but how do I make a blog the home page in PyroCMS?
Michael Grigsby
  • 11,467
  • 9
  • 33
  • 52
4
votes
2 answers

PyroCMS language support

Our custom modules in PyroCMS need to support multiple languages. How is this done? Particularly: Where do we put the language folders and files? We assume in /addons//language/. Is this right? Must we provide a translation of our…
4
votes
1 answer

Metronic Theme Charts and Graphs

I had downloaded the metronic theme from http://themeforest.net/item/metronic-responsive-admin-dashboard-template/4021469 to use along with the PyroCMS framework but my issue is i can not get charts or graphs to work. The specific plugins used for…
user3334987
  • 49
  • 1
  • 2
1
2 3
27 28