Search:

Type: Posts; User: DavideR

Search: Search took 0.00 seconds.

  1. Replies
    1
    Views
    1,673

    Solved: the csv source file had wrong encoding....

    Solved: the csv source file had wrong encoding. Saving it in utf8 solved the problem.
  2. Replies
    1
    Views
    1,673

    Database insert apostrophe problem

    I'm developing an extension for importing news from a csv file.
    When I make the insert into the db, the string that contains the teaser is interrupted in corrispondence of the first apostrophe...
  3. Replies
    7
    Views
    3,212

    I have the same needs: how did you solve?

    I have the same needs: how did you solve?
  4. Replies
    4
    Views
    4,024

    Uhm... doubt: can I read id and class of the...

    Uhm... doubt: can I read id and class of the tl_content 'form' inside processFormData?
  5. Replies
    4
    Views
    4,024

    I had another idea: I create a custom extension...

    I had another idea: I create a custom extension that adds a "To:" field in the 'form' tl_content, and then use it in processFormData to set to field.
  6. Replies
    4
    Views
    4,024

    one form for different field values

    Hi,
    in one website I need many forms, all equal, but I need to add a different information for each one in the email sent.
    I know that I can use the processFormData hook, but I don't know how to...
  7. Update database wants to drop db indexes... why?

    Hi,
    in one of my websites (Contao 3.5.3) the update database shows me that he wants to:

    ALTER TABLE `tl_article` DROP INDEX `pid`;
    ALTER TABLE `tl_calendar_events` DROP INDEX `pid`;
    ALTER...
  8. Replies
    4
    Views
    2,099

    Another great suggest from you Andreas ;) Thank...

    Another great suggest from you Andreas ;) Thank you
  9. Replies
    2
    Views
    1,966

    Hi Andreas, I've solved using news_categories...

    Hi Andreas,
    I've solved using news_categories extension and setting a default category for each user, but your solution will be useful in another case, thank you!
  10. Replies
    2
    Views
    1,966

    News list module filtered by news archive

    Hi,
    I have 30 news archives and 1 page 'blog.html' with inside a news list module that take alla news from all of these archives.
    Since I don't want to create 30 news list module and 30 pages, how...
  11. Replies
    4
    Views
    2,099

    Another interesting solution that i found in the...

    Another interesting solution that i found in the forum is that: editing system/config/dcaconfig.php:



    <?php

    // Put your custom configuration here

    $this->import('BackendUser', 'User');
  12. Replies
    0
    Views
    769

    Search module limit to one news archive

    Hi,
    is it possible to limit a search engine module to a news archive? I'd like to have a search module in my blog page, and another search module 'global' for all the site in another page
  13. Replies
    4
    Views
    2,099

    Ok, solved: i unchecked edit and remove in user...

    Ok, solved: i unchecked edit and remove in user group settings but was set yet in user setting.
  14. Replies
    4
    Views
    2,099

    Limit view in backend for users

    Hi,
    I have some users not administrator who need to insert news and events in the simpliest way. Every user has its news archive and its calendar.
    I create a group limited as much as I can, but it...
  15. Replies
    1
    Views
    1,500

    mod_message template: how to use

    Hi and happy new year!
    Working on a registration flow for the members I saw that sometimes it's used a mod_message template.. when it's used and how can it be customized?

    Davide
  16. Ok, I found some documentation about DC_Table:...

    Ok, I found some documentation about DC_Table: https://contao.org/en/news/accessing-the-active-record-in-the-dca.html

    The problem now is that $dc->id is not valorized...
  17. Searching in Contao sourcecode I've found that...

    Searching in Contao sourcecode I've found that there is a second argument that can be passed to my mySaveCallback(), that contains a DC_Table object,
    but I can't find any information in it about my...
  18. I've found a way that consists of using the...

    I've found a way that consists of using the save_callback. I've added in my extension/dca/tl_member.php the following line:

    ...
  19. toggle visibility for member activation: callback or hook?

    Hi and first of all happy Christmas for everyone!!! :)

    I need to do something when a member is activated (or deactivated) in the backend through the toggle visibility green eye icon. I tried the...
  20. News Menu archive year and problem with get parameter

    Hi all,
    I have a problem with the module 'news menu archive': ?year= parameter is always appended, so if i previously clicked on a year, urls of the menu are something like '?year=2012?year=2013'.
    ...
  21. member deactivation date: how do something when this happens

    Hi,
    I want to do something (like send a notification or an email) when a member account expires because the deactivation date. I'm looking for a hook but seems that not exists.. any ideas?

    Thanks
  22. In the template (member_default.html5) there is...

    In the template (member_default.html5) there is only $this->fields that contains html (no array with form controls to cycle)
  23. member registration: select one group instead of checkboxes

    Hi! Is it possible in member registration for choose only one member group (and not many) use select (or radio) instead of checkboxes?

    Thank you

    Davide
  24. How to get url to a page adding tag parameter?

    Hi all,
    is there an insert tag that, given tag param value, compose the url to a page?
  25. Andreas, interesting solution, thank you! I'll try

    Andreas, interesting solution, thank you! I'll try
  26. Replies
    0
    Views
    1,158

    Contao naming conventions

    Hi all,
    where can I find the naming convention that is to be used when coding an extension in Contao?

    Thank you
  27. Replies
    0
    Views
    995

    Development environment setup with git

    Hi,
    I have a question for those of you who develops on Contao and uses github to release his extension: how do you set up your develop environment? Extension repository outside the contao local...
  28. Load event list module with dynamic parameter

    Hi!
    I have 30 calendars in one contao installation, and 30 pages each of them that have to hold an event list module.

    Is there an alternative solution to create 30 modules event list? For...
  29. Replies
    3
    Views
    5,842

    Because when it imports events from google...

    Because when it imports events from google calendar, it creates content elements 'text' for location and other infos, but they are generic, i can't style them on my theme
  30. Replies
    3
    Views
    5,842

    [calendar_ical] does someone use it?

    Hi guys,
    I need to display google calendar events in my Contao website (i want to style them like the website, so i don't want to use google calendar widget).
    I found calendar_ical extension and...
  31. How to generate news alias with hidden field?

    Hi all!
    I have an usergroup that can insert news with only a subset of fields. I want to hide to users the field 'alias' but I want that the alias is generated automatically.

    Is it possible? How?...
  32. Replies
    2
    Views
    1,549

    I'm thinking about keep files in something like...

    I'm thinking about keep files in something like dropbox and linking inside my news... the problem is that dropbox files are public, so link are protected inside contao but not outside
  33. Handle protected content element visibility in template

    Hi,
    is it possible to handle protected content element visibility in template?
    Suppose to have a download content element available only for a specific membergroup: i'd like to show content...
  34. Replies
    2
    Views
    1,549

    Contao and serving huge files

    Hi,
    I'm evaluating Contao for making a website that serves files to different protected memberships.
    Contao membership fits perfectly.
    My doubt is about file sizes: files for download are many...
  35. Replies
    1
    Views
    1,414

    Avatar not working on Contao 3.3

    Hi all,
    I installed avatar extension because I need to show an image for the news author (be user), but it doesn't work. The selection of the image inside the user editor doesn't save the image.
    ...
  36. Replies
    7
    Views
    4,644

    I'm cycling an array of posts from wordpress and...

    I'm cycling an array of posts from wordpress and foreach one I create a record inside tl_news. For simplicity I don't use content elements but NewsSimple extension, that restores the old news...
  37. Replies
    7
    Views
    4,644

    So the flow should be: 1) copy /uploads/ under...

    So the flow should be:

    1) copy /uploads/ under /files/uploads
    2) do System > File Manager > Synchronize
    3) run my import extension which it does something similar:



    $posts = getPosts();
  38. Replies
    7
    Views
    4,644

    First of all thank you for your response. Since...

    First of all thank you for your response.
    Since I don't upload any file, because I have copied /uploads/ from Wordpress to Contao /files/, I do that:


    \Dbafs::addResource($post_image_path);
    ...
  39. Replies
    7
    Views
    4,644

    Adding an image in a news by code

    Hi,
    I'm working on a script for importing wordpress posts to contao. I have the URL of the post image on wordpress (like www.domain.com/wp-content/uploads/2014/05/my-image.jpg), and I copied all...
  40. Replies
    0
    Views
    2,112

    Tags features for users and user groups

    Hi all!
    Is it possible to prepopulate tags for some user or group? I need to set a different tag for every group I created, without have to remind users to do it manually.

    Cheers

    Davide
  41. First of all thank you very much for your...

    First of all thank you very much for your support!
    I update to RC2 but NewsSimple didn't compare yet. So I have uninstalled NewsSimple and then reinstalled but this time with your procedure (before...
  42. Strange… I've installed in my 3.3 RC1 with the...

    Strange… I've installed in my 3.3 RC1 with the classic install extension but it tells that is not valid for 3.3RC1.. and I can't see anywhere the options :(
    is it possible that is compatible with...
  43. Thank you Xchs, it seems a good idea, but i'm...

    Thank you Xchs,
    it seems a good idea, but i'm using 3.3 RC1 and it doesn't work yet with this version :(
  44. Content Elements in News: how to create a 'page prototype' ?

    Hi all!
    I'm building a Contao 3.x website where some users will write their news.
    I think that content elements are very powerful but my users are not so skilled and i'm afraid that the pattern for...
Results 1 to 44 of 45