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-04-2010

[eluser]egoslip[/eluser]
yes your right duno what was happening .. oh well love the new bets by the way everything is so clean

But I got a question just like to know your thoughts on it.

I see you added a Design tab to the pages and a page layout section... but was wondering would it also be great if you can change the theme of the page aswell so that the page can also look different from the rest of the site if you want it to look that way ?

like some pages would use a default theme for the whole site but then you have special pages that you much rather have it look completely different with a different theme..

This also brings another option where you can do a custom theme layout just for that page the same way you have the css section setup ...

You would put a header and footer section so that you can put valid html in the top and bottom of the content area that way you don't even have to have a new theme you would just edit the html for the header and footer for that page....

or you can even have another section where it would be similar to the page layout section but would be site layout where it would control everything outside of the content box.....

just an idea like to know your thoughts on it as if your not planning on doing something like that I would create it for myself but would think it would be a better asset for the script to have it defaulted on it....

I can code it up and give it to you if you like ?


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

[eluser]umefarooq[/eluser]
hi phil can you help me regarding you template library i have check its really nice but i want to ask what variables put in layout.php along with html to view as page.


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

[eluser]hugle[/eluser]
hello Phil, you did the great success on Pyro, so much new stuff Smile

Something strange, can't get gallery to work with routes.php:

I tried all these variation one by one, put the in photos/config/routes.php
also tried them putting in global routes.php, but also no luck
[code]
$route['gal'] = "modules/photos";
$route['gal'] = "modules/photos/index";
$route['gal'] = "photos";
$route['gal'] = "photos/index";
$route['gal'] = "3rd_party/photos/index";
[code]

Can some1 point me on my errors?Sad

thank you very much


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

[eluser]Phil Sturgeon[/eluser]
[quote author="hugle" date="1267994387"]hello Phil, you did the great success on Pyro, so much new stuff Smile

Something strange, can't get gallery to work with routes.php:

I tried all these variation one by one, put the in photos/config/routes.php
also tried them putting in global routes.php, but also no luck
Code:
$route['gal'] = "modules/photos";
$route['gal'] = "modules/photos/index";
$route['gal'] = "photos";
$route['gal'] = "photos/index";
$route['gal'] = "3rd_party/photos/index";

Can some1 point me on my errors?Sad

thank you very much[/quote]

Try this:

Code:
$route['gal'] = 'photos';
$route['gal/(:any)'] = 'photos/$1';

Next

[quote author="umefarooq" date="1267912411"]hi phil can you help me regarding you template library i have check its really nice but i want to ask what variables put in layout.php along with html to view as page.[/quote]

{$template.body}, {$template.metadata}, {$template.title}. Should be fairly obvious what those do. :-)

Writing up documntation of all default variables is on my to-do list. :down:


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

[eluser]WickidGRAFX[/eluser]
I would like more than anything to give this CMS a good review, it looks very promising but I can not get it to work. I installed everything with no issue except for my server not being in the list (CentOS 5).

I try to login with the default username(email)/password and it seems to loop back to the login page again.

The installation is located here:
http://www.wickidgrafx.com/demos/codeigniter_ww/

You can use the default username/password to try it out.
[email protected]
password

This is just a testing installation so I am not concerned about security.

Please help ASAP.

Thanks, Jason.


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

[eluser]Ben Edmunds[/eluser]
Hey Jason,

Do you have mod_rewrite enabled on your server?


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

[eluser]WickidGRAFX[/eluser]
Yes. I talked to my hosting company and they said .htaccess and mod_rewrite features are all usuable and activated.


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

[eluser]Ben Edmunds[/eluser]
Jason,

There is something wrong with the rewriting. Do you have the .htaccess file in the root?

Have you used CI previously with this hosting company?


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

[eluser]hugle[/eluser]
[quote author="WickidGRAFX" date="1268723480"]Yes. I talked to my hosting company and they said .htaccess and mod_rewrite features are all usuable and activated.[/quote]

Seems something wrong with rewriting... since admin panel is also redirecting to home page

If it's possible, try setting 'Allowoverride All' in htaccess ( I do not remember the correct syntax, sorry)


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

[eluser]WickidGRAFX[/eluser]
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.