Search:

Type: Posts; User: tsarma

Page 1 of 5 1 2 3 4

Search: Search took 0.00 seconds; generated 21 minute(s) ago.

  1. Replies
    2
    Views
    6,049

    Hi there, I am also looking for the same way...

    Hi there,

    I am also looking for the same way to find the root page to which the current Content Element associated in Backend.

    \PageModel::findPublishedRootPages(); will give you all the...
  2. Replies
    2
    Views
    2,239

    Thank you very much, yours solution seems...

    Thank you very much, yours solution seems working. I've here a test link

    https://regex101.com/r/hb02dk/1
  3. Replies
    2
    Views
    2,239

    Regex Help needed.

    How can I select every a in a text, but not adjacent a's appearing before it. For example all bold a from the string below

    a bcda bbba bxyaaa aaa abbb baaaabazsrbbaba baaaa

    With this regex...
  4. Replies
    4
    Views
    7,508

    Good catch, thanks for your input.

    Good catch, thanks for your input.
  5. Replies
    4
    Views
    7,508

    Ever needed to change collation of table?

    When you are upgrading Contao 3.5 installation to Contao 4.4, you may be left with old table collation "utf8_general_ci" instead of new collation "utf8_unicode_ci" used by Contao 4.4. With the...
  6. Replies
    6
    Views
    4,443

    Thanks, but I'm not able to solve it.

    Thanks, but I'm not able to solve it.
  7. Replies
    6
    Views
    4,443

    No, not working with RewriteRule ^$...

    No, not working with

    RewriteRule ^$ %{ENV:BASE}/index.html [L]
    as you pointed out after.

    RewriteRule ^(.*) - [E=BASE:%1]

    Url structure is like ->...
  8. Replies
    6
    Views
    4,443

    Thanks for posting complete .htaccess. ...

    Thanks for posting complete .htaccess.



    How? This is actually I wanted to know.
  9. Replies
    6
    Views
    4,443

    Contao 4 - htaccess small issue

    # Rewrite all other queries to the front controller.
    RewriteRule ^ %{ENV:BASE}/app.php [L]

    Having above line in standard contao4 installation .htaccess file breaks the default behavior of a...
  10. Replies
    13
    Views
    6,503

    Delete "web/files/some-folder" and create symlink...

    Delete "web/files/some-folder" and create symlink again.
  11. Replies
    7
    Views
    4,006

    At the moment, I can't install...

    At the moment, I can't install metamodels/attribute_text are we supposed to use only MetaModels/attribute_longtext?
  12. Replies
    7
    Views
    4,006

    Thanks

    Thanks
  13. Replies
    7
    Views
    4,006

    Sorry, I mean MetaModels 2.1 with Contao 4

    Sorry, I mean MetaModels 2.1 with Contao 4
  14. Replies
    7
    Views
    4,006

    When will be MetaModels 2.1 release to try?

    When will be MetaModels 2.1 release to try?
  15. Replies
    0
    Views
    1,726

    tcpdf.php in Contao 4

    Hi there,
    I wanted to change some settings in tcpdf.php. In Contao 4 'system/config/tcpdf.php' is a smylinked from 'vendor/contao/core-bundle/src/Resources/contao/config/tcpdf.php'. How can I...
  16. ✌️[Solved] How can I move my Hook callback in services.

    After having watched https://www.youtube.com/watch?v=BXVqORbN16Q and https://www.youtube.com/watch?v=34R7buoM_cc, By the way thanks for Andreas Schemp & Christian Schiffler.

    I tried to create a...
  17. Replies
    0
    Views
    1,703

    Why my local bundle is not loading?

    I have put my local bundle (Demo.zip) under /src folder. Although I've defined Plugin class inside this bundle, it is not loading. No error or nothing. I'm expecting a new Content Element in Backend,...
  18. Replies
    2
    Views
    2,296

    That's it then! Thanks for the information.

    That's it then! Thanks for the information.
  19. Replies
    2
    Views
    2,296

    Can't install Contao 4.5.6 standard-edition!

    I am getting an error message "Could not find package contao/standard-eidtion with version 4.5.6", thus I can not install contao 4.5.6 locally. Any suggestions are welcome.

    What I have done is
    ...
  20. Replies
    9
    Views
    13,716

    I am facing the same problem!!

    I am facing the same problem!!
  21. Replies
    7
    Views
    3,744

    Why you wanted to do that. It is automatically...

    Why you wanted to do that. It is automatically added to sitemap.xml

    If you still wanted to do that, create a page (external url) and link to the detail page.
  22. Replies
    2
    Views
    1,367

    Thank you very much, it helped!

    Thank you very much, it helped!
  23. Replies
    2
    Views
    1,367

    Contao 4.4.8 installation

    Hello folks, I've installed a Contao 4.4.8 Managed edition with contao-manager.phar on my local machine.

    Then I've copied with ftp all files from my local installation to my hosting. Now I can not...
  24. I have opened an Issue and suggested a workaround...

    I have opened an Issue and suggested a workaround here
    https://github.com/contao/core-bundle/issues/885


    Just for the record
  25. I have now tried to install Contao 4.4.0 on...

    I have now tried to install Contao 4.4.0 on external hosting server (hostpoint). Again I am confronted with exactly same problem. Can't figure out!!!
  26. I was able to install and run Contao 4.3.10 with...

    I was able to install and run Contao 4.3.10 with the same conditions on the same machine. Now what could be causes!
    Did you managed to install Contao 4.4.0 by the way, without the same problem I am...
  27. Hi there, Yes Tables are created actually in the...

    Hi there,
    Yes Tables are created actually in the first run. But unlike usual which says "The database is up to date". CREATE TABLE sql remained checked all the time and hence the problem.
  28. Contao 4.4 standard-edition, install script problem

    I installed Contao 4.4.0 files, with composer

    composer create-project contao/standard-edition <target>

    Not to mention I have set up Virtual Host and website root is set to /web folder

    When...
  29. Replies
    2
    Views
    1,687

    Use this piece of code inside your template (in...

    Use this piece of code inside your template (in your case ce_image.hmtl5) to see what all variables are available for you to use.



    <?php $this->showTemplateVars(); ?>


    Hope it helps
  30. It works now. Why not download the installation...

    It works now.
    Why not download the installation provided and try it your self
  31. Replies
    2
    Views
    2,396

    Did you update all the dependent modules? for...

    Did you update all the dependent modules? for example haste...
  32. Why is -> Fix the Module::renderNavigation() method

    Can some one tell me, what is wrong here -> https://github.com/contao/core/commit/88bfef11a34a5c50e249792a188118ca61e0ceeb with

    while ($objSubpages->next())
    which Leo has changed to

    ...
  33. \StringUtil::parseSimpleTokens and Isotope Notificatoin center ##document##

    Can some one please explain how the simple token ##document## is converted to a file path?

    Inside \StringUtil parseSimpleTokens() function there is a block of code, what and how does it do the...
  34. Replies
    2
    Views
    2,379

    Thank you for the info and links. I need to...

    Thank you for the info and links.

    I need to study more about Event-Dispacher concept and how to used it.
  35. Just protecting the pages should be enough, as...

    Just protecting the pages should be enough, as you might have thought of.
  36. Replies
    2
    Views
    2,379

    Is there a way to override MetaModels class?

    MetaModels classes are loaded with composer autoload. How can I override such classes from my own module folder, so that it remains update save.

    For example: I wanted to override MM class ->...
  37. Although this thread is relative old. May be...

    Although this thread is relative old. May be somebody is still looking for more information. I have set up a demo website with MetaModels Frontend-editing function, hope you may find it useful....
  38. Replies
    5
    Views
    2,558

    No, i wouldn't delete those files. I just wanted...

    No, i wouldn't delete those files. I just wanted to know that these files are not used at all if no autoload is defined in composer.json
  39. Replies
    5
    Views
    2,558

    Hi there, thank you for the answer. So that...

    Hi there,

    thank you for the answer. So that mean it depends on autoload settings in the composer.json file.

    So when you say, "if an extension has defined autoload information in the...
  40. Replies
    5
    Views
    2,558

    Just a question, composer client and modules

    When I install modules with composer client, then modules files are installed inside normal "./system/modules" folders and also under "./composer/vendor/" . Thus there are 2 copies of modules files...
  41. Replies
    2
    Views
    2,512

    Thank you

    Thank you
  42. Replies
    2
    Views
    2,512

    How do I install metamodel

    I have read here
    http://metamodels.readthedocs.io/en/latest/manual/install.html

    done this
    $ composer require metamodels/bundle_all

    but I got this

    Using version ^2.0 for...
  43. Solved: The question was irrelevant, when...

    Solved:
    The question was irrelevant, when setting is done correctly.

    After reading through these two thread:...
  44. Isotope checkout complete error with Invalid request token [solved]

    I am using datatrans payment gateway, Contao 3.5.14, Isotope 2.3.5 plus changes from https://github.com/isotope/core/pull/1640

    In the checkout process, after having paid with cerdit card, i was...
  45. Replies
    0
    Views
    2,447

    How can I overwrite Cart class

    Hi,

    how can I overwrite class "Isotope\Model\ProductCollection\Cart", real path is "isotope/library/Isotope/Model/ProductCollection/Cart.php". Is this possible by the way?

    Thank you
  46. Hi Andreas, That was a useful tips. I've...

    Hi Andreas,

    That was a useful tips.

    I've defined a new $GLOBALS['ISO_HOOKS']['generateProduct'] and with that I've added a new template variable (previleged). Thus I can use



    <?php if...
  47. Price visible only to a logged in member of a particular group. [SOLVED]

    Members of some group may see the price only after a login. How can I set up this restriction.

    With code below, I can hide price in general if some one is not logged in. But there is no group...
  48. Replies
    1
    Views
    2,971

    There was typo mistake in simple tokens I've...

    There was typo mistake in simple tokens I've used. After correcting it from https://isotopeecommerce.org/de/handbuch/v/2.3/r/simple-tokens.html I can place order normally and it sends email.
  49. Replies
    1
    Views
    2,971

    Can not place order!!! [SOLVED]

    Fatal error: Uncaught exception RuntimeException with message The registry already contains an instance for tl_iso_address::id() thrown in system/modules/core/library/Contao/Model/Registry.php on...
  50. Mark the active product in related product list

    I have a related product list, on the product's reader page. It works as expected.

    In related product list, I have also listed the main product, so that it also shows under the related products....
  51. Replies
    2
    Views
    3,181

    SOLVED: My bad..... grrr .... I have placed a...

    SOLVED:

    My bad..... grrr .... I have placed a product reader module in layout. By removing that it solved!
  52. Replies
    2
    Views
    3,181

    Some more details: In the backend log it says:...

    Some more details:

    In the backend log it says:


    No active page for page ID "110", host "127.1.1.1" and languages "de-DE, de, en-US, en" (http://127.1.1.1/index.php/checkout/address.html)
    ...
  53. Replies
    2
    Views
    3,181

    Checkout Process timeout.[SOLVED]

    I have
    Contao 3.5.4
    Isotope 2.3.1 Build 3

    Somehow I can not get to page on which I have placed isotope checkout module. Php script time outs and can't complete an order or go beyond checkout.
    ...
  54. Replies
    11
    Views
    6,400

    Yes yours one works too, may be in fact more...

    Yes yours one works too, may be in fact more compact and faster.


    $objThis->Template->level = ' plevel_' . ($level - 1);
  55. Replies
    11
    Views
    6,400

    HI buddies, thanks for nice ideas. But I've...

    HI buddies, thanks for nice ideas. But I've solved it with HOOKS

    Insde Config


    $GLOBALS['TL_HOOKS']['generatePage'][] = array('myclass', 'get_parentPageInfo');


    Inside myclass
  56. Replies
    11
    Views
    6,400

    Level of Page from the site structure

    Is there a way to find the level of Page from the site structure with php?

    An example structure:

    website root A (level_0)
    - Page B (level_1)
    -- Page C (level_2)

    I wanted to add...
  57. Attribute FileTree with custom output [SOLVED]

    I have setup an attribute of type FileTree (which is restricted to only images jpg/png).
    In stead of listing file paths in ul list elements, I wanted to show Images in the frontend. So, how can I...
  58. Thread: Module position

    by tsarma
    Replies
    5
    Views
    3,196

    As far as my understanding, I don't get...

    As far as my understanding, I don't get information/variable about layout section in template. Presently I am doing as you have suggested with 2 modules (In my case, I have 2 custom navigation module...
  59. Thread: Module position

    by tsarma
    Replies
    5
    Views
    3,196

    Thank you for your answer, your approach is only...

    Thank you for your answer, your approach is only applicable to the rendered output in frontend with CSS or Javascript.

    What I wanted is something more before that, in the template rendering time,...
  60. Thread: Module position

    by tsarma
    Replies
    5
    Views
    3,196

    Module position

    Lets assume I have a module (navigation)

    Is there any way, I can find where in which section this module is placed, whether it is placed in #header or #footer ?

    I wanted to change $this->cssID...
Results 1 to 60 of 294
Page 1 of 5 1 2 3 4