Search:

Type: Posts; User: pbrooks

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Replies
    1
    Views
    1,244

    Re: Nginx and Contao

    Out of the box, Contao + Nginx will fail with most URLs. As nginx doesn't support .htaccess you'll need to add rules within the server configuration for nginx.

    Taking the basic .htaccess and...
  2. Replies
    5
    Views
    2,025

    Re: White Screen of Death

    At least it's not me, could of been occurring for a long time but it's certainly something which can halt development and waste a lot of time debugging.

    I'd assume the various includes for...
  3. Replies
    5
    Views
    2,025

    White Screen of Death

    Hi all,
    Something I've been noticing recently is an increase of the ability to get a white screen of death from Contao during development.

    I've got all error reporting on, including E_ALL. Say I...
  4. Replies
    3
    Views
    1,398

    Re: Detecting FE Javascript framework

    I'm writing a FE module that will use some simple Ajax to update the module state.
    After the original post I started considering doing it all in the JS. I haven't yet researched it but I assume...
  5. Replies
    3
    Views
    1,398

    Detecting FE Javascript framework

    Is there anything currently in the core to detect if Mootools, JQuery or both are being used in the FE? I know site administrators will use different combinations.
  6. [Core] Decouple Input/Password post data from Login

    Hi all, I'll try to keep this brief but this is related to User.php within the Core and to get the ball rolling on decoupling the requirement of POST data from Input/Password fields.

    The problem...
  7. Replies
    11
    Views
    3,320

    Re: several buttons in a form

    I understand of that intention, however the situation gets to become a limitation when you have two submit options on a form.

    Ie if you have some logic to put into processFormData and it behaves...
  8. Replies
    11
    Views
    3,320

    Re: several buttons in a form

    To reopen this topic in one form, why does Contao remove the possibility of using the name attribute of a submit button?
    Ie this code:


    // Submit buttons do not use the name attribute
    if...
  9. Replies
    8
    Views
    2,399

    Re: Status of workflow extension?

    I have actually been working on something similar, but wondering if they fit the same bill or are different.

    A sample use case may be as follows, any specified user may submit new content or...
  10. Replies
    3
    Views
    1,705

    Re: Modifying a DCA

    I'm trying to get away from using files to modify DCAs but rather do it in code execution, will give the hook a quick try and see if it works.
  11. Replies
    3
    Views
    1,705

    Modifying a DCA

    I've done quite a bit of modifying DCAs in the past and I've generally gone by the rule that if I want to modify a DCA I need to add a file with the dca name in a directory that will appear after the...
  12. Replies
    6
    Views
    2,048

    Re: core modification

    Hi Eric,
    Most core modifications are possible, but if you give some detailed information on what you're trying to achieve then we can better help.
  13. Replies
    17
    Views
    5,401

    Re: External Authentication

    Just regarding public/protected/private , to use a protected method you must be calling it from either within the class or from within an extension of that class.

    So let's say you extended a...
  14. Replies
    6
    Views
    2,485

    Re: Using a text input field as a selector

    ruleType is a read only field for display purposes only, the idea is to display what type of rule has been set in the record and provide the other form fields related to it.
  15. Replies
    17
    Views
    5,401

    Re: External Authentication

    I had begun the OpenID implementation, my http://www.contao.org/extension-list/view/Authentication.19.en.html Authentication module I had to add new code to User.php but I will see how much I can rip...
  16. Replies
    6
    Views
    2,485

    Re: Using a text input field as a selector

    It would help if I put the original code in the post, not the experiment stuff that didn't work. The previous code was me trying to sort the issue using a select.

    Anyway this was the original...
  17. Replies
    6
    Views
    2,485

    Using a text input field as a selector

    Hi all,
    Just wondering if it's possible to define what fields are displayed depending on what value exists for a text input.
    Ie for the field:


    'ruleType' => array
    (
    'label' =>...
  18. Replies
    17
    Views
    5,401

    Re: External Authentication

    Hadn't noticed the checkCredentials hook too much before, might modify my Authentication class to use this instead of having to do a patch on the core.

    Did anyone ever fully implement OpenID?
  19. Replies
    2
    Views
    1,775

    Re: Overwrite class methods outside of modules

    Hi,
    There is no way you can override the contao/index:Index run method without creating a new file. You could hack around this using Apache index directs on the directory but this is bad practice...
  20. Replies
    1
    Views
    975

    Creating new image

    Hi all,
    Just wondering what the best approach within Contao with regards to creating a new image, ie I've used PHP's GD functions to create a canvas and add elements to it. Then I'll be using...
  21. Replies
    1
    Views
    1,363

    Frontend URL's adding GET parameters

    Hi all,
    To add get parameters to a given URL I've been using:

    $this->generateFrontendUrl($objPage->row(),'/operation/create');

    However this isn't working on one install of Contao, where the...
  22. Replies
    1
    Views
    926

    Contao Debugging - FirePHP

    Hi all,
    Anyone had any success with attaching FirePHP to Contao?

    I installed the FirePHP directory in plugins and entered the configuration information into initconfig.php , however it seems to...
  23. Replies
    1
    Views
    796

    File Upload limited to a path

    I see that ['eval']['path'] will limit the widget to just look for files in a certain directory. For those with imports is it possible to limit the file uploader to that directory too?

    Cheers
  24. Replies
    1
    Views
    875

    Turning off cached queries

    Hi all,
    I'm aware that the Database class is executing all SQL queries at once after preparing, is it possible to fully execute a database query per function call?

    Cheers
  25. Thread: Autologin

    by pbrooks
    Replies
    1
    Views
    1,152

    Re: Autologin

    Hi,
    This will require some form of Single Sign-on integrating into both systems, I need to do a similar thing but auth users from Contao to a third party.
  26. Replies
    0
    Views
    590

    INSTALL - Package invalid path

    Hi all,
    Just wondering why INSTALL is an invalid path for adding files to a package within the extension management?
    I need to add some additional SQL to my module on install-time, it's a VIEW so...
  27. Replies
    5
    Views
    1,650

    Re: member group blob

    It's a serialized object, use http://php.net/manual/en/function.unserialize.php to unserialize it into an array.
  28. Replies
    7
    Views
    1,618

    Re: Contao incompatible with PEAR

    It looks like it's the OLE package within PEAR that's calling on System:
    http://pear.php.net/package/OLE/

    The two files in OLE/PPS/Root.php /OLE/PPS/File.php just call a static method in System...
  29. Replies
    7
    Views
    1,618

    Re: Contao incompatible with PEAR

    It's not the PEAR class itself that's the problem but the class 'System' within PEAR that other things will call upon.
    Including PEAR.php is no problem, it's when other PEAR modules include System.
  30. Replies
    7
    Views
    1,618

    Contao incompatible with PEAR

    I've just tried to use Contao with a PEAR class for XLS Writing (Which is LGPL and a requirement for the module I'm writing).
    However PEAR has a class System, as does Contao.

    Since it's not...
  31. Replies
    1
    Views
    854

    Re: Creating a member group automatically

    Hi MP___,
    You'll need to write your SQL manually, it's a pretty straight forward operations.
    See backend/dca/tl_group.php for TL's SQL.
  32. Replies
    0
    Views
    919

    BE callback TL_ERROR TL_CONFIRM TL_INFO

    For a custom callback, how does Contao output the various information stored in
    $_SESSION['TL_ERROR']
    $_SESSION['TL_CONFIRM']
    $_SESSION['TL_INFO']

    I assume it flushes the session variables when...
  33. Replies
    18
    Views
    4,607

    Re: OpenID integration

    I've updated the ticket with a new version of Alpha code, this is no longer a diff but rather a module over-riding and adding content. (http://dev.contao.org/attachments/899/c ... pha007.zip)
    The...
  34. Replies
    3
    Views
    1,252

    Adding DCA arguements to a field

    Hi all,
    Is it possible to add custom arguments to a field within a DCA that can be accessed by a custom widget?

    Cheers
  35. Replies
    5
    Views
    1,738

    Re: DCA Attempting to submit mandatory fields

    Eeek!
    My fix introduces a further bug that an empty record can then exist since the select menu change is saving the record.

    Until a fix has been decided on for the actual issue, I'll look into...
  36. Replies
    5
    Views
    1,738

    Re: DCA Attempting to submit mandatory fields

    The following code is a small hack to alter this behavior, however the bug still stands:

    class tl_bug_palette extends Backend{
    function field_save($value,$dca){
    ...
  37. Replies
    5
    Views
    1,738

    Re: DCA Attempting to submit mandatory fields

    The bug has been reported here :http://dev.contao.org/issues/2684 with a demo module of the problem.
  38. Replies
    5
    Views
    1,738

    Re: DCA Attempting to submit mandatory fields

    I've found out the behavior to duplicate this bug, I'll provide a working implementation of the BUG for Contao devs to try ASAP.
  39. Replies
    5
    Views
    1,738

    DCA Attempting to submit mandatory fields

    Within a DCA I am writing, A drop-down field defines the membership class for a member.
    However for some membership classes some fields are to be removed from the default DCA, before it refreshes...
  40. Replies
    18
    Views
    4,607

    Re: OpenID integration

    Hi FloB,
    Thanks for the speedy response, anything DCA wise, language definitions I am aware (and commonly implement) that they can be provided via an extension.
    Modifying User,ModuleLogin &...
  41. Replies
    18
    Views
    4,607

    Re: OpenID integration

    Dear all,
    I have now attached a second version of the authentication changes to the original OpenID ticket, this supports:
    AuthenticationUsername
    AuthenticationEmail
    AuthenticationFacebook

    At...
  42. Database Maintenance with non-syncing fields

    If you find that your module new fields keep showing CHANGE and not removing from Database maintenance then you've missed out NOT NULL and a DEFAULT value.

    Just a quick note for others who might...
  43. Replies
    18
    Views
    4,607

    Re: OpenID integration

    Heh, Cheers for the positive feedback.

    Facebook Connect was very simple to add to Contao, however with all these Single Sign-In Authentication methods I will need to add a redirect to let the user...
  44. Replies
    18
    Views
    4,607

    Re: OpenID integration

    A quick progress update.
    So far I've got the logic within the User class to work with the new Authentication schemes and got to the stage of two functions:
    generateLink()
    generateFields()
    which...
  45. Replies
    18
    Views
    4,607

    Re: OpenID integration

    Hi all,
    I've started to work on a full solution for other authentication methods into Contao, I've commented on the bug report and getting some discussion together here for the method I am taking...
  46. Replies
    2
    Views
    947

    Re: Firefox only logins

    Cookies are enabled, going to capture packets to get to the bottom of this.
    It seems to be dependant on web server and not related to php.ini.
    Our dev server is debian, the production server is...
  47. Replies
    2
    Views
    947

    [SOLVED] Firefox only logins

    A bit of an odd bug with our current install of Contao, it only lets Firefox users login.
    Something must be going wrong with the cookie somewhere, so far I've traced it down to User::authenticate()...
  48. Re: perform action after inserting new catalog item

    Hi pitballs,
    I've not played with catalog personally but just quickly looked at the source.
    Are you adding a new item to the tl_catalog_items table?
    If so, create a new module with:...
  49. Replies
    0
    Views
    739

    [SOLVED] Custom Widget copy

    Hi all,
    I'm creating a custom widget with a mix of select & input, all is going well except for the copy button on the widget.
    When the copy button is pressed, the array index for the name...
  50. Replies
    1
    Views
    1,048

    Re: timetable-calendar in the front end

    Hi thdelerme, did you get sorted with this extension?
    I do realise this post is a bit late but I'll help where I can, if you're just looking for extensions then it's probably best to post in 'Using...
  51. Replies
    21
    Views
    4,624

    Re: Most Common mistake with sub-palettes

    Does documentation already exist regarding data type definitions for Contao?
    Ie of the form:
    [database.sql - Selectors]
    Datatype: char(1) NOT NULL default ''

    And similarly for other fields such...
  52. Replies
    2
    Views
    1,223

    Re: Remove Contao Javascript popup

    Either my works browser is faulty or it's now sorted.
    Anyway, cheers :)
  53. Replies
    5
    Views
    1,992

    Re: Hiding a DCA field

    The following works WITHOUT modifying the Password widget, I just hope this isn't a bug ;)

    I will repackage this as a module in it's own right outside of the other module I'm developing it for.
    ...
  54. Replies
    2
    Views
    1,223

    Remove Contao Javascript popup

    Hi Contao team,
    Could you please add a tickbox to 'not see this popup again' onto the javascript popup when people are redirected from typolight?
    Since google hasn't indexed the site fully yet,...
  55. Replies
    5
    Views
    1,992

    Re: Hiding a DCA field

    A bit of a tricky one, don't really want to be altering the password length on the fly.
    Also trying to un-necessarily re-implement parts of any core class such as the widget class.

    I can possibly...
  56. Replies
    5
    Views
    1,992

    Re: Hiding a DCA field

    Sadly, some validation somewhere is stopping a blank password being saved. I've disabled the minlength and save_callback for password but it's still complaining about it requiring a min of 8...
  57. Replies
    5
    Views
    1,992

    Hiding a DCA field

    Hi all,
    I'm attempting to hide the password boxes in tl_member when a checkbox is ticked. I see two approaches:
    1) Add another database column called 'password_random'
    or
    2) Extend the Password...
  58. Replies
    1
    Views
    623

    Published vs start&stop

    Hi all,
    Within modules such as events and articles, what is the processing behind published vs start/stop.
    Ie some confusion can arise from when an article is published.

    If published is selected...
  59. Replies
    4
    Views
    2,166

    Re: BE_USER_LOGGED_IN where can i get this true.

    BE_USER_LOGGED_IN is to tell you if you have a backend user logged in, similarily FE_USER_LOGGED_IN will return if you have a frontend user logged in.
    It will not tell you which user is logged in.
  60. Replies
    9
    Views
    2,065

    Re: Extending the schema

    Hi all,
    Just wondering about this question and in terms of packaging. Even if I'm putting the SQL files into INSTALL within the package, am I to still list the SQL in system/module/config?

    Also,...
Results 1 to 60 of 92
Page 1 of 2 1 2