Jump to content

siaweb

Members
  • Posts

    15
  • Joined

  • Last visited

Everything posted by siaweb

  1. I will study this issue, it promises a lot for me. I don't really want to use it. Thanks for attention.
  2. On Wordpress, just the headings are selected and that's it. The list of everything that is at the level of the category and not lower drops out. Which, in terms of filling and changes, I consider a good practice for an unprepared person.
  3. Thanks for the answer, I've already considered what you recommended and I'm still thinking about it.
  4. 1. There will be 1 multilingual website. This refers to a group of people who will translate the same article into different languages. 2. The document structure in ProcessWire is very simple and 10,000 pages will not look very good. In terms of navigating through them. User access is not a problem. It seems to me that the current structure of editing elements/pages will not be very convenient for them. As an example, I'll put wordpress there, it's simple. 3. Sorry, I didn't really understand this question. Hierarchy example: 1.Catalog 1.1 Group 1 1.1.1 Category 1 1.1.2 Category 2 1.1.3 xxxx 1.1.1.1.Subcategory 1.2 Group 2 1.2.1 1.3 Group 2 1.2.3 and there will be more and more ramifications. This is an example of a catalog. PS. you can use the car catalog as an example, although it is smaller.
  5. Good day to everyone. A botanist friend of mine asked me to make a plant site for his group. I want to ask you some advice. I know how to implement this on another engine for easier administration of it. I just understand that they will have a lot of information and since they will make transfers to each other. How would it make it easier for them to edit their 10,000 pages approximately. Here is an example of the hierarchy of their website of the future. Catalog - Group - Category - Subcategory - Type - Article I will be grateful for any hints. With respect to SIA
  6. Thank you really with include=all everything works and shows well. As for your first question, this page is available for viewing. I have a part of the assortment of the cafe displayed on the main page. The administrator puts a check mark that this element should be shown. That's all.
  7. Good afternoon, I can't solve the problem. This block is invisible to unregistered users. And we need everyone to see it. Who will have any thoughts?
  8. Everything coped helped in another place a little. Thank you all. If someone needs a cheat sheet, then I pulled it all out. You can close the branch.
  9. Good afternoon, everyone. Faced with the problem of displaying data on the main page. I'm asking for help since I'm just at the beginning of learning CMS. I have. 1. Home 2 Menu 2.1 breakfast 2.2 Lunches 2.3 Already. I need to take and items 2.1/2.2/2.3 the data from the assortment_name field is a Repeater. There are only 3 text fields. I don't know how to do it. Maybe someone will help. There are also checkbox fields. This is usually if it is output to the main page. The name of the home_menu checkbox.
  10. hi @kongondo, I dealt with my first question differently. Completely redesigned the menu for module requests. But I had a new question. I just can't redo the menu in my second project otherwise. The bottom line is that I use two classes for links example below. My problem is in two classes that I won't be able to transfer. class="ajax-loader" class="page-link
  11. Hi @kongondo Help solve the blog problem. My blog shows from the first created post to the last one. And I need to always go from the last created to the past first. I can't figure out how to do it. Thanks.
  12. Good day. I'm not selenium in PHP to be honest. But from what you sent me for review, I have read. I can do this. Rules: If the menu goes deeper than 1 level, then apply such a style. (But as far as I understood, the style will only apply to il and not to ul) Thanks for the reference, I will try to understand, but I realized for myself that it's easier for me to redo the CSS menu. Since it's easier for me than with PHP. Thanks. But for the overall development, everything is exactly on the test server, then I will try to do it more correctly.
  13. Good day to everyone. Please tell me how to implement my menu with different menu subclasses? Here is the code of my old site menu. +'<nav class="mainNav">' +'<div class="mobileMainNavBtn mainNav__btn">' +'<span></span>' +'</div>' +'<ul class="mainNav__list">' +'<li class="mainNav__item"><a href="/en/" class="mainNav__link" title="Hotel Prestige Center, St. Petersburg">Hotel</a>' +'<ul class="mainNavDropdownL1 mainNav__dropdown">' +'<li class="mainNavDropdownL1__item"> <a href="/about/contacts/" class="mainNavDropdownL1__link" title="Our contact">Our contact</a> </li>' +'<li class="mainNavDropdownL1__item"> <a href="/about/rekviziti/" class="mainNavDropdownL1__link" title="Payment details">Payment details</a> </li>' +'<!--<li class="mainNavDropdownL1__item"> <a href="/about/3stars/" class="mainNavDropdownL1__link" title="Hotel certificate">Hotel certificate</a> </li>-->' +'</ul>' +'</li>' +'<li class="mainNav__item"><a href="https://pre-apart.ru/" class="mainNav__link" title="kitchen">Kitchen</a></li>' +'<li class="mainNav__item">' +'<a href="/en/nomera/" class="mainNav__link" title="Hotel room">Rooms</a>' +'<ul class="mainNavDropdownL1 mainNav__dropdown mainNav__dropdown--row">' +'<li class="mainNavDropdownL1__item">' +'<a href="/en/nomera/cat1/" class="mainNavDropdownL1__link" title="">The rooms of the first category</a>' +'<ul class="mainNavDropdownL2 mainNavDropdownL1__dropdown">' +'<li class="mainNavDropdownL2__item"><a href="/en/nomera/cat1/mini/" class="mainNavDropdownL2__link" title="Mini Room">«Mini»</a></li>' +'<li class="mainNavDropdownL2__item"><a href="/en/nomera/cat1/econom/" class="mainNavDropdownL2__link" title="Room I category Economy">«Economy»</a></li>' +'<li class="mainNavDropdownL2__item"><a href="/en/nomera/cat1/standart/" class="mainNavDropdownL2__link" title="Category I room Standard">«Standard»</a></li>' +'<li class="mainNavDropdownL2__item"><a href="/en/nomera/cat1/comfort/" class="mainNavDropdownL2__link" title="The I-Comfort category">«Comfort»</a></li>' +'<li class="mainNavDropdownL2__item"><a href="/en/nomera/cat1/comfort+/" class="mainNavDropdownL2__link" title="The I-Comfort category">«Comfort +»</a></li>' +'</ul>' +'</li>' +'<li class="mainNavDropdownL1__item"><a href="/en/nomera/cathigh/" class="mainNavDropdownL1__link" title="">Rooms of the highest category</a>' +'<ul class="mainNavDropdownL2 mainNavDropdownL1__dropdown">' +'<li class="mainNavDropdownL2__item"><a href="/en/nomera/cathigh/deluxe/" class="mainNavDropdownL2__link" title="Superior Junior Suite with Jacuzzi">«Junior Suite»</a></li>' +'<li class="mainNavDropdownL2__item"><a href="/en/nomera/cathigh/luxe/" class="mainNavDropdownL2__link" title="Suite of the highest category Two-room Suite">«Lux»</a></li>' +'<li class="mainNavDropdownL2__item"><a href="/en/nomera/cathigh/apartment/" class="mainNavDropdownL2__link" title="Superior room Apartment with Jacuzzi">«Apartment»</a></li>' +'</ul>' +'</li>' +'<li class="mainNavDropdownL1__item"><a href="https://pre-apart.ru/en/rooms-suites/" class="mainNavDropdownL1__link" title="">Room with kitchen</a>' +'<ul class="mainNavDropdownL2 mainNavDropdownL1__dropdown">' +'<!--<li class="mainNavDropdownL2__item"><a href="/en/nomera/kitchen/13A/" class="mainNavDropdownL2__link" title="Room with kitchen 13A">«Room with kitchen 13A»</a></li>-->' +'<!--<li class="mainNavDropdownL2__item"><a href="/en/nomera/kitchen/13B/" class="mainNavDropdownL2__link" title="Room with kitchen 13B">«Apartment 13B»</a></li>-->' +'<!--<li class="mainNavDropdownL2__item"><a href="/en/nomera/kitchen/11/" class="mainNavDropdownL2__link" title="Marine 11">«Marine 11»</a></li>-->' +'<!--<li class="mainNavDropdownL2__item"><a href="/en/nomera/kitchen/12/" class="mainNavDropdownL2__link" title="Marine 12">«Marine 12»</a></li>-->' +'<!--<li class="mainNavDropdownL2__item"><a href="/en/nomera/cathigh/studio/" class="mainNavDropdownL2__link" title="Room of the highest category Studio">«Studio»</a></li>-->' +'</ul>' +'</li>' +'<li class="mainNavDropdownL1__item"><a href="/tseni/" class="mainNavDropdownL1__link" title="Prices for Rooms hotels">Hotel price</a>' +'<ul class="mainNavDropdownL2 mainNavDropdownL1__dropdown">' +'<li class="mainNavDropdownL2__item"><a href="/gallery/" class="mainNavDropdownL2__link" title="Hotel gallery">«Hotel gallery»</a></li>' +'</ul>' +'</li>' +'</ul>' +'</li>' +'<li class="mainNav__item"><a href="/skidki/" class="mainNav__link" title="Hotel cheaper: discounts and special offers to hotel guests">Discounts</a></li>' +'<li class="mainNav__item"><a href="/uslugi/" class="mainNav__link" title="Breakfast, lunch, dinner">Service</a>' +'<ul class="mainNavDropdownL1 mainNav__dropdown">' +'<!--<li class="mainNavDropdownL1__item"><a href="/uslugi/transfer/" class="mainNavDropdownL1__link" title="Трансфер">Трансфер до/из отеля</a></li>-->' +'<li class="mainNavDropdownL1__item"><a href="/uslugi/voucher/" class="mainNavDropdownL1__link" title="Visa support">Visa support</a></li>' +'<li class="mainNavDropdownL1__item"><a href="/cafe/" class="mainNavDropdownL1__link" title="Russian cuisine restaurant of the hotel">Breakfast and dinner</a></li>' +'</ul>' +'</li>' +'<li class="mainNav__item"><a href="/raspolozenie/" class="mainNav__link" title="Location on the map">Location</a>' +'<ul class="mainNavDropdownL1 mainNav__dropdown">' +'<li class="mainNavDropdownL1__item"><a href="/raspolozenie/" class="mainNavDropdownL1__link" title="Hotel location on the map of St. Petersburg">Hotel on the map</a></li>' +'<li class="mainNavDropdownL1__item"><a href="/raspolozenie/dobratsya/" class="mainNavDropdownL1__link" title="How to get to the hotel in St. Petersburg">How to get</a></li>' +'</ul>' +'</li>' +'<li class="mainNav__item"><a href="/en/bronirovanie/" class="mainNav__link" title="Quick booking of rooms">Booking</a>' +'<ul class="mainNavDropdownL1 mainNav__dropdown">' +'<li class="mainNavDropdownL1__item"><a href="/en/bronirovanie/" class="mainNavDropdownL1__link" title="Book a hotel room">Booking a room!</a></li>' +'<li class="mainNavDropdownL1__item"><a href="/en/tseni/oplata/uniteller/" class="mainNavDropdownL1__link" title="Card payment online">Card payment online</a></li>' +'<li class="mainNavDropdownL1__item"><a href="/en/tseni/oplata/uniteller/emoney.php" class="mainNavDropdownL1__link" title="Payment by e-money Ya. Money, WebMoney, QIWI">Payment from e-wallets</a></li>' +'<li class="mainNavDropdownL1__item"><a href="/en/tseni/oplata/sberbank/" class="mainNavDropdownL1__link" title="Payment through Sberbank">Payment through Sberbank</a></li>' +'<li class="mainNavDropdownL1__item"><a href="/en/tseni/oplata/platezka/" class="mainNavDropdownL1__link" title="Payment by Bank transfer">Payment by Bank transfer</a></li>' +'<li class="mainNavDropdownL1__item"><a href="/en/tseni/oplata/creditcard/" class="mainNavDropdownL1__link" title="Card payment off-line">Card payment off-line</a></li>' +'<li class="mainNavDropdownL1__item"><a href="/en/tseni/oplata/vozvrat/" class="mainNavDropdownL1__link" title="Chargeback">Chargeback</a></li>' +'<li class="mainNavDropdownL1__item"><a href="/en/about/offero/" class="mainNavDropdownL1__link" title="Public offer">Public offer</a></li>' +'</ul>' +'</li>' +'<li class="mainNav__item"><a href="/contacts/" class="mainNav__link" title="Contacts">Contacts</a></li>' +'</ul>' +'</nav>' That's what I've already done. <nav class="mainNav"> <?php // load the module $menu = $modules->get('MarkupMenuBuilder');// $menu is an example $options = array( 'wrapper_list_type' => 'ul',// ul, ol, nav, div, etc. '' => 'li',// li, a, span, etc. '' => 'main',// a CSS ID for the menu 'menu_css_class' => 'mainNav__list',// a CSS Class for the menu 'submenu_css_class' => 'mainNavDropdownL1 mainNav__dropdown',// CSS Class for sub-menus 'has_children_class' => 'mainNav__item',// CSS Class for any menu item that has children ); echo $menu->render ('main', $options);// render the menu by title ?> </nav> If this is not possible, please also write, then I will redo the CSS of the old menu. Thanks.
  14. Hello everyone. I would like to add yandex services to tracking. Can you tell me how to add a couple of fields correctly? 1. <!-- Yandex.Metrika counter --> <script type="text/javascript" > (function(m,e,t,r,i,k,a){m[i]=m[i]||function(){(m[i].a=m[i].a||[]).push(arguments)}; m[i].l=1*new Date();k=e.createElement(t),a=e.getElementsByTagName(t)[0],k.async=1,k.src=r,a.parentNode.insertBefore(k,a)}) (window, document, "script", "https://mc.yandex.ru/metrika/tag.js", "ym"); ym(XXXXXXXX, "init", { clickmap:true, trackLinks:true, accurateTrackBounce:true, webvisor:true }); </script> <noscript><div><img src="https://mc.yandex.ru/watch/XXXXXXXXX" style="position:absolute; left:-9999px;" alt="" /></div></noscript> <!-- /Yandex.Metrika counter --> and <meta name="yandex-verification" content="xxxxxxxxxxxxxxxxxxx" />
×
×
  • Create New...