Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Aug 21 14:37
    thexmanxyz commented #2196
  • Aug 21 14:36
    thexmanxyz commented #2196
  • Aug 21 14:34
    thexmanxyz commented #2196
  • Aug 21 14:31
    thexmanxyz commented #2196
  • Aug 21 12:53
    marktaylor46 commented #2196
  • Aug 21 12:51
    muffindcc commented #2196
  • Aug 21 12:49
    muffindcc commented #2196
  • Aug 21 12:36
    marktaylor46 commented #2196
  • Aug 21 12:11
    thexmanxyz commented #2196
  • Aug 21 11:59
    thexmanxyz commented #2196
  • Aug 21 11:58
    thexmanxyz commented #2196
  • Aug 21 11:57
    thexmanxyz commented #2196
  • Aug 21 11:39
    pplopx commented #2196
  • Aug 21 09:36
    muffindcc commented #2196
  • Aug 21 04:15
    thexmanxyz commented #2531
  • Aug 21 04:14
    thexmanxyz commented #2531
  • Aug 21 04:13
    thexmanxyz commented #2531
  • Aug 21 04:09
    thexmanxyz commented #2531
  • Aug 21 04:07
    thexmanxyz commented #2531
  • Aug 21 04:07
    thexmanxyz commented #2531
indieben
@greenlanegreb
re pulling a template from clicking a button - is it possible please?
Andreas Kar
@thexmanxyz
the only option you have is choose all images in the same aspect ration and sizes to be consistent (that is what I recommend). Or you align them with text-align towards your text
but as method 2 is not consistent and generates spaces that are completely different and ugly, use method 1
indieben
@greenlanegreb
sure, i'll bear this is in mind - thanks ever so much. Re the second question, you can see I have a template, as soon as I click the purple button I lose my top menu etc :)
image.png
"New Case"
Andreas Kar
@thexmanxyz
@greenlanegreb You are probably switching to an outline without the menu assigned check what outline is active when clicking the button. So check if the outline you use and if the menu is applied everywhere.
indieben
@greenlanegreb
how do I do that please (Not sure if it's relevant - the button is built into a module - it's not one i've created :))
Andreas Kar
@thexmanxyz
Check all your template outlines and if there is everywhere the menu assigned. IDK which outlines you use for what. That is something that you have to check yourself.
indieben
@greenlanegreb
image.png
ah it's throwing the whole template (Next image - button clicked)
Andreas Kar
@thexmanxyz
Either the plugin / module for that Repair Form is broken / unsupported or you missed assigning the template to all menu paths / items
Piet Nutbey
@pnutster
@thexmanxyz Thanks for the suggestion to @mahagr on the timestamp “issue” - what you suggested is actually how I have it hardcoded. I can understand that in development mode, the timestamp query may be helpful in forcing css refresh in browsers. But in choosing between those 2 evils (not being able to use our (css) development apps - and evil sticky browser caching) - we would choose for being able to use our dev apps and have timestamp removed.
indieben
@greenlanegreb
@thexmanxyz i'd imagine it needs writing in somewhere behind the scenes - just no clue how to do it
Andreas Kar
@thexmanxyz
@greenlanegreb Please check the docs assignement
and check if the template / outlines are assigned correctly
if that is the case it is a problem with your plugin / module
@pnutster You are welcome. Yeah I directly used your code because that is also what should be actually applied in my opinion to the master branch. So that we have the ability to remove the timestamp in development as well as in production. I see absolute no reason to ignore the asset_timestampsetting in development as it currently is. I do understand your decision why you need that thing. So I also recommended that to @mahagr to look into and overthink the decision of that if statement.
Piet Nutbey
@pnutster
@thexmanxyz Awesome!
indieben
@greenlanegreb
@thexmanxyz reet what fixed that button issue for further reference is by making that template the default for all languages - I can imagine a lot of cases where this wouldn't quite capture every scenario but it's good enough for me :)
Andreas Kar
@thexmanxyz
@pnutster If you really want this issue to be addressed please feel free and create an issue on github here. Please simply state there what you already wrote here. You can simply copy most of the text you wrote here. Additionally tag me please on GitHub (thexmanxyz) within that issue. I will jump into the discussion as soon as I get the Github tag notification mail. Thanks.
@greenlanegreb Great that this worked for you. There are ways to circumvent issue with different approaches when using multi-lingual sites (inheritance, different outlines ...)
Piet Nutbey
@pnutster
@thexmanxyz done: gantry/gantry5#2531
Andreas Kar
@thexmanxyz
@pnutster Thanks for your participation I will get on it in the next minutes :)
JValorius
@JValorius
@thexmanxyz thanks for answering, and sorry for the delay in getting back. I'm working multiple jobs so the time I can dedicate to this is limited.
The particle I want to change the behavior of is WordPress Posts (contentarray.html.twig). The plugin I'm trying to integrate to that particle is a personal version of https://premium.wpmudev.org/blog/wp-content/uploads/2013/10/periodical_publishing.php_.zip, which is a plugin that creates a custom "Issue" taxonomy to allow for the filtering of posts into "Issues", so that the site works like a periodical (with each Issue of the periodical containing its own posts).
So, when a visitor to the site selects an issue, they would only see posts from the issue they selected, no matter where they navigate to, until they select a different issue or visit the "news" section of the site. Of course, all of that works perfectly when within the standard content pages (because their content is handled by the main query), but it does not affect the contentarray Particle, because its content is handled by a custom query.
I could make the plugin just filter all queries, but that would break all the functionality of navigation between issues, the menus and all manner of other things, so what I wanted to do was create an option within the contentarray Particle that allows me to select whether I want a particular instance of that Particle to filter its results through the custom Issue Taxonomy. I can create an option in contentarray.yaml, but I have absolutely no idea what to do with that inside contentarray.html.twig. I don't know how to alter the query in Timber, or even if that's the approach I should be using.
wmgraf
@wmgraf
grafik.png
grafik.png
gantry5 is really great! I have the only issue that the same page is always displayed different in Firefox and Chrome. What can I do to fix this?
Thanks for advice!
Andreas Kar
@thexmanxyz
@wmgraf The difference is because of the different browser scaling not both are on 100%
Tom
@Metal-Frog
@all: Hi. My website has different logical sections. Each section has a style assigned. I also have a "custom.scss". But the H2 tags in those sections should look different. Can you please give me a hint how to solve this request?
wmgraf
@wmgraf
@thexmanxyz Thanks for your input! This was also my 1st suspicion, but both browsers are scaled to 100%. May I ask you - if you browse for example the gantry5 homepage - you don't have this difference shown in my two screenshots?
Andreas Kar
@thexmanxyz
@wmgraf There is a difference, I checked that and yes I see it on my end but this is not a gantry demo site. This is the gantry homepage so I'm not sure how this is relevant?
Also your screenshots show the Gantry homepage and none of the available open source templates.
e.g. Helium looks the same on all browsers
Andreas Kar
@thexmanxyz
@Metal-Frog Hey Tom you need different selectors for each section I would recommend reading this w3schools article
Alexis Priddy
@yellowwebmonkey
@Metal-Frog , if you can share a link, one of us can probably get you a quick answer. :)
Andreas Kar
@thexmanxyz
But as an additional hint typically you would use something like this (oversimplified)
.my-section-class-1 h2{color: red;}
.my-section-class-2 h2{color: green;}
or
#my-section-id-1 h2{color: red;}
#my-section-id-2 h2{color: green;}
Tom
@Metal-Frog
@yellowwebmonkey This is my development site: http://rbs.it-ferdinand.de/. All pages in the section "Förderverein" have a blue style. And those headings (H2) should have a different picture ...
Andreas Kar
@thexmanxyz
@Metal-Frog I think you have to inherit an outline for each section (menu point) you want to change the article heading color.
bind a class name e.g. .blue-outline on the HTML body or the content section if it should be for articles only in the layout and then do something like that
.blue-outline h2{color: blue;}
within your custom.scss
so the actual steps to do:
1.) create a new outline based on your current one (inherit)
2.) set the new outline to the menu points it should apply to (everything under Förderverein)
3.) define a class on the HTML body or your content section
4.) create the respective selector in the custom.scss file depending on the class name you choose, take one of my examples form above
Andreas Kar
@thexmanxyz

[at]ALL: One message on my own behalf. I'm still maintaining a few Particles / Atoms on my Github profile. I offer them for free and participation is always appreciated. You can find a list of all my Gantry projects on gantryprojects.com or jump directly to my projects listing on Github.
wmgraf
@wmgraf
@thexmanxyz thank you! There is the same "zoom-effect" also with Helium and Hydrogen. Now I installed Opera and there is no aberation - so my firefox could have wrong settings.
Andreas Kar
@thexmanxyz
@wmgraf You are welcome. I checked that the zoom effect is not present on helium on my side i checked side by side with Chrome and Firefox. Maybe start Firefox in Private Window/Mode and check again. It might be an issue with your firefox. You can also alternatively try to use the portable version or your current version with a new profile (or just deactivate all custom plugins in the first place).
wmgraf
@wmgraf
@thexmanxyz perfect! Now I did a complete reset with firefox - and the issue disappeared. Thanks a lot, Andreas.
Andreas Kar
@thexmanxyz
@wmgraf You are welcome, glad that you got it sorted :). Some plugins interfere with Websites (modifying DOM). So this might be the issue you experienced or just the profile was broken/cache not cleared.