Search:

Type: Posts; User: ga.n

Page 1 of 6 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    78

    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...
  2. Replies
    1
    Views
    70

    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...
  3. Replies
    14
    Views
    432

    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)...
  4. Replies
    4
    Views
    185

    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...
  5. Replies
    4
    Views
    185

    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"
  6. Replies
    6
    Views
    171

    (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...
  7. Replies
    1
    Views
    120

    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
  8. Replies
    2
    Views
    119

    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)
  9. 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...
  10. Replies
    2
    Views
    138

    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....
  11. Replies
    2
    Views
    830

    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?
  12. Replies
    13
    Views
    4,991

    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)
  13. Replies
    3
    Views
    1,566

    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...
  14. 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...
  15. Thread: Hooks dont fire

    by ga.n
    Replies
    9
    Views
    1,000

    Re: Hooks dont fire

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

    by ga.n
    Replies
    9
    Views
    1,000

    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
  17. Thread: Hooks dont fire

    by ga.n
    Replies
    9
    Views
    1,000

    Re: Hooks dont fire

    not sure about this but maybe you can change the e-mail value in the validateFormField hook
  18. Replies
    10
    Views
    3,702

    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 ;)
  19. Thread: Search form help

    by ga.n
    Replies
    8
    Views
    2,073

    Re: Search form help

    did you rebuild the search index?

    take a look at Backend -> Maintenance
  20. Replies
    10
    Views
    3,702

    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' =>...
  21. Thread: Hooks dont fire

    by ga.n
    Replies
    9
    Views
    1,000

    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
  22. Replies
    10
    Views
    3,702

    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
  23. Replies
    10
    Views
    3,702

    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...
  24. Thread: Hooks dont fire

    by ga.n
    Replies
    9
    Views
    1,000

    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?
  25. Replies
    10
    Views
    3,702

    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
  26. Replies
    3
    Views
    560

    Re: Contao 3.06 Installation

    ops :) you are right thanks for pointing this out.
  27. Replies
    3
    Views
    560

    Re: Contao 3.06 Installation

    look at system/logs/error.log
  28. Replies
    2
    Views
    336

    Re: Contao 3.0 and multi language sites

    the changelanguage extension is compatible with Contao 3
  29. Replies
    0
    Views
    431

    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.
  30. Re: problem site not open in Firefox MAC in iPhone

    check the language fallback of your root page
  31. Replies
    6
    Views
    374

    Re: COntao3: database generation from SQL

    did you disable the dca caching?
  32. 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.
  33. Re: Can't edit a layout, 501 Method Not Implemented

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

    by ga.n
    Replies
    3
    Views
    316

    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...
  35. Thread: Image on menu

    by ga.n
    Replies
    3
    Views
    316

    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
  36. Replies
    2
    Views
    1,099

    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
  37. Replies
    2
    Views
    919

    Re: form validation error message

    system/modules/backend/languages/en/default.php
  38. 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
  39. Re: [content_cssid_select] Content element CSS select option

    Topic closed

    please continue here
  40. Thread: Custom form

    by ga.n
    Replies
    7
    Views
    1,633

    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
  41. 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...
  42. Thread: Javascript Code

    by ga.n
    Replies
    1
    Views
    460

    Re: Javascript Code

    Did you add the <script> tag in the allowed tag list under Settings?
  43. Replies
    1
    Views
    646

    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...
  44. Replies
    5
    Views
    2,740

    Re: Looking for new moderators

    Hi,

    I can do it
  45. Replies
    2
    Views
    922

    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...
  46. Re: redirect old addresses with index.php, to the new struct

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

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

    by ga.n
    Replies
    11
    Views
    4,566

    Re: Responsive design

    it is great :)

    I really like the idea of the navigation menu that switches to a selectbox when viewed as mobile
  49. Replies
    8
    Views
    527

    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
  50. Replies
    4
    Views
    2,999

    Re: Using the new data-lightbox attribute

    please let me know so I can update the ckeditor extension ;)
  51. Replies
    8
    Views
    527

    Re: Using TypeKit with Contao ?

    the web font loader extension should support typekit
  52. Replies
    4
    Views
    2,999

    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
  53. Replies
    2
    Views
    467

    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
  54. Replies
    2
    Views
    724

    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
  55. Replies
    4
    Views
    470

    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 ;)
  56. 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...
  57. 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
  58. Replies
    2
    Views
    780

    Re: Contact Form - auto reply?

    the efg extension provides this functionality
  59. Replies
    2
    Views
    638

    Re: Cleaning Query Strings in Urls

    I think it is as simple as


    $clean_get = array_filter($_GET);


    then you can re-create the url by using the "Controller::generateFrontendUrl" method
  60. Replies
    1
    Views
    247

    Re: accordion in the right column

    You can choose in which column an article should be shown, see attached image
Results 1 to 60 of 326
Page 1 of 6 1 2 3 4