• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CodeExtinguisher 2.0 Release Candidate 14.2

#51
[eluser]Majd Taby[/eluser]
mattewr, change lines 273 and 327 to $data['permissions_form'] = ''; and $view_data['permissions_form'] = ''; respectively in codexcontroller.php

Bruce, in your output html, what is the URL of the stylesheet that is printed, what do you expect it to be? and what is line 84 of codexcontroller.php?

#52
[eluser]Michael Roper[/eluser]
Hi jTaby,

Is there any plan to recognise the 'dbprefix' setting in the database config file?

My host only provides a single database, so my CI tables are prefixed with 'site_', which CI handles fine. CodeExtinguisher however doesn't seem to honor the prefix, and looks at all the tables in my database, instead of just the ones related to my CI site.

Cheers,

Michael

#53
[eluser]Bruce Brown[/eluser]
JTaby,

My output is this:
Code:
<link rel="stylesheet" href="http://www.reliabledivorce.net/../ci/apps/codex/assets/clean_blue/css/codex_clean_blue.css" type="text/css">

Line 84 and 112 of codexcontroller.php is:
Code:
$this->codextemplates->css('template-css',$this->config->item('codex_asset_folder').$this->template.'/css/codex_'.$this->template.'.css');

From the root of reliabledivorce.net, the actual physical location of that file is:
Quote:../ci/apps/codex/assets/clean_blue/css/codex_clean_blue.css
a one directory less deep in the directory structure from the /public_html root of the site. That directory can be accessed, from another domain
Quote:http://ww1.rapidlaw.net/ci/codex/assets/...n_blue?css
This is because I'm running a multi-site version of EE, and the root install of EE is ww1.rapidlaw.net --www.reliabledivorce.net's public_html is within the public_html of ww1.rapidlaw.net. (I wanted to have a common install of CI, with common apps, just as I do with having one install of EE run multiple sites.)

I'm pretty sure that your question should lead me to the solution, but, I'm sorry I'm still unclear on how to modify the code to proceed :-S
\

#54
[eluser]Majd Taby[/eluser]
michael.roper, you're totally correct, i'll fix it in the next release

Bruce Brown, so you want to access the assets from a different URL? in that case, edit codex_assets_path and change $config['base_url'] to your own domain. Basically, you want to hardcode http://ww1.rapidlaw.net/ci/codex/assets/ into codex_assets_path (if I understand you correctly)

#55
[eluser]Bruce Brown[/eluser]
In my instance, coding the other url (ww1.rapidlaw.net) would work. (In this instance, it only happens to be true that I can get to that place outside the root with another url --as the apps folder is in the root of another site.)

But, my goal is to learn, how, in general to have the codex application in my apps directory outside of the root. I think I'm understanding now that, in general, I should have the assets directory in the root of my site, while I can have the application itself outside the root. Is that right?

So, in general, I can place my codex application outside the root in a common location with your other apps, and then move my assets folder within my site's public root? (In my case, put the root in my reliabledivore.net /public_html.)

Thanks,

Bruce

#56
[eluser]Majd Taby[/eluser]
yes, all the URLs to the assets are generated by codex_assets_path, so there's nothing tying your assets folder _inside_ the codex folder. Although I wouldn't recommend having multiple assets folders. The reason being that it makes updating the system harder. Now, in this case, off the top of my head it seems that moving the assets folder outside the application is the only option, but still, something to keep in mind.

#57
[eluser]abmcr[/eluser]
Hello JTaby: do you have a release plan for 14.3? I begin a new project... i attempt or use the "older" 14.2? Thank you

#58
[eluser]Majd Taby[/eluser]
abmcr, well for now, the new release will include these things:

1) Fix the shortcomings of the search feature
2) Make the CRUD controller guess the plugins better (right now it only does textbox/textarea)
3) Fix the dbprefix issue

gdunn, I just realized that I missed your post, but to answer you question, the Time plugin already supports on_update as well as on_insert

SpooF, I didn't miss your post, but I just forgot to reply (sorry), RC14.2 fixes that issue.

#59
[eluser]abmcr[/eluser]
ok ;-)

#60
[eluser]Majd Taby[/eluser]
abmcr, I've been thinking about it, I think you should just go with 14.2....I'm going to be working on codeextinguisher.com for a while.


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.