CodeIgniter Forums
PyroCMS v0.9.7.4 - an open-source modular general purpose CMS - 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.7.4 - an open-source modular general purpose CMS (/showthread.php?tid=17376)



PyroCMS v0.9.7.4 - an open-source modular general purpose CMS - El Forum - 10-10-2009

[eluser]jgdovin[/eluser]
not a problem. Like I said I couldnt get it to work by removing the application/ from the settings on the live server, is that the fix and i just need to clear cache?

when leaving in the apppath and apppath_uri this is what I get after removing application/ in the settings...

Code:
Array ( [img_path] => application/cache/captcha/ [img_url] => http://onlytechnews.com//application/cache/captcha/ ) 1

so the APPPATH_URI is adding a beginning / that isnt needed. Im not sure where you want to take it out.

By changing APPPATH_URI to APPPATH it fixed the issue on my server as well as removing /application from the settings


PyroCMS v0.9.7.4 - an open-source modular general purpose CMS - El Forum - 10-11-2009

[eluser]Phil Sturgeon[/eluser]
Both solutions will get a captcha showing, but by removing application/ from the settings it will support multiple installs correctly. It works if you clear your sessions I think as captcha data is stored.

Can you put APPPATH and APPPATH_URI back and test the db change? Then this can go into v0.9.7 :-)


PyroCMS v0.9.7.4 - an open-source modular general purpose CMS - El Forum - 10-11-2009

[eluser]jgdovin[/eluser]
it still works, I dont like that it outputs it as follows
Code:
<img src="http://onlytechnews.com//application/cache/captcha/1255268260.92.jpg" width="150" height="30" style="border:0;" alt=" " /><br />
thats the APPPATH_URI adding another /, but it does work. Is there a reason you cant just use APPPATH for the img_url? that gets rid of the extra /. Anyway, either way it works now. Again great cms! :-D


PyroCMS v0.9.7.4 - an open-source modular general purpose CMS - El Forum - 10-11-2009

[eluser]Phil Sturgeon[/eluser]
I'll find a better solution sometime, just glad its working now.

Check out the progress on the updated index page of the pages admin module. Unlimited heirarchy and an awesome navigation tree. :-)

Thinking about putting the edit form in a modal window when you click Edit button.


PyroCMS v0.9.7.4 - an open-source modular general purpose CMS - El Forum - 10-11-2009

[eluser]jgdovin[/eluser]
very nice, as long as it doesnt make it too complicated for the end user (clients) Smile When will we see this sneaking into the git?


PyroCMS v0.9.7.4 - an open-source modular general purpose CMS - El Forum - 10-11-2009

[eluser]Phil Sturgeon[/eluser]
Not just yet. More progress tonight.

I will commit it once I have created a helper function that generates a URL based on the ID. This will need to fetch back a chain of slugs to ceate /parent1/parent2/child, and will also need to be cached somewhere, just trying to work out how and where as this could start to REALLY slow the site down if heavily used.


PyroCMS v0.9.7.4 - an open-source modular general purpose CMS - El Forum - 10-11-2009

[eluser]jgdovin[/eluser]
awesome I cant wait! Im really looking forward to the forum module.


PyroCMS v0.9.7.4 - an open-source modular general purpose CMS - El Forum - 10-11-2009

[eluser]Phil Sturgeon[/eluser]
The page manager got so sexy I couldn't keep it out of Git any longer. I styled it up nicely and got it pretty much 100%.

As I said we need to work out a way to build links, and the tree navigation needs to stop expanding/collapsing when the <a> is clicked, but other than that it's going well.

Anyone know how to stop the Treeview plugin from expanding/collapsing on clicking the element and not the +/- tab?


PyroCMS v0.9.7.4 - an open-source modular general purpose CMS - El Forum - 10-11-2009

[eluser]jgdovin[/eluser]
never messed with it before, I will look into it tonight. Will be updating in a few


PyroCMS v0.9.7.4 - an open-source modular general purpose CMS - El Forum - 10-11-2009

[eluser]jgdovin[/eluser]
small problem on my side.. I know building out the actual format of how they will show in navigation isnt done yet, I was thinking an extra field in the db that would be set as the level (1 is base, 2 is child, 3 is grand-child.... etc.) Then it would refer to a table that would have the name of the class.. class="parent" class="child" class="grandchild" then style the links as so... dunno, just my idea.

Anyway writing this because I ran into a problem with the new pages editor, just to show it. When I make a new page the plus's show up just fine and I can expand the tree. If I click on another link and come back to the pages I cannot expand the parent to see the child pages, and the + disapears. If I add another page the tree works good again until another link is clicked in the control panel. heres a screen of coming back to the messed up pages admin.

http://twitpic.com/l6qug