Get Collection Name error

Permalink Browser Info Environment
I'm trying to force PHP to display the page title but within the "Static HTML" part of the opening Static HTML row. Attached is a screenshot of the PHP I've included.

Both my input and the error screenshots are attached.

2 Attachments

Type: Ticket
Status: In Progress
chainakpiban
View Replies:
chainakpiban replied on at Permalink Reply
chainakpiban
You can disregard this.

I fixed it by excluding the php code. Simple fix - chalk this up to my inexperience with this plugin.
ramonleenders replied on at Permalink Reply
ramonleenders
Fun fact, you can also use the "Page Attribute" field type to do this instead. Not sure what was wrong with the PHP code in question, but you could have gone that route too. Also for other page attributes, not only the page name/title!

Kind regards
Ramon
ramonleenders replied on at Permalink Reply
ramonleenders
P.s. This is a Block Designer Pro field type though, so not in the basic version. My guess is you don't have this plugin and probably don't need it if you don't use repeatable items!

concrete5 Environment Information

# Concrete Version
Core Version - 9.1.3
Version Installed - 9.1.3
Database Version - 20220908074900

# Hostname
ehub58.webhostinghub.com

# Environment
production

# Database Information
Version: 10.3.37-MariaDB-log
SQL Mode: NO_ENGINE_SUBSTITUTION

# Concrete Packages
Block Designer (4.1.1), Omni Gallery (9.2.2)

# Concrete Overrides
blocks/product/composer.php, blocks/product/db.xml, blocks/product/edit.php, blocks/product/controller.php, blocks/product/form.php, blocks/product/config.json, blocks/product/add.php, blocks/product/view.php, blocks/product/icon.png, blocks/product, themes/homepage/images/logo_medium.png, themes/homepage/images/logo_large.png, themes/homepage/images/logo_small.png, themes/homepage/images/logo.jpg, themes/homepage/images, themes/homepage/description.txt, themes/homepage/thumbnail.png, themes/homepage/homepage.css, themes/homepage/homepage.html, themes/homepage/default.php, themes/homepage, themes/webslide/webslidemenu/dropdown-effects/rotate-y.css, themes/webslide/webslidemenu/dropdown-effects/rotate-x.css, themes/webslide/webslidemenu/dropdown-effects/fade-right.css, themes/webslide/webslidemenu/dropdown-effects/fade-down.css, themes/webslide/webslidemenu/dropdown-effects/fade-left.css, themes/webslide/webslidemenu/dropdown-effects/fade-up.css, themes/webslide/webslidemenu/dropdown-effects, themes/webslide/webslidemenu/webslidemenu.js, themes/webslide/webslidemenu/webslidemenu.css, themes/webslide/webslidemenu/color-skins/white-blue.css, themes/webslide/webslidemenu/color-skins/white-orange.css, themes/webslide/webslidemenu/color-skins/grd-red.css, themes/webslide/webslidemenu/color-skins/grd-light-green.css, themes/webslide/webslidemenu/color-skins/white-yellow.css, themes/webslide/webslidemenu/color-skins/grd-green.css, themes/webslide/webslidemenu/color-skins/white-gry.css, themes/webslide/webslidemenu/color-skins/grd-orange.css, themes/webslide/webslidemenu/color-skins/grd-blue.css, themes/webslide/webslidemenu/color-skins/white-pink.css, themes/webslide/webslidemenu/color-skins/grd-gry.css, themes/webslide/webslidemenu/color-skins/grd-black.css, themes/webslide/webslidemenu/color-skins/white-red.css, themes/webslide/webslidemenu/color-skins/white-purple.css, themes/webslide/webslidemenu/color-skins/white-green.css, themes/webslide/webslidemenu/color-skins/grd-pink.css, themes/webslide/webslidemenu/color-skins, themes/webslide/webslidemenu/demo.css, themes/webslide/webslidemenu, themes/webslide/vendor/jquery/jquery-3.2.1.min.js, themes/webslide/vendor/jquery, themes/webslide/vendor, themes/webslide/images/menu-logo.png, themes/webslide/images/image02.jpg, themes/webslide/images/image06.jpg, themes/webslide/images/image01.jpg, themes/webslide/images/image04.jpg, themes/webslide/images/bg01.jpg, themes/webslide/images/image03.jpg, themes/webslide/images/sml-logo02.png, themes/webslide/images/image05.jpg, themes/webslide/images, themes/webslide, themes/product category/images/logo_medium.png, themes/product category/images/logo_large.png, themes/product category/images/logo_small.png, themes/product category/images/logo.jpg, themes/product category/images, themes/product category/description.txt, themes/product category/thumbnail.png, themes/product category/productcategory.html, themes/product category/productcategory.css, themes/product category/default.php, themes/product category

# Concrete Cache Settings
Block Cache - Off
Overrides Cache - Off
Full Page Caching - Off
Full Page Cache Lifetime - Every 6 hours (default setting).

# Server Software
Apache

# Server API
cgi-fcgi

# PHP Version
7.4.33

# PHP Extensions
bcmath, bz2, calendar, cgi-fcgi, Core, ctype, curl, date, dba, dom, enchant, exif, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, imagick, imap, intl, ionCube Loader, json, ldap, libxml, mbstring, monarxprotect, mysqli, mysqlnd, odbc, openssl, pcntl, pcre, PDO, pdo_mysql, PDO_ODBC, pdo_pgsql, pdo_sqlite, pgsql, Phar, posix, pspell, readline, Reflection, session, SimpleXML, snmp, soap, sockets, sodium, SPL, sqlite3, standard, tidy, tokenizer, xml, xmlreader, xmlrpc, xmlwriter, xsl, zip, zlib

# PHP Settings
max_execution_time - 30
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 60
max_input_vars - 6200
memory_limit - 768M
post_max_size - 512M
upload_max_filesize - 512M
ic24.api.max_timeout - 7
ldap.max_links - Unlimited
mbstring.regex_retry_limit - 1000000
mbstring.regex_stack_limit - 100000
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
odbc.max_links - Unlimited
odbc.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
pgsql.max_links - Unlimited
pgsql.max_persistent - Unlimited
session.cache_limiter - <i>no value</i>
session.gc_maxlifetime - 7200
soap.wsdl_cache_limit - 5
unserialize_max_depth - 4096

Browser User-Agent String

Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You may not request a refund that is not currently owned by you.