ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

PyroCMS v0.9.7.4 - an open-source modular general purpose CMS

April 03, 2009 8:29am

Subscribe [70]
  • #556 / Sep 16, 2009 6:51pm

    Phil Sturgeon

    2889 posts

    It has not been tagged. I am using -pre as a suffix for while its in development. If i’m doing alphas or betas I will tag those, but this v0.9.7-pre is just whatever is in the codebase after v0.9.6.2 and before v0.9.7.

  • #557 / Sep 16, 2009 6:59pm

    Phil Sturgeon

    2889 posts

    Updating your post is likely to make me miss it, luck I refreshed the page. 😊

    What is exacly is it doing wrong? Not sure how much it will like having .html on the end, CodeIgniter might just strip that off as a vanity suffix.

  • #558 / Sep 16, 2009 7:03pm

    ray73864

    268 posts

    navigation seems to work good, although the ‘navigation’ widget doesn’t show the parent->child relationship, the address bar doesn’t show it either, when i clicked on ‘test’ it didn’t take me to /home/test it just took me to /test.

    The FreshMedia template has an error in it under the ‘News’ section, it says:

    Latest News
    A PHP Error was encountered

    Severity: Warning

    Message: Invalid argument supplied for foreach()

    Filename: layouts/default.php

    Line Number: 40

     

    The FreshMedia template also doesn’t display any of the navigation links, and seems to have stuff in the footer that i don’t ever remember adding to the footer.

    The LazyDays template has the following probs:

    1. It doesn’t display the ‘home’ page.
    2. The ‘edit-settings’ link takes you to a page that shows nothing (just like #1).
    3. ‘Edit Profile’ has the same problem as #1 and #2
    3. It has the following error:

    Thoughts

    Fatal error: Call to undefined function curl_init() in /http/rayherring.net/pharmacy/application/modules/twitter/libraries/Twitter_lib.php on line 380

     

    If you want to see the problems, goto hXXp://pharmacy.rayherring.net the demo login details are still there since i am only testing.

  • #559 / Sep 16, 2009 7:06pm

    ray73864

    268 posts

    Updating your post is likely to make me miss it, luck I refreshed the page. 😊

    What is exacly is it doing wrong? Not sure how much it will like having .html on the end, CodeIgniter might just strip that off as a vanity suffix.

    The validation on the ‘new page’ thing works good, the ‘slug’ section doesn’t like having .html on the end, it says ‘invalid characters’ or something, and then what appears in the ‘tinymce editor box’ is ‘

    this is a test page
    ’, when i view the new page, instead of showing correctly, it shows ‘
    this is a test page

    ’ instead of showing ‘this is a test page’

  • #560 / Sep 16, 2009 8:54pm

    Phil Sturgeon

    2889 posts

    navigation seems to work good, although the ‘navigation’ widget doesn’t show the parent->child relationship, the address bar doesn’t show it either, when i clicked on ‘test’ it didn’t take me to /home/test it just took me to /test.

    Good point, I didnt finish the page manager or the navigation module to use the cool new heirarchy code properly. Tickets have been created for both modules.

    The FreshMedia template has an error in it under the ‘News’ section, it says:

    Latest News
    A PHP Error was encountered

    Severity: Warning

    Message: Invalid argument supplied for foreach()

    Filename: layouts/default.php

    Line Number: 40

     

    The FreshMedia template also doesn’t display any of the navigation links, and seems to have stuff in the footer that i don’t ever remember adding to the footer.

     

    I really hate that theme. easylancer never finished it and I have not been maintaining it or even looking at it. I’ll just delete the damn thing.

    The LazyDays template has the following probs:

    1. It doesn’t display the ‘home’ page.
    2. The ‘edit-settings’ link takes you to a page that shows nothing (just like #1).
    3. ‘Edit Profile’ has the same problem as #1 and #2
    3. It has the following error:

    Thoughts

    Fatal error: Call to undefined function curl_init() in /http/rayherring.net/pharmacy/application/modules/twitter/libraries/Twitter_lib.php on line 380

     

    That’ll mean cURL is missing on your intallation. I’ll get Simon to patch that library up a little. I’ll do it myself if I still have contributor access on that GitHub project. 😊

    The validation on the ‘new page’ thing works good, the ‘slug’ section doesn’t like having .html on the end, it says ‘invalid characters’ or something, and then what appears in the ‘tinymce editor box’ is ‘

    this is a test page
    ’, when i view the new page, instead of showing correctly, it shows ‘
    this is a test page
    ’ instead of showing ‘this is a test page’

    Looks alright here on Firefox 3.5 Mac. What are you testing in? There was an issue similar to this which should have been fixed in this commit.

  • #561 / Sep 16, 2009 9:13pm

    ray73864

    268 posts

    The validation on the ‘new page’ thing works good, the ‘slug’ section doesn’t like having .html on the end, it says ‘invalid characters’ or something, and then what appears in the ‘tinymce editor box’ is ‘

    this is a test page
    ’, when i view the new page, instead of showing correctly, it shows ‘
    this is a test page
    ’ instead of showing ‘this is a test page’

    Looks alright here on Firefox 3.5 Mac. What are you testing in? There was an issue similar to this which should have been fixed in this commit.

    if you look at the ‘test’ page on hXXt://pharmacy.rayherring.net/ you will see what i mean.

    I am running the latest commit that you had put up on github.

    The test case for this is:

      1. click on the ‘pages’ module in the control panel
      2. click on ‘new page’
      3. in the ‘title’ box put something like ‘test’
      4. in the ‘slug’ box put something like ‘test.html’
      5. set the ‘parent’ to whatever you want
      6. put something in the tinymce editor box, such as ‘this is a test’
      7. click on ‘save’
      8. the validation runs and the ‘new page’ re-appears with the following message:

        Required field missing

        The Slug field may only contain alpha-numeric characters, underscores, and dashes.

      9. take a look at the tinymce editor box, it should now have:

    this is a test

      10. change the ‘slug’ to be ‘test’ (without the .html)
      11. click on ‘save’
      12. it saves the page
      13. go to view your page on the main site. eg: /test and you should see the following:

        Home :: Test
       
        test

    this is a test

        Had to put a ‘code’ box in because the forum was converting the ‘p’ tag.

     

      14. that’s all the steps to reproduce.

    I managed to get this to repeat on several occasions, currently using the following build:

    http://github.com/philsturgeon/pyrocms/commit/ed246b9e6d6049580e47241a7dc9ec228535476a

    Oh, and i am using Firefox 3.5 on Windows 7, but the problem happens on Vista and XP too using FF3.5

  • #562 / Sep 16, 2009 9:15pm

    Phil Sturgeon

    2889 posts

    That will have to wait until tomorrow now, way past my bedtime. If you spot a fix in the mean time please do let me know.

  • #563 / Sep 16, 2009 9:15pm

    ray73864

    268 posts

    frack, i did it again, i edited my post after you replied :(

    also, your ‘pyrocms.com’ site has the same problem on the following page:

    http://pyrocms.com/news/2009/09/Welcome-to-PyroCMS

    not having used tinymce much before i can’t really offer a fix, all i can see is that you create the textarea first and then tinymce takes over.

    i know in FCKEditor you can pass javascript params to the box such as: $myEditor->source = “my body”;

  • #564 / Sep 16, 2009 11:21pm

    dysfictional

    6 posts

    I posted a fix for that issue in this thread for 0.9.6.2. It involves htmlentities() in the views associated with the news module. In the latest 0.9.7-pre that issue is no longer.

  • #565 / Sep 17, 2009 2:19am

    ray73864

    268 posts

    I posted a fix for that issue in this thread for 0.9.6.2. It involves htmlentities() in the views associated with the news module. In the latest 0.9.7-pre that issue is no longer.

    I am running 0.9.7-pre, and the issue i mentioned is happening.

  • #566 / Sep 17, 2009 8:38am

    Phil Sturgeon

    2889 posts

    I have removed htmlentities() from several places as I believe it was originally added as part of my testing for Chinese character support but was accidentally committed with other work.

    I will try your testing plan this evening if I have time. As I said if anyone can look at the most current version of the code (download the bleeding edge again) and suggest a fix that would be freaking brilliant.

  • #567 / Sep 17, 2009 11:38am

    Phil Sturgeon

    2889 posts

    I was asked about a roadmap so here is a brief one:

    v0.9.7 will contain the new Page Manager (it will be sweet) and all current changes.

    v0.9.8 will have widget backend so people can start building proper navigations, re-designed comments, theme CSS overriding (all CSS will be moved to module specific CSS files which can be overridden in the theme).

    v0.9.9 hopefully will not exist.

    v1.0 will contain a module manager for installing/removing modules and hopefully the REST service to install new modules will be live by then. Should also have some lovely new default themes, and upgrade manager and all sorts of other crazy stuff.

    Cache purging tool and a new forums module will be thrown in there somewhere too.

  • #568 / Sep 17, 2009 4:45pm

    Ernst_

    9 posts

    Hey Guy’s

    “all new to this scene and CMS. Thank you very much developers so far for developing such a nice CMS!”

    Though i am implementing my own lay-out and everything is going well. But i have some questions regarding the

    <?=$page_output; ?>

    I have on the index like 3 columns where i need to put different text.

    <?=$page1_output; ?>  <?=$page2_output; ?>  etc. doesn’t work correctly.

    How can i do more then 1 <?=$page_output; ?> per page?

    Regards,

    Ernst_

  • #569 / Sep 17, 2009 6:01pm

    Phil Sturgeon

    2889 posts

    ray73864: If I use htmlenteties(stripslashes($page->body)) this solves the problem you speak of, but it also removes any HTML I write into the article as text. This TinyMCE configuration is always a pain… Anyone have any ideas?

    Ernst_: Each page has one main “output” and the rest is a layout file. You can have different layout files in your theme and eventually widgets will take over for sidebar content.

    Other than that, use normal CodeIgniter methods to split up content in your views.

  • #570 / Sep 17, 2009 6:51pm

    Ernst_

    9 posts

    Ernst_: Each page has one main “output” and the rest is a layout file. You can have different layout files in your theme and eventually widgets will take over for sidebar content.
    Other than that, use normal CodeIgniter methods to split up content in your views.

    Ok - thank you for you’re quick reply.

    I’ll try to set it to more then 1 main “output” per page. So u have 1 or more tinymce’s to work with on 1 page.

    Cheers.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases