CodeIgniter Forums
PyroCMS v0.9.9 - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Libraries & Helpers (https://forum.codeigniter.com/forumdisplay.php?fid=22)
+--- Thread: PyroCMS v0.9.9 (/showthread.php?tid=25699)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17


PyroCMS v0.9.9 - El Forum - 03-24-2010

[eluser]bonguoita[/eluser]
Hi, I'm new to PyroCMS. I just install MyroCMS 0.9.8 rc1 on localhost.

My website has a homepage with some block content on the sidebar: one block show 03 lastest news, another block show one lastest photo image etc...

How can I do that?

Thank you!


PyroCMS v0.9.9 - El Forum - 03-24-2010

[eluser]farinspace[/eluser]
Has anyone had any experience installing PyroCMS into an existing site using CodeIgniter?

Would you still be able to use your old controllers/models?

Any naming collisions?


PyroCMS v0.9.9 - El Forum - 03-24-2010

[eluser]Phil Sturgeon[/eluser]
Well you can't just shove PyroCMS into an existing application, that would be madness!

You could very easily move across controllers, models, libraries and even modules from your existing application but it would require changes to the code to interface with Public_Controller, Admin_Controller, use the Template library, etc.


PyroCMS v0.9.9 - El Forum - 03-24-2010

[eluser]farinspace[/eluser]
Thanks Phil, do all the controllers have to run through Pyro or can some live outside of the system?


PyroCMS v0.9.9 - El Forum - 03-24-2010

[eluser]Phil Sturgeon[/eluser]
Controllers can do whatever they like. What makes them "run through PyroCMS" is by extending Admin_Controller, Public_Controller or MY_Controller. If you just extend Controller you are running with a vanilla CodeIgniter install (albeit with a few autoloaded helpers/models/libs).


PyroCMS v0.9.9 - El Forum - 03-24-2010

[eluser]farinspace[/eluser]
Sound like I can do what I need ... I basically am managing the following site Fresno Jazz, it runs off of CI, but there currently is no real easy way to manage some of the content pages (pricing, terms, privacy, about, etc.) ...

When I came across pyro I thought I could integrate it, leave the current sites functionality in place, but be able to use pyro for some additional page creation and for managing certain existing pages ... sounds like I can do that ...


PyroCMS v0.9.9 - El Forum - 03-24-2010

[eluser]bonguoita[/eluser]
hix please don't ignore me : http://ellislab.com/forums/viewthread/139227/P90/#729530


PyroCMS v0.9.9 - El Forum - 03-25-2010

[eluser]Unknown[/eluser]
Hi,
I am trying to install PyroCMS v0.9.8-rc1 on windows, I have helicon isapi too. But it is not working atall.

First page http://localhost/pyrocms/install comes but when I click on step1 the url is http://localhost/pyrocms/install/index.php/install/step_1 and the error message is 'page not found'.

I think it is due to rewrite code. I do not have more knowledge of rewriting code.
Please help


PyroCMS v0.9.9 - El Forum - 03-28-2010

[eluser]hugle[/eluser]
[quote author="WickidGRAFX" date="1268800400"]Ok adding "Allowoveride All" caused a 500 error

This is my current .htaccess file:
Code:
#Allowoverride All
Options +FollowSymLinks
RewriteEngine on

# Redirects direct controller views to the right URL
# Not so much for security, done for Coda previews
RewriteRule modules/(.+)/controllers/(.+)\.php$ /index.php/$1/$2 [L,R=301]
RewriteRule controllers/(.+)\.php$ /index.php/$1 [L,R=301]

# Send request via index.php (again, not if its a real file or folder)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]

This is the default .htaccess that came with the installation.[/quote]

Hello,

sorry, was away.
it should be :
Code:
AllowOverride All

The whole problem is somehow connected with mod_rewrite. and seems your host isn't permitting it or smth like that...


PyroCMS v0.9.9 - El Forum - 03-28-2010

[eluser]hugle[/eluser]
Hello Phil and everyone else Smile

My main problem here is laying in the 'languages'.
I'll explain. for example I want to have 2 languages:
English and Polish.

So I have now all pages in English.

Now if I visit for example, mypage.com/pl/
I want to load body, titles, etc with polish text. for that sort of thing i would need
to add more fields to table pages, etc.

I'm just searching for BEST way to do it...

Since as I said, I would need to double my content, with en and pl text.
maybe some of you already did it.. please share your experience! Smile

thank you!