modx

Modx Formit simple contact from

随声附和 提交于 2020-02-06 09:20:53
问题 I try to create a simple contact form, but I didn't get any message, the post request is made . I am pretty new with Modx. What I tried: Link 1 Link 2 I created 2 Chunks (emailChunkTpl and MyEmailChunk), and in my template I call for the [[$MyEmailChunk]]. Obviously I did something wrong but I am not sure what. The code is like in the examples, but with some changes,like my email. [[!FormIt? &hooks=`email,FormItSaveForm ` &emailTpl=`emailChunkTpl` &emailTo=`myEmail@gmail.com`

ModX Evo: PHP error in document.parser.class.inc.php

ε祈祈猫儿з 提交于 2020-01-16 12:36:08
问题 So my Evo site stopped working the other day - just got a 500 error. I got my host to check the logs and found this: [error] PHP Fatal error: Cannot redeclare insert_metka() (previously declared in /home/mysite/public_html/manager/includes/document.parser.class.inc.php(790) : eval()'d code:2) in /home/mysite/public_html/manager/includes/document.parser.class.inc.php(790) : eval()'d code on line 12 I have tired commenting out the offending line and removing the entire file to no avail. Does

Can I manage my CSS as ModX Resources?

醉酒当歌 提交于 2020-01-11 04:18:07
问题 I've been working with the ModX Revolution manager, and was wondering if I can turn my CSS into ModX Resources rather than files. I'd also like to utilize Templates and their variables. Is that possible? What are the drawbacks of doing so? Are there any advantages (aside from the ones I think below)? The reason I would prefer this is that I use several CSS pages with the @import statement to object orient my CSS a little bit better. If I could do this directly in ModX, it would save me

Getting the form to submit when clicking the submit button

不打扰是莪最后的温柔 提交于 2020-01-06 08:29:10
问题 I'm trying to submit the form when the button is clicked, however it wasn't as simple as i thought, i always end up getting a fp.getForm is not a function, although the submit handler is taken directly from the ExtJs doc, any clue? Players.panel.Subscription = function(config) { config = config || {}; Ext.apply(config,{ border: false ,baseCls: 'modx-formpanel' ,process: 'mgr/player/getSubscribers' ,standardSubmit: true ,url: Players.config.connectorUrl ,baseParams: { action: 'mgr/player

Configuring MODx Revolution to work with both http and https

☆樱花仙子☆ 提交于 2020-01-02 19:13:23
问题 I have a website using MODx Revolution (2.2.10-pl, advanced install), let's call it www.example.com , which I want to be accessible with both http and https. to achieve this, I tweaked the site_url context setting to be [[++url_scheme]]www.example.com/ . Links created using [[~id]] seem to be alright, however, sometimes, the generated links are really weird. My interpretation is that the code to create links programmatically doesn't work with my settings, but I don't know why, or how else I

Filter resources by template variable value with MODx Wayfinder

a 夏天 提交于 2019-12-25 03:54:28
问题 I have a site that uses Wayfinder to display the latest 3 entries from an Articles blog. Now, I want to only consider those blog entries that are tagged Highlights . My original Wayfinder call looks like this, nothing spectacular: [[!Wayfinder? &startId=`296` &level=`1` &outerTpl=`emptyTpl` &innerTpl=`` &rowTpl=`thumbnails_formatter` &ignoreHidden=`1` &sortBy=`menuindex` &sortOrder=`DESC` &limit=`3` &cacheResults=`0` ]] as Articles tags are managed via the articlestags TV, I thought that a

Filter resources by template variable value with MODx Wayfinder

拈花ヽ惹草 提交于 2019-12-25 03:54:06
问题 I have a site that uses Wayfinder to display the latest 3 entries from an Articles blog. Now, I want to only consider those blog entries that are tagged Highlights . My original Wayfinder call looks like this, nothing spectacular: [[!Wayfinder? &startId=`296` &level=`1` &outerTpl=`emptyTpl` &innerTpl=`` &rowTpl=`thumbnails_formatter` &ignoreHidden=`1` &sortBy=`menuindex` &sortOrder=`DESC` &limit=`3` &cacheResults=`0` ]] as Articles tags are managed via the articlestags TV, I thought that a

MODx - Resource Alias breaking plugin - Using pages with “/” in the URL? ( /resources/page.html )

大憨熊 提交于 2019-12-25 02:50:27
问题 I currenlty have a MODx website setup, and I am wondering if it's proper to have my links look like this (And by that I mean my resource alias): myurl.com/help/configuration/basics.html Putting the slash in the URL like that... is it a bad practice? My main problem is that this breadcrumb plugin seems to no longer work... :( I want to have this breadcrumb plugin operational again, if someone would mind helping me. The Error: When say using the breadcrumb to link to a page that's myurl.com

ModX Revo: friendly URLs not working

一笑奈何 提交于 2019-12-23 05:09:30
问题 This seems to be a common issue but I have tried all the suggestions and none work. The issue is when I turn on Friendly URLs in ModX Revo all my links get broken (404s). The URLS do appear correct with the alias after them. Heres what I've tried: Changing ht.access to .htaccess Ensuring the correct path is present in MODX_BASE_PATH in the confic.inc.php file Ensuring all FURL settings in System Settings are ok and correct Clearing browser and ModX caches If anyone can suggest something I've