![]() |
CodeExtinguisher 2.0 Public Beta (RC10) - 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: CodeExtinguisher 2.0 Public Beta (RC10) (/showthread.php?tid=6065) |
CodeExtinguisher 2.0 Public Beta (RC10) - El Forum - 03-02-2008 [eluser]Jauhari[/eluser] Can anyone give me some example to play around with User Levels? I have this problem. I want if some GOD User they can update other pasties members. But if the user only staff, they only edit they own post. So they can see other post by another post. So, when user login in the same content, example post content staff user only able to edit and delete they own post. How to do that? and of course make the table view. Link to edit and delete for other staff post will be invincible/gone. Please Help and thanks CodeExtinguisher 2.0 Public Beta (RC10) - El Forum - 03-02-2008 [eluser]Chris Newton[/eluser] One thing I've recently found is that when adding 2 fields that use the ManyToMany plugin, when displayed, each field that uses the ManyToMany plugin gets an extra "add new" link. I've only tested this with 1 and 2 ManyToMany fields on one page. It could be that with 3 or more an extra 'add new' gets added to every instance of the plugin on the page. If I find anything else out, I'll post it here. CodeExtinguisher 2.0 Public Beta (RC10) - El Forum - 03-02-2008 [eluser]Jauhari[/eluser] Another Problem in RC7, I try to add date form and my date picker doesn't show up. can anybody tell me? CodeExtinguisher 2.0 Public Beta (RC10) - El Forum - 03-02-2008 [eluser]Majd Taby[/eluser] what are you calling your date field? could you show us some code? @mahuti, i'll have to look into that, thanks. CodeExtinguisher 2.0 Public Beta (RC10) - El Forum - 03-02-2008 [eluser]Chris Newton[/eluser] BTW, this works great with new records, but does not allow me to edit records that already exist in the system. Looking at the user registration system it appears that you're tracking all of the records editable by users. Is there a configuration option I missed that would override this feature? CodeExtinguisher 2.0 Public Beta (RC10) - El Forum - 03-02-2008 [eluser]Majd Taby[/eluser] actually that's a known issue, I'm working on fix it it right now ![]() CodeExtinguisher 2.0 Public Beta (RC10) - El Forum - 03-03-2008 [eluser]Jauhari[/eluser] [quote author="jTaby" date="1204539604"]what are you calling your date field? could you show us some code? [/quote] This is my YML Code Code: tanggal: And this is my Controller Code: <?php if (!defined('BASEPATH')) exit('No direct script access allowed'); And this is my result in HTML code Code: <label for="tanggal"> Please help me fix this problem. CodeExtinguisher 2.0 Public Beta (RC10) - El Forum - 03-03-2008 [eluser]Jauhari[/eluser] Another Question. How to make the URL more better, like your live_preview? so the URL will add the ID if edit some form example Code: http://blabla.com/index.php/post/edit/12 How to do that? CodeExtinguisher 2.0 Public Beta (RC10) - El Forum - 03-03-2008 [eluser]Majd Taby[/eluser] really, the only thing that looks suspicious in your code are the missing tags in the output HTML, it shouldn't be doing that, did you modify the Date plugin? As far as the URL's, the preview uses different code because of IE problems, when RC8 comes along it'll have the new layout and everything. CodeExtinguisher 2.0 Public Beta (RC10) - El Forum - 03-03-2008 [eluser]Chris Newton[/eluser] I believe this board strips out the script tags, which is why they're not shown. My datepicker is ALSO not showing up, and when looking at the code, the script tags are in there. When I did the default install I had this same problem, and at some point it magically went away. I think I reuploaded everything, and that fixed it. Since I did this new installation that I'm testing, I haven't yet tried the date plugin... now that I have, I see it's not working like the poster above. I'll try a few things out and tell you if I make any progress. |