Search:

Type: Posts; User: ga.n

Page 1 of 6 1 2 3 4

Search: Search took 0.01 seconds.

  1. Hi xchs, thank you for the suggestion. I've...

    Hi xchs, thank you for the suggestion.

    I've tried to login but it seems to require a separate registration.

    I've also tried to register but I am not able to fill the "Sicherheitsfrage" (if i...
  2. Visual editor for madeyourday/contao-rocksolid-custom-elements

    Hi all,

    I've built a tool for creating RockSolid Custom Elements configuration files.

    It features all field types supported by RockSolid Custom Elements (list included) and let you export your...
  3. Replies
    1
    Views
    1,901

    Activate the debug mode (Contao 3: under...

    Activate the debug mode (Contao 3: under settings, Contao 4: using app_dev.php instead of app.php) then view the html source of the page. You will see a lot of html comments telling you which...
  4. Replies
    1
    Views
    2,195

    to be sure you are editing the right template...

    to be sure you are editing the right template view the site using the app_dev.php entry point (e.g. http://example.com/app_dev.php/page-alias.html) then show the source of the page and you will see...
  5. Replies
    14
    Views
    6,434

    There is something wrong with the ...

    There is something wrong with the


    system/modules/news_categories/config/autoload.ini

    The error means it can not be parsed by the parse_ini_file php function (i.e. it is not a valid ini file)...
  6. Replies
    4
    Views
    5,386

    IIRC you can use insert tags inside the...

    IIRC you can use insert tags inside the "Condition" field
    so will be something like
    user_id = {{user::id}}



    Editing in frontend can be achieved by creating a form through the form generator...
  7. Replies
    4
    Views
    5,386

    You can use a "Listing" frontend module, just...

    You can use a "Listing" frontend module, just create it from Themes -> <yourtheme> -> Modules, then show it by using a Content Element of type "Module"
  8. Replies
    6
    Views
    4,206

    (please be sure to have a backup somewhere before...

    (please be sure to have a backup somewhere before following these steps)

    - run the contao install (i.e. http://example.com/contao/install)
    - the installer will warn you that some folders are not...
  9. Replies
    2
    Views
    6,043

    are you talking about frontend or backend? in...

    are you talking about frontend or backend?

    in backend you can use findPublishedRootPages from PagesModel class

    in frontend you can use getRootPageFromUrl from Frontend class
  10. Replies
    2
    Views
    2,238

    try this: /(a{1})(?!\1)/g explanation: ...

    try this:

    /(a{1})(?!\1)/g

    explanation:

    (a{1}) exactly a single "a"

    (?!\1) which isn't followed by the exact same match (\1 reference to the first match)
  11. Ciao Elena ;), - contao 3.5 uses the...

    Ciao Elena ;),

    - contao 3.5 uses the password_hash function (http://php.net/manual/en/function.password-hash.php) to encrypt both backend and fronted passwords (using the CRYPT_BLOWFISH...
  12. Replies
    2
    Views
    2,468

    I have several Contao 3 installations running on...

    I have several Contao 3 installations running on PHP 7.
    You should take a look a system/logs/error.log or set
    $GLOBALS['TL_CONFIG']['displayErrors'] = true; in your system/config/localconfig.php....
  13. Replies
    2
    Views
    1,944

    Re: Access to local variables in child object

    can you link (on github) the original source code you wish to "extend"?

    what do you want to accomplish exactly?
  14. Replies
    14
    Views
    19,503

    Re: Should we move the forum to stackexchange.com?

    I Agree with Kamil.

    On the moderator side a good solution for approving posts more quickly may be to send a notification by email (post is awaiting approval)
  15. Replies
    3
    Views
    10,498

    Re: Could this be a vulnarability?

    check also that your pc (or the pc of the customer if he has ftp upload access) is infected

    there is a malware that stole the credentials from every ftp connection and put its code into all .php...
  16. Re: How do I change the News Archive List as drop down menu

    I suggest you to:

    - show years
    - hide months
    - when a year is clicked the months of that year will show up

    I did something similar on this site http://bit.ly/11gZefh using javascript.

    look...
  17. Thread: Hooks dont fire

    by ga.n
    Replies
    9
    Views
    3,365

    Re: Hooks dont fire

    sorry i did not understand you are talking about implement your own sending.
  18. Thread: Hooks dont fire

    by ga.n
    Replies
    9
    Views
    3,365

    Re: Hooks dont fire

    @Ruud

    the processFormData hook fires after the email has been sent both in Contao 3.x and Contao 2.x

    https://github.com/contao/core/blob/master/system/modules/core/forms/Form.php#L253
  19. Thread: Hooks dont fire

    by ga.n
    Replies
    9
    Views
    3,365

    Re: Hooks dont fire

    not sure about this but maybe you can change the e-mail value in the validateFormField hook
  20. Replies
    10
    Views
    11,459

    Re: Custom action on form submit

    put this before the $res ...



    $this->import('Database');


    you've got a blank screen because you set the option to not display errors next time check the system/logs/error.log file ;)
  21. Thread: Search form help

    by ga.n
    Replies
    8
    Views
    5,935

    Re: Search form help

    did you rebuild the search index?

    take a look at Backend -> Maintenance
  22. Replies
    10
    Views
    11,459

    Re: Custom action on form submit

    if the field which contains the email address is named email you can do this in the hook method:




    $arrData = array(
    'pid' => 1, // this is your newsletter ID
    'tstamp' => time(),
    'email' =>...
  23. Thread: Hooks dont fire

    by ga.n
    Replies
    9
    Views
    3,365

    Re: Hooks dont fire

    if you are using Contao 3.x there is the (undocumented) prepareFormData hook

    https://github.com/contao/core/blob/master/system/modules/core/forms/Form.php#L256
  24. Replies
    10
    Views
    11,459

    Re: Custom action on form submit

    I just wrote a quick tutorial

    http://zedseries.blogspot.it/2013/04/contao-2x-hooks-tutorial-processformdata.html

    hope it helps you to get started
  25. Replies
    10
    Views
    11,459

    Re: Custom action on form submit

    Which version of Contao are you using?

    Did you take a look at the efg extension?

    https://contao.org/en/extension-list/view/efg.en.html

    The efg extension can save the form data into a custom...
  26. Thread: Hooks dont fire

    by ga.n
    Replies
    9
    Views
    3,365

    Re: Hooks dont fire

    The processFormData hook fires only with forms handled by Contao (i.e. forms created with the form generator)

    What are your needs?

    Why are you telling you can't use the form generator?
  27. Replies
    10
    Views
    11,459

    Re: Custom action on form submit

    You can do it with the "processFormData" hook

    https://contao.org/en/manual/3.0/customizing-contao.html#processformdata
  28. Replies
    3
    Views
    1,523

    Re: Contao 3.06 Installation

    ops :) you are right thanks for pointing this out.
  29. Replies
    3
    Views
    1,523

    Re: Contao 3.06 Installation

    look at system/logs/error.log
  30. Replies
    2
    Views
    1,122

    Re: Contao 3.0 and multi language sites

    the changelanguage extension is compatible with Contao 3
  31. Replies
    0
    Views
    1,050

    multiple unique keys in dca

    Hi,

    I am working on a new project based on Contao 3

    I need to define a UNIQUE KEY based on multiple fields

    e.g.
  32. Re: problem site not open in Firefox MAC in iPhone

    check the language fallback of your root page
  33. Replies
    6
    Views
    1,715

    Re: COntao3: database generation from SQL

    did you disable the dca caching?
  34. Replies
    5
    Views
    1,509

    Re: Can't edit a layout, 501 Method Not Implemented

    post the relevant part of your apache log
    (should be into <apache_dir>/logs/error.log)

    anyway this is not a Contao problem but a webserver configuration issue.
  35. Replies
    5
    Views
    1,509

    Re: Can't edit a layout, 501 Method Not Implemented

    which webserver are you using?
  36. Thread: Image on menu

    by ga.n
    Replies
    3
    Views
    1,263

    Re: Image on menu

    in the "page details" you can add a "css class" under "expert settings" (see http://www.webpagescreenshot.info/img/653767-1232012104840AM)

    assuming that you put a "css class" "mypage"

    the link...
  37. Thread: Image on menu

    by ga.n
    Replies
    3
    Views
    1,263

    Re: Image on menu

    You can add a "body class" through the "edit page" in the backend and then add the image as background using css
  38. Replies
    2
    Views
    1,942

    Re: Cannot connect to CSS - getting fatal error

    the error message is not related to the css, it is a database error

    ask your hosting provider about the limit of concurrent connections to your database
  39. Replies
    2
    Views
    1,880

    Re: form validation error message

    system/modules/backend/languages/en/default.php
  40. Re: [css_select] Turn class and id fields into select boxes

    a better approach (in order to apply multiple classes) could be something like the "tags" selector of the extension Tag
  41. Re: [content_cssid_select] Content element CSS select option

    Topic closed

    please continue here
  42. Thread: Custom form

    by ga.n
    Replies
    7
    Views
    3,122

    Re: Custom form

    just use the loadFormField hook

    each input element extends the Widget class

    you can really do whatever you want just by using php code
  43. Replies
    4
    Views
    2,025

    Re: Redirect form results to an external database

    are you using a service like mailchimp or aweber?



    for mailchimp there is an extension http://contao.org/en/extension-list/view/hc_mailchimp.en.html

    if there isn't an already-made extension...
  44. Thread: Javascript Code

    by ga.n
    Replies
    1
    Views
    1,106

    Re: Javascript Code

    Did you add the <script> tag in the allowed tag list under Settings?
  45. Replies
    1
    Views
    1,244

    Re: New to Contao - Few Questions

    Contao generates contents dynamically. However you can choose a cache time for each page.



    Yes, without mod_rewrite your pages urls will always starts with index.php.



    Contao is highly...
  46. Replies
    5
    Views
    6,322

    Re: Looking for new moderators

    Hi,

    I can do it
  47. Replies
    2
    Views
    1,889

    Re: No results from "Search Engine" in 2.11.4

    Be sure that:

    - your pages (under Site Structure) do *not* have the "Do not search" flag
    - the search engine is enabled (under Settings -> Search engine)
    - you rebuilt your search index...
  48. Re: redirect old addresses with index.php, to the new struct

    you need to add the querystring to the rewrote url
  49. Re: Can't open the Extensions catalog or Extensions manager

    take a look at system/logs/error.log
  50. Thread: Responsive design

    by ga.n
    Replies
    11
    Views
    7,824

    Re: Responsive design

    it is great :)

    I really like the idea of the navigation menu that switches to a selectbox when viewed as mobile
  51. Replies
    8
    Views
    2,684

    Re: Using TypeKit with Contao ?

    I usually load my fonts directly from tl_files folder

    So I can not help you with this issue, sorry
  52. Replies
    4
    Views
    4,929

    Re: Using the new data-lightbox attribute

    please let me know so I can update the ckeditor extension ;)
  53. Replies
    8
    Views
    2,684

    Re: Using TypeKit with Contao ?

    the web font loader extension should support typekit
  54. Replies
    4
    Views
    4,929

    Re: Using the new data-lightbox attribute

    Did you try to use the same value, changing only the attribute name?

    e.g.



    rel="lightbox[group1]" and rel="lightbox[group2]"


    become
  55. Replies
    2
    Views
    1,177

    Re: How to refer to body class?

    this is the wrong way to do translations.

    take a look at http://www.contao.org/en/custom-configurations.html#translations
  56. Replies
    2
    Views
    1,594

    Re: Custom template not working with insert tags

    if you are using Contao 2.11.x you have to clear the system/tmp directory (Backend -> Maintenance) after you modified the templates
  57. Replies
    4
    Views
    1,460

    Re: Change the error page

    if it is not a "live" website just turn "display errors" to off and change the database password so Contao cannot connect to the database ;)
  58. Re: Birthday list extension not looping through database

    Did you try to execute the query directyl (i.e. through mysql shell or tools like phpmyadmin)?



    SELECT
    *, EXTRACT(YEAR FROM (FROM_DAYS(DATEDIFF(NOW(),FROM_UNIXTIME(dateOfBirth))))) AS...
  59. Re: Too few arguments in /contao/install.php on line 949

    it is a problem related to a missing translation string, upgrade your language files and try again
  60. Replies
    2
    Views
    1,990

    Re: Contact Form - auto reply?

    the efg extension provides this functionality
Results 1 to 60 of 328
Page 1 of 6 1 2 3 4