[pLog-svn] Rewrite of getSessionValue()

Ammar Ibrahim ammar.ibrahim at gmail.com
Mon Jul 17 00:04:41 GMT 2006


I guess that I have a better understanding of LT now, things could be
easier, I will rewrite and wrap the code in plugins as much as I could, if I
stumble across anything that can't be "cleanly" modified I will surely post
about it.

I will check the XML file as well, because I modified the PHP code. Maybe we
could have a basic array to disable "op" so that if they are removed from
the user interface, they can be cleanly deactivated.

Thanks

On 7/16/06, Oscar Renalias <oscar at renalias.net> wrote:
>
> On 7/10/06, Ammar Ibrahim <ammar.ibrahim at gmail.com> wrote:
> > I added something for our single sign on system. Changed many templates
> in
> > the admin side, I hate the way when you click on a tab now you get a
> file to
> > choose what action you want to do, I prefer showing a default page for
> every
> > tab, and having the other tabs there as well.
>
> Did you modify PHP code to achieve this result or did you have a look
> at the file templates/admin/menus.xml?
>
> If you didn't do the latter, now it might be a good time to do it,
> since it allows you to reorganize the menu structure without modifying
> any code. You could for example be taken to the "new resource" page
> when clicking the "resource centre" link at the top by only changing
> the value of the "url" parameter here:
>
> <ResourcesGroup url="?op=resourcesGroup" localeId="resourceCenter">
>
> It also allows to reorganize the whole menu structure if you wish.
> Just make sure that the file validates as valid XML before testing it,
> or else you'll get some funky menus...
>
> This does not remove the action mappings from the controller, though,
> so if you remove some options from the menu, users might still be able
> to access them if they know the right value for the "op" parameter.
>
> > I removed things like "custom fields" which average users don't use.
>
> Same as above.
>
> > rewrite rules & things in the .htaccess moved to the vhost conf for
> > performance reasons.
> >
> > but nonetheless I found out that there were many things that could have
> been
> > done as a plugin, but unfortunatly didn't think wisely back then, I will
> try
> > to make them plugins, should make my life easier.
>
> Do you have any examples?
> _______________________________________________
> pLog-svn mailing list
> pLog-svn at devel.lifetype.net
> http://devel.lifetype.net/mailman/listinfo/plog-svn
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http:// devel.lifetype.net/pipermail/plog-svn/attachments/20060717/cac98f0a/attachment.html


More information about the pLog-svn mailing list