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

show the item to edit on dropdown

I am using the same view page for both submitting data to database and editing. When I submit the form all the elements go to database. When editing the input field contains the item to edit but the dropdown form doesnot load and displays error…
nzy
  • 854
  • 2
  • 15
  • 28
2
votes
2 answers

How can i add fonts in Pyrocms?

I have a static html layout with JS,CSS,Images and Fonts. Now my client wants this to be in Pyrocms. As I'm working in Pyro for the first time, I'm relying on document and can't find a place to place fonts. Like the document says I'm able to add…
yogi
  • 143
  • 1
  • 6
2
votes
1 answer

PyroCMS Pagination not working

Im creating a module with pagination, when I use the create_pagination() helper I am getting a question mark in the links. The limit has been set to 6 so I expect the links to be in sequence like 0,6,12,18 but Im getting 1?,2?,3?. This is what is…
IEnumerable
  • 3,610
  • 14
  • 49
  • 78
2
votes
1 answer

How to display an image from the user module in PyroCMS?

I'm trying to get the image URL which is stored in the user module, using the following code: {{ user:profile user_id="3" }} {{ display_name }} {{ company }} {{ profile_picture }} {{ /user:profile }} {{ profile_picture }} is the image and all…
broadbent
  • 101
  • 9
2
votes
1 answer

PyroCMS: How to fix

I can't seem to get to work within page layouts. Even when I straight up copy and paste the code from the documentation ( http://docs.pyrocms.com/2.1/manual/concepts/organization ).

{{ page:title }}

{{ page:body…
2
votes
2 answers

How do I start using git on my directory and pull into it updated code from pyrocms?

I have a version of pyrocms that I want to update using git. The core files are mildly modified. I am learning git (http://git-scm.com/book). I get how to create a directory and so on, but I do not see where this is covered... How do I start using…
Robert
  • 204
  • 1
  • 10
2
votes
2 answers

Why is my PyroCMS not building the view I tell it to?

Here is my controller code: $this->template ->set_breadcrumb( 'my stuff ) ->set('questions', $questions) ->set('categories', $categories) ->build('index'); However, it doesn't seem to actually build the index…
Shamoon
  • 41,293
  • 91
  • 306
  • 570
2
votes
1 answer

Can I embed helpers with PyroCMS?

{{ blog:posts limit="1" order-by="created_on" order-dir="desc" category="nurse" }}

{{ helper:word_limiter limit="10" string={{ helper:strip_tags value=body }} }}

{{ /blog:posts }} Doesn't seem to work. Ideas?
Shamoon
  • 41,293
  • 91
  • 306
  • 570
2
votes
1 answer

pyrocms files plugin variables

I want to pull a url segment variable into the pyrocms file plugin call. it would look like {{files:listing folder="[segment(2)]"}} or something of the sort. What is the trick for embedding {{url:segments..}} inside {{files:listing…
salmane
  • 4,799
  • 13
  • 48
  • 61
2
votes
3 answers

Pyrocms tag as parameter in another tag

I tried to use {{ page:slug }} as a parameter in my page to get the blog articles from the category of the same name. For example: Pagename = About me Slug = about-me Then create a category with the same name and slugname in Blog with…
Chris Visser
  • 1,607
  • 12
  • 24
2
votes
1 answer

pyrocms extending core plugin

I am going to extend the analytics plugin.I want to get most popular pages. I read the google api docs. The great thing is that there is already a php library to get data from google analytics api ( Great!) and also there is a good plugin in the…
Alireza
  • 5,444
  • 9
  • 38
  • 50
2
votes
1 answer

"Could not install module" error in PyroCMS

I have been building a module in PyroCMS and have made its structure. I am using Streams API to build forms and perform my actions and also performed a dummy install to check if everything looks ok. Then I went on modifying the contents of the dummy…
2
votes
1 answer

Single user system across multiple sites using Codeigniter and XenForo

I've got several sites that I'd basically like to have the same user system for. One of the sites runs XenForo, the others all run Codeigniter, or systems built on Codeigniter (e.g PyroCMS). I need to somehow be able to let a user login on any of…
Sk446
  • 1,240
  • 3
  • 19
  • 38
2
votes
2 answers

Change the uri of a module without renaming the class in PyroCMS

What is the best way to change the uri of a module without renaming the class. For example I'd like the blog module to show: /blog/post-title -> /news/post-title routes.php?
Ben
  • 4,301
  • 6
  • 37
  • 61
1
vote
1 answer

PyroCMS - custom module design, clear CSS formating from default design

I'm creating some custom modules on PyroCMS, and the problem is, that the default design that is inherited from global.css and other default design css files really messes with my new design and makes it harder to create a design for my custom…
andree
  • 3,084
  • 9
  • 34
  • 42