Questions tagged [MODX] (1699)

0
answer

How to make the dependence of the option msOptionsPrice2?

This function implements the snippet msOptionsPrice.option, it is similar to the snippet msOptions and serves to display the options for modifications of the product... Doing seems to be everything, as stated in the documentation, but it appears I have 2 with all parameters, and the dependencies between them no. Prompt how ...
Jacinto.Bernier29 asked April 19th 20 at 12:43
1
answer

Two or more of the parent resource of the document (the child resource)?

Hello, please tell me, is it possible the child has a resource to specify more than two parent? What would a child resource "physically" was two (or more) parent resources at the same time, formed the correct url and bread crumbs. That would not create a duplicate resource. For example: Category-1/Page Category-2/Page Categ...
Marcia_Kulas asked April 19th 20 at 12:19
1
answer

How to fix the code so the url was adequate?

Hi all. Here is the code $(document).ready(function() { // Check for hash value in URL var hash = window.location.hash.substr(1); var href = $('#nav-page li a').each(function(){ var href = $(this).attr('href'); if(hash==href.substr(0,href.length-5)){ var toLoad = hash+'.html #content-page'; $('#content-page').load(toL...
Theresia asked April 19th 20 at 12:10
1
answer

Why not open a normal page, but is empty?

https://laspi.ru/kontaktyi.html The page appears empty, all the other kind of rules, in what could be the problem? This was a problem with the insertion of code metrics, then became blank all of the page, but have corrected it. {include 'head'} <section class="Contacts_Map"> {$_modx->getPlaceholder('+map_contact...
devin_Jerde56 asked April 19th 20 at 11:57
1
answer

How to make a MODX user group who will be able to buy a product from a specific category with a fixed discount?

I use MODX, minishop2. I need to be able to add your registered online store users in a specific group(for example TOP). Those users who added to this group always buy goods in CERTAIN categories with a fixed 20% discount. How is it possible to implement? Is there a solution in the form of a plugin or something else? Thank...
Jaydon.Jast25 asked April 19th 20 at 11:56
0
answer

When using pdoPage stop running scripts, how to fix?

Here is the script $(document).on('click', '[data-modal="#modal-news"]', function () { var modal_name = $(this).data('name'); var modal_img = $(this).data('img'); var modal_date = $(this).data('date'); var modal_text = $(this).data('text'); var modal_id = $(this).data('id'); $('.modal__img img').attr('src', modal_img...
freeman.Witting asked April 18th 20 at 13:24
1
answer

As to all the goods have the checkbox?

<?php $q = $modx->newQuery('msProduct'); $q->where(array('recounted' => '1')); $resources = $modx->getCollection('msProduct', $q); foreach ($resources as $resource){ print "<p>Processing resource <b>".$resource->get('pagetitle')."</b></p>"; } The necessary to all products which ...
clara_Torphy asked April 18th 20 at 13:19
1
answer

How to make your modelku for each product?

I have the catalog and under each product the "buy" button, by pressing on which opens modelka. How to make it so that when clicking on any product was called modelka which is the name of the selected item + shape? cms - ModX
Vilma95 asked April 18th 20 at 13:12
1
answer

How to add another language in MODX revo?

How to add Belarusian language to the dictionary in MODX? The actions that correct or not? Did so, but not enough.
Izabella80 asked April 18th 20 at 13:04
2
answers

How to set the name or what it's context in MODX revo?

Create a multi-language website. The question is, why before (by) no name of the context or what it is. Simply because of his absence in the future does not appear switching. How to fix? Thanks in advance. Extra question) what viskakivaet error 503?
Callie asked April 18th 20 at 13:01