The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [output]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
13 views

Can I have non-boolean TargetBlank output using HTMLPurifier and the Redactor plugin?

I'm using the Redactor plugin throughout a Craft 3 site and I'm also using a custom HTML Purifier config to clean up the HTML (surprise). { "HTML.ForbiddenElements": [" ", "br"], "...
3
votes
1answer
26 views

Output values from all entries in a specific section EXCEPT those with a specific category id

Currently, this is NEARLY doing what I want except instead of the output being entries that do NOT have the id, it's output is ONLY the entries with the id. I'm not sure why, since I've included the '...
2
votes
1answer
119 views

Smart Map - Outputting locations from a Matrix field for all entries within a single section

I'm using the Smart Map plugin, and I can't seem to figure out how to output all the locations of my entries from a single section onto one single map. I think the issue I'm having is trying to get ...
1
vote
1answer
220 views

Show all images from Matrix Block

I'm trying to bring in all images from a matrix field but I can only get it to work with first() or last() but obviously it only shows 1 image. I've found a few article explaining it but I can't ...
0
votes
2answers
109 views

How to output Name in Matrix entries

I have matrix field set up, is that possible to output Name in Field Settings (refer to the handle: aggressiveBehavior)? Thanks
3
votes
1answer
149 views

Use Matrix field to output specific html

I am quite new to this so, please be patient. I am wanting to output the following html: <script type="text/javascript" src="js/jquery.jcarousel.min.js"></script> <script type="text/...
2
votes
1answer
63 views

How is a typical frontend request output generated?

Long story short: I've been trying to find out how Craft processes the request and eventually create the output. The search is going deeper and deeper into the core, but it feels like I'm missing out ...
1
vote
1answer
805 views

Output getSegments() array in template

Is it possible to output a getSegments() array in a template to then run conditions on? I can output one segment fine using getSegment(), but if I try to select one or more segments using getSegments(...
1
vote
1answer
129 views

Unable to output position select value

Please someone tell me where I'm going wrong with this. I have a Matrix field called Page Builder (pageBuilder) and have different matrix blocks for outputting information in different ways. This ...
2
votes
2answers
2k views

Navigation, Structure, Usage, WOES!

As some of you may have seen I've been asking on here and on Slack regarding the best way to go about creating a navigation on a site. As yet, nothing I have tried is working and any code that I've ...
3
votes
1answer
184 views

Cycle outputs plain text, should be html

Is this normal behavior? {% for entry in entries %} {{ cycle(['<div></div>', '2', '3', '4'], loop.index0) }} {% endfor %} Results in: &lt;div&gt;&lt;/div&gt; 2 3 4 ...