Main

type

0 (not classified)

status

30 (imported + raw text content deleted)

review version

0

cleanup version

0

pending deletion

0 (-)

created at

2025-11-13 19:12:54

updated at

2025-11-13 19:12:55

Address

url

https://legacy-documentation.concrete5.org/developers/blocks/working-with-existing-blocks/

url length

90

url crc

37845

url crc32

2555483093

location type

1 (url matches target location, page_location is empty)

canonical status

2 (missing canonical tag in html)

canonical page id

-

Source

domain id

511150584

domain tld

2688

domain parts

0

originating warc id

-

originating url

https://data.commoncrawl.org/crawl-data/CC-MAIN-2025-33/segments/1754151280022.17/warc/CC-MAIN-20250808065623-20250808095623-00950.warc.gz

source type

11 (CommonCrawl)

Server response

server ip

3.171.76.75

Publication date

2025-08-08 08:31:28

Fetch attempts

0

Original html size

29323

Normalized and saved size

14912

Content

title

Working With Existing Blocks :: Legacy Documentation

excerpt

content

Loading an Existing Block Object When you want to interact with a block object, it will likely be in one of several typical situations. Here is how you'd go about getting that block object or array of objects, given your context. You want to grab all blocks in an area on any page $page->getBlocks($areaName); Grabs all the generic block objects that live within the given area on that page. $page = Page::getCurrentPage(); $blocks = $page->getBlocks('Main'); You're working in a theme's template, and you want to grab all the blocks from within a specific area. Editable areas within themes are declared in the following way: $a = new Area('Main'); $a->display($c); You can grab all the blocks from this area within the page template by modifying this code as followS: $a = new Area('Main'); $blocks = $a->getAreaBlocksArray($c); In both of these examples, the $blocks array is an array of generic block objects. Simply grab a block by its ID. $b = Block::g...

author

updated

1766922972

Text analysis

block type

0

extracted fields

104

extracted bits

title
full content
content was extracted heuristically

detected location

0

detected language

1 (English)

category id

Pozostałe (16)

index version

2025123101

paywall score

0

spam phrases

0

Text statistics

text nonlatin

0

text cyrillic

0

text characters

5054

text words

1017

text unique words

292

text lines

1

text sentences

60

text paragraphs

1

text words per sentence

16

text matched phrases

0

text matched dictionaries

0