Grid Framework

Permalink Browser Info Environment
Hi Ramon

on the part “Grid Framework” with choice "other" and I have already performed the instructions found at this link (https://documentation.concrete5.org/developers/designing-for-concret... this would should work ok ?

I wanted to use thehttps://getmdl.io/components/index.html#layout-section/grid... for the theme if possible.

Many thanks
Rob

Type: Pre-Sale
Status: Resolved
Responsive
View Replies:
ramonleenders replied on at Permalink Reply
ramonleenders
Hi Rob,

If you have a grid framework that is not part of the core, you can choose the "Other..." option for the "Grid Framework" value. Then you can enter a "Grid Framework Handle" field, where you input the "handle" of the framework you create. This handle can be found in your grid class, and is this variable:

protected $pThemeGridFrameworkHandle = 'foundation';

So for this example you enter:

foundation

In the field "Grid Framework Handle". Of course, be sure to have this framework installed/working, otherwise the theme won't be able to use the/a framework.

Does that answer your questions?

Kind regards,

Ramon
Responsive replied on at Permalink Reply
Responsive
Hi Ramon

Thanks yes .. so places the protected $pThemeGridFrameworkHandle = 'customgrid'; into the page_theme.php.

I am trying to get the other part to work first but having difficulties :)

Regards
Rob
ramonleenders replied on at Permalink Reply
ramonleenders
Hi Rob,

Sorry, that ain't true what I said - only partially. You can place that variable in your page_theme.php file indeed. That is true. But if you choose a framework within Theme Designer, it will do it for you. No need for you to do that yourself of course.

But in order to know your grid framework handle, you'd have to take a look at the filename. For example this file:

concrete/src/Page/Theme/GridFramework/Type/Bootstrap2.php

This "Bootstrap2.php" filename, means your handle is "bootstrap2". There are other files in this same directory, just lowercase the filename and you're done. So for example "MyGridFramework" would result in 'mygridframework' as handle.

Did you already create the grid framework? I'm assuming it's rather difficult if you've never done this before.

Are you using Theme Designer already and did you have any problems (besides entering the grid framework)?

Kind regards,

Ramon
Responsive replied on at Permalink Reply
Responsive
Hi Ramon

Did you already create the grid framework?
It would seem these instructions (https://documentation.concrete5.org/developers/designing-for-concrete5/adding-grid-support-to-your-theme/advanced-create-and-use-your-own-grid-framework ) do not work for V8 so not quite there yet, will try with v7.

Are you using Theme Designer already and did you have any problems (besides entering the grid framework)?
Not yet want to get the framework working before using the theme designer.

Thanks for your help so far
Rob

concrete5 Environment Information

# concrete5 Version
Core Version - 8.2.0
Version Installed - 8.2.0
Database Version - 20170711151953

# concrete5 Packages
Webiflex (1.4.4)

# concrete5 Overrides
None

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

# Server Software
Apache

# Server API
cgi-fcgi

# PHP Version
5.6.31

# PHP Extensions
bcmath, bz2, bz2_filter, calendar, cgi-fcgi, Core, ctype, curl, date, dba, dom, enchant, ereg, exif, fileinfo, filter, ftp, gd, gettext, hash, iconv, imap, intl, ionCube Loader, json, ldap, libxml, mailparse, mbstring, mcrypt, memcache, memcached, mhash, mysql, mysqli, mysqlnd, openssl, pcntl, pcre, PDO, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, Phar, posix, pspell, readline, Reflection, session, shmop, SimpleXML, soap, sockets, SPL, sqlite3, standard, sysvmsg, sysvsem, tidy, tokenizer, wddx, xml, xmlreader, xmlrpc, xmlwriter, xsl, zip, zlib

# PHP Settings
max_execution_time - 120
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 120
max_input_vars - 3000
memory_limit - 768M
post_max_size - 128M
sql.safe_mode - Off
upload_max_filesize - 128M
ldap.max_links - Unlimited
memcache.max_failover_attempts - 20
memcached.sess_lock_max_wait - 0
mysql.max_links - 60
mysql.max_persistent - Unlimited
mysqli.max_links - 60
mysqli.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
pgsql.max_links - 60
pgsql.max_persistent - Unlimited
session.cache_limiter - <i>no value</i>
session.gc_maxlifetime - 7200
soap.wsdl_cache_limit - 5

Browser User-Agent String

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 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 have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.