Design &amp; Templates - MODX Community Forums <![CDATA[Looking for a professional looking template]]> Fri, 22 Mar 2019 10:29:16 +0000 <![CDATA[Has anyone gotten Adorn template to work? Are they still in business? Zero response from them.]]>
thanks]]> Tue, 08 Jan 2019 06:46:25 +0000
<![CDATA[Looking fot the theme for my website]]>]]> Wed, 26 Dec 2018 02:06:13 +0000 <![CDATA[Math with Number Template Variables?]]> I’m trying to have a template variable with the retail price and a template variable with the slashed price; is it possible to do some math on these numbers to find the percent discounted?]]> Tue, 06 Nov 2018 07:33:46 +0000 <![CDATA[Newbie question: where do you find templates???]]> This is probably a stupid question, but where do you find templates? It seems like people refer to the extras, but I can't seem to find anything that has something to do with templates in the extras menu (I mean, there are menu items like personalizations and style, but they don't seem to have much to do with templates). What am I missing?]]> Sat, 07 Jul 2018 05:24:00 +0000 <![CDATA[Create required fields in manager login.]]>
I was wondering if it’s possible to create a required field in manager login.
I need this to create 2 checkbox for the privacy policy (GDPR).

Thanks for the help.]]> Tue, 26 Jun 2018 06:53:18 +0000
<![CDATA[Modx Chunk Ifs]]> [[*id:eq=`resource id`:or:eq=`resource 2 id`:then=``:else=``]]]]> Wed, 20 Jun 2018 03:37:06 +0000 <![CDATA[Web-Designer]]> I am a web designer based in Russia. I work a lot with designing sites for ModX, so if you need a design - i am all in attention. My email -, telegram - +79778996719.
My portfolio -

(And also as i live in Russia my prices are really cheap smiley

Have a great day everyone smiley]]> Fri, 08 Jun 2018 05:31:28 +0000
<![CDATA[Template help needed]]>
The 1st one
works but has a lot of embedded css & stuff I'm unsure what all of it does.

example: <div class="content-area content-right col-md-9 col-sm-8 col-sm-8">

I'm not too up on css and don't know why we have all these div classes? Can I put this in a Snippet or should I embed in the template. I really need a guide to css.

The 2nd one
was made by me but doesn't work.

Ideally the Home will have three menus; one at top and two at left. I plan to use WayFinder for this but will try to get the Home page working first.

Template_developer --this one works
Modx Template examples.odt

/* BaseTemplate Code */
/* vv setup by Developer */

[[includeTemplate? &tpl=`header_devel.html`]]
[[includeTemplate? &tpl=`footer_devel.html`]]

TemplateHome -- by me doesnt work tho
/* BaseTemplate Code from book */

[[Wayfinder? &startId=`0` &level=`2`]]
[[$footer_jk_html]]]]> Mon, 28 May 2018 12:25:42 +0000
<![CDATA[How to create masonry or magazine style blog?]]> My site is in wordpress and I want to move it to Modx and its a blog site so I want a blog on Modx. I tried this many times but failed because of the layout I want.
I used Articles for blog but failed in creating masonry or magazine style blog because Articles show only articlerowtpl posts. So I cant make it grid wise so it post articles like masonry. Like 1 and 2 then 1 and then 2. Currently Articles posts only 1 and then 1 and then 1.. simple blog layout. I want masonry layout. I have themes but I failed on this step.

Please tell me is this possible with Articles ? Or any other Extra?
]]> Sat, 05 May 2018 07:37:20 +0000
<![CDATA[Fetching custom TV on AMP pages.]]>
'content' => $resource->get('content')

The problem is, this content is meant for full desktop pages and can't get validated, so I need custom AMP friendly content retreived instead of raw "content". I've created a TV named "amp-content" and I try to get it on AMP pages instead of content. Here is the current code in AMP Template:

Template code:
    <amp-img src="[[+amp_image]]" alt="[[+amp_ptitle]]" width="[[+amp_image_width]]" height="[[+amp_image_height]]" layout="responsive"></amp-img>

        'ptitle' => $resource->get('pagetitle'),
        'pdescription' => $resource->get('description'),
        'content' => $resource->get('content'),
        'canonical' => $modx->makeUrl($resource->get('id'),'','','full'),
        'published' => $resource->get('publishedon'),
        'edited' => $resource->get('editedon'),
        'image' => $image_url,
        'image_width' => $width,
        'image_height' => $height

So I'm trying to do something with this line:
'content' => $resource->get('content'),

What I want to do is: if there is amp-content TV available - fetch it, if not - get normal content.
Obviously, options like this don't work
'content' => $resource->get('amp-content'),

Also, I've tried
'content' => $tvr->get('amp-content'),

No luck.
So, is it possible to do something here, I'm new so this might be a noob question, thank you very much]]> Sun, 29 Apr 2018 06:32:47 +0000
<![CDATA[MegaMenu Bites Again]]>
 	  <li class="menu-item-has-children has-megamenu last-elements">
              <a href="#">Elements</a>
              <ul class="submenu megamenu">
                <li><span>Elements Col 1</span>
                  <ul class="sub-menu">
                      <a href="elements-accordions.html">Accordions</a>
                      <a href="elements-alerts.html">Alerts</a>
                      <a href="elements-buttons.html">Buttons</a>
                      <a href="elements-countdowns.html">Countdowns</a>
                <li><span>Elements Col 2</span>
                  <ul class="sub-menu">
                      <a href="elements-grid.html">Grid</a>
                      <a href="elements-icon-boxes.html">Icon Boxes</a>
                      <a href="elements-icons.html">Icons</a>
                      <a href="elements-pricing-tables.html">Pricing Tables</a>
                <li><span>Elements Col 2</span>
                  <ul class="sub-menu">
                      <a href="elements-progress-bars.html">Progress Bars</a>
                      <a href="elements-sliders.html">Sliders</a>
                      <a href="elements-tabs.html">Tabs</a>
                      <a href="elements-typography.html">Typography</a>

I would love to accomplish this with a single call in either Wayfinder or pdoMenu because those maintaining this project are not the most technical. Appreciate any advice or input you can provide.]]> Sat, 14 Apr 2018 02:21:31 +0000
<![CDATA[A TV used multiple times inside a page]]>
I'm newbie in modx.

I made a TV called 'titleField' and i want to use it for 3 similar fields in my page, is it possible to use a TV twice or more in a page..?

I've tried but not working, the output in Document Edit page - 'Template Variables' Tab only shows one entry field for TV 'titleField'.

Thanks & Best Regards,

]]> Thu, 08 Mar 2018 11:04:51 +0000
<![CDATA[Custom Manager Theme]]>
Is it possible to have a custom manager theme ? Thank you.]]> Mon, 09 Oct 2017 08:13:00 +0000
<![CDATA[Customize Manager > user edit window]]>
i would like to customize the User edit Page from the manager.
I would like to hide some fields because i added new ones using bobs Class Extender.

How could i do this?

]]> Mon, 09 Oct 2017 08:01:13 +0000
<![CDATA[Cliche Gallery - no fancybox, big image above thumbnails]]>
I've a big problem with the plugin Cliche (have to say, I'm not a ModX Pro.):
I can't find a way, to open the big gallery image in the same window above the thumbnails. When clicking on the thumbs, fancybox opens and displays the big image in a pop-up. But I don't want this.
I'm good in HTML and CSS, but I have no idea about the snippets, chunks and php. It would be great, if anybody could help be. Following code is active:

[[!ClicheAlbum? &id=`1` &columns=`0` ]] - Live view is here:

I'd like the Cliche Gallery to look more like this:

I'm really looking forward on some help and replies!

Thanks so much.
Kati]]> Mon, 14 Aug 2017 08:58:31 +0000
<![CDATA[List of templates that are not in resource repository]]> resource repository. grin It would be great ofcourse if some of them would be added there (by their respective authors preferably), but I know that people that contribute are usually pretty busy anyways, so I don’t mind if you don’t have the time to add yours smiley

If you do decide to add your template, please attach a screenshot of it to the resource item so users can easily preview them. Thanks alot!

And to all: Please do not add anymore "ready-to-release" templates to this forum, add straight to the resource repository instead.


Internet Market -,7312.0.html


Step -,3879.0.html
Galaxy -,2894.0.html
Portalx 2 -,2350.0.html
Relax -,2114.0.html
Soft -,2516.0.html
BackInBlack -,2747.0.html
Space -,2895.0.html
Fire -,2826.0.html
Light -,2784.0.html
GreenGrey -,2701.0.html
Tabs -,2464.0.html
Plexiglass -,2445.0.html
PortalX -,2314.0.html
OrangeIT -,2267.0.html
PaperBlog -,2124.0.html
Greys -,2132.0.html
Blitz -,2113.0.html
Plastic -,2112.0.html
Greenland -,2111.0.html


Andreas02 -,1284.0.html
SunriseX -,6525.0.html
Still waters -,2842.0.html
Blog tutorial -,1507.0.html
Andreas01 -,1260.0.html
MR template -,4004.0.html
Blossom -,3043.0.html
Andreas06 -,1274.0.html
Blocks -,3013.0.html
Potpourri -,2952.0.html
Relic -,2938.0.html
Valentine -,2854.0.html
SeaShells -,2916.0.html
Brown -,2596.0.html
Winter -,1696.0.html
Clear -,1653.0.html
Bare Bones -,1396.0.html
Space -,1345.0.html
Mondrian -,121.msg4512.html#msg4512
Andreas04 -,1291.0.html
CoolBreeze -,1265.0.html
ABC -,1202.0.html
Grey Arches -,1197.0.html
Skyline -,1196.0.html
Theo Desert Tree -,1194.0.html
Foggy Grey -,1192.0.html
Swan -,1188.0.html
Rainbox -,1183.0.html
White-Byte Orca -,1182.0.html
Four square penguins -,1181.0.html
Four square sunset -,1178.0.html
Green Top -,1179.0.html
Blue Label -,1180.0.html
4-in-1 -,988.0.html
ThrashBox -,835.0.html
Basic Single column -,687.0.html


Judgement -,6235.0.html
Progress -,6234.0.html


The beginning -,4987.0.html
I see frogs -,4965.0.html
I see new people -,3926.0.html
800px & 1024px -,3918.0.html


Charity -,5244.0.html


Kickass-Squawk 3 -,4941.0.html


CMS Made Simple -,4097.0.html


Greenery -,2949.0.html
Andreas00 -,3886.0.html
Blue Marinee -,1538.0.html
Plain -,1792.0.html


xcn -,3414.0.html


PrinterBox -,4063.0.html


Andreas03 -,1203.0.html
Andreas08 -,1759.0.html
XHTML 1.1 Blog -,1699.0.html
BlueSD -,1302.0.html
Pager -,1172.0.html
Kubrick -,1043.0.html


CoolBlue v1 -,2791.0.html


Leaves -,2788.0.html
Earth, Wind, Fire -,1914.0.html

]]> Mon, 31 Jul 2017 09:51:20 +0000
<![CDATA[Download website templates]]> Thu, 06 Jul 2017 02:37:20 +0000 <![CDATA[Propose a small style changes and other functions to Resources tab]]> This is a very small thing and I assume very easy to change but I'm hoping others can chime in with their thoughts as well.

When a resource is set to "Hide From Menus" it becomes greyed out. And when it is unpublished it simply goes italic. I feel this is backwards.

The most common style for something being disabled or unpublished is to be greyed out. Not just unpublished, but often when a link is greyed out, it means you can't even click on it at all. Similar to how HTML behaves when something is set to disabled, it simple doesn't respond.

I feel like knowing at a glance that something is set to not be in menus is really not that important. After all, if a resource is showing up in a menu and you don't want it to, then you would simply go find the resource and turn that off. It does not seem important to me to have any visual indication at all that something is hidden from a menu. Nor do I need to be constantly reminded of it every time I'm scanning through the resource tree.

Secondly, it's not unreasonable to assume that on some websites, one might have dozens or even hundreds of resources that do not need to be in menus. This would make the bulk of the entire resource tree look "disabled" with greyed out links. I would personally find this very unpleasing to the eyes to see all my resources greyed out just because they aren't in a menu!

I propose a simple change to these styles that better matches what is commonly found in the wild. And that is, when something is disabled (in this case unpublished), it should be greyed out. And when deleted, crossed out. And when hidden from menus, no visual indicator at all. I really don't feel it important to know at a glance what is in menus or not, that is easily discerned during the site design process and is not something I need to frequently be reminded of visually at all times.


A second issue is with selection of resources. This has probably been discussed elsewhere or even in a Github ticket.
When I want to delete a resource, there is no real way to "select" it and then go click the delete icon. In order to do this, I have to completely open the resource which does take an extra second or two.
I realize I can right-click a resource and delete that way without opening it first, and that is my preferred method, but being able to "select" a resource without opening it might also have its benefits. For example I can't seem to "tab into" the resource tree at all or reach it by keyboard. I might just be missing the trick. But even if I could, the ability to use keyboard arrow keys or the tab key to move up and down my list and use ctrl-click or shift-click or hold shift key as I create a selection with arrow keys, that would all be useful.
If I want to delete many resources at once. Move many resources into a folder at once. Publish/unpublish at once. Or even just open a handful of resources in the front end at the same time (open many tabs).

Creating the ability to select and multi-select could be a difficult challenge, but for now I propose something simple for the delete issue. When I hover the mouse over a resource, a delete and perhaps a copy and view icon appears to the right of the menu.
I know hover actions can get annoying with accidental clicks and what not, but hover actions are not an uncommon way of doing things. Attached is a screenshot of the idea.


By making a small adjustment to the visual style of resources, and a way to perform a couple basic actions without having to open the resource first (or use right-click menu) would potentially make it more visually pleasing, and slightly easier to use.

I'm looking at one of my sites now, and half the resource tree is greyed out simply because I don't need those resources or folders in a menu. It is not visually pleasing. The unpublished items are italicized which barely stand out.

Just my opinion, but it has always bothered me.

Your thoughts?]]> Wed, 24 May 2017 06:51:59 +0000
<![CDATA[Trouble with Wayfinder template properties]]>
[[WayFinder? &startId='0' &outerTpl='myOuterTemplate']]

and in 'myOuterTemplate I have:

<ul id="main-nav"[[+wf.classes+]]>[[+wf.wrapper+]]</ul>

The added id in my above markup is not added to it. What am I doing wrong? I keep doing hard refreshes on the browser and nothing changes.

FYI I am using Revolution 2.5.7-pl.

]]> Mon, 22 May 2017 07:15:02 +0000