Welcome Guest, Not a member yet? Register   Sign In
PyroCMS v0.9.7.4 - an open-source modular general purpose CMS

[eluser]Phil Sturgeon[/eluser]
Okie doke. So to implement this we don't really have to do much other than add the body tag to each application/themes/*/layouts/*.php file, then add module_title and module_wrapper.

You got this one Yorick?

[eluser]globule[/eluser]
Image butoons must be changed for translation in the default theme ! (one folder for each translation?)
I suggest text should not be in the images...

[eluser]Phil Sturgeon[/eluser]
Screw the default theme, its horrible and wont be sticking around long.

Yorick: Im considering using and extending Template library to use over Layout.

http://williamsconcepts.com/ci/codeignit...rence.html

[eluser]davidbehler[/eluser]
Hey,
I just downloaded the most current version from git (http://github.com/philsturgeon/pyrocms/tree/master) and there is an error in the sql file:
Code:
CREATE TABLE `pages` (
  `id` int(11) unsigned NOT NULL auto_increment,
  `slug` varchar(60) collate utf8_unicode_ci NOT NULL default '',
  `title` varchar(60) collate utf8_unicode_ci NOT NULL default '',
  `body` text collate utf8_unicode_ci NOT NULL,
  `parent` int(11) default '0',
  `lang` varchar(2) collate utf8_unicode_ci NOT NULL,
  `layout_file` varchar(255) collate utf8_unicode_ci NOT NULL default 'default',
  `meta_title` varchar(255) collate utf8_unicode_ci NOT NULL,
  `meta_keywords` varchar(255) collate utf8_unicode_ci NOT NULL,
  `meta_description` text collate utf8_unicode_ci NOT NULL,
  `updated_on` varchar(11) collate utf8_unicode_ci NOT NULL default '',
    `layout_file` varchar(255) collate utf8_unicode_ci NOT NULL default 'default',
  PRIMARY KEY  (`id`),
  UNIQUE KEY `Language Unique` (`slug`,`lang`),
  KEY `slug` (`slug`),
  KEY `parent` (`parent`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='User Editable Pages';

The column layout_file is defined twice.

I will try to create a german version of the language files if that's ok with you.

[eluser]davidbehler[/eluser]
And another problem:
After copying the folders to my virtual machine I get an error when trying to access the pyrocms install.

When trying the url "http://vm/pyrocms" it redirects to "http://vm/pyrocms/error_404".
Even if I manually set base_url
Code:
$config['base_url'] = 'http://vm/pyrocms';
it doesn't work.

Accessing "http://vm/pyrocms/installer" works fine though (I know the installer is not running on CI but wanted to mention it anyway to show the url is right Wink).

When accessing the server information in the installer, I get the following errors:
Quote:Warning: file_get_contents() [function.file-get-contents]: php_network_getaddresses: getaddrinfo failed: Name or service not known in /var/www/pyrocms/installer/includes/core_class.php on line 96

Warning: file_get_contents(http://vm/pyrocms/installer/includes/phpinfo.php) [function.file-get-contents]: failed to open stream: Inappropriate ioctl for device in /var/www/pyrocms/installer/includes/core_class.php on line 96

Do you need any more info to fix this? Or is this somehow my fault?

[eluser]davidbehler[/eluser]
Ok, I fixed the 404 error.

I had to set
Code:
$config['index_page'] = 'index.php';

I'm using lighttpd as web server and it doesn't support mod_rewrite like Apache

EDIT:

Accessing "http://vm/pyrocms/index.php" still redirects to "http://vm/pyrocms/index.php/error_404" but this time the error is shown within pyrocms. Any idea why this happens?

[eluser]globule[/eluser]
[quote author="waldmeister" date="1246564583"]Ok, I fixed the 404 error.

I had to set
Code:
$config['index_page'] = 'index.php';

I'm using lighttpd as web server and it doesn't support mod_rewrite like Apache

EDIT:

Accessing "http://vm/pyrocms/index.php" still redirects to "http://vm/pyrocms/index.php/error_404" but this time the error is shown within pyrocms. Any idea why this happens?[/quote]
I think it is because ther is no default page defined in the page module (and DB data). Pyro is not yet finished !

We also need a tuto to remove this f#!% index.php in the URl...

[eluser]Yorick Peterse[/eluser]
[quote author="globule" date="1246565285"][quote author="waldmeister" date="1246564583"]Ok, I fixed the 404 error.

I had to set
Code:
$config['index_page'] = 'index.php';

I'm using lighttpd as web server and it doesn't support mod_rewrite like Apache

EDIT:

Accessing "http://vm/pyrocms/index.php" still redirects to "http://vm/pyrocms/index.php/error_404" but this time the error is shown within pyrocms. Any idea why this happens?[/quote]
I think it is because ther is no default page defined in the page module (and DB data). Pyro is not yet finished !

We also need a tuto to remove this f#!% index.php in the URl...[/quote]

No, I'm almost 100% sure it's because he isn't using Apache.

@waldmeister

The server information should work just fine, it's nothing fancy, just some basic PHP. I guess it might be something related to the CGI version of PHP.

[eluser]Yorick Peterse[/eluser]
[quote author="Phil Sturgeon" date="1246562759"]Screw the default theme, its horrible and wont be sticking around long.

Yorick: Im considering using and extending Template library to use over Layout.

http://williamsconcepts.com/ci/codeignit...rence.html[/quote]

I took a quick look at it, it seems to work but in my opinion it's way too complicated.

[eluser]globule[/eluser]
[quote author="Yorick Peterse" date="1246565538"]The server information should work just fine, it's nothing fancy, just some basic PHP. I guess it might be something related to the CGI version of PHP.[/quote]
So i am really a linux noob because I have the same problem ! :red:
... will take a look at my beautifull Mint...

PS : french translation soon (today)




Theme © iAndrew 2016 - Forum software by © MyBB