Add page

Permalink Browser Info Environment
Hi,

Is it possible to modify this so it can create a toolbar button that will add a page of a certain pagetype?

Thanks
Dave

Type: Pre-Sale
Status: In Progress
madesimplemedia
View Replies:
pvernaglia replied on at Permalink Reply
pvernaglia
It seems fairly intuitive to to just click the C5 Add Page Button and choose your Page Type. It's not something I have thought about adding to the toolbar, or had anyone inquire on before. Programmatically it could be done, I'm not sure it would be a feature many people are interested in.
madesimplemedia replied on at Permalink Reply
madesimplemedia
I agree, but this customer will only be adding 1 pagetype to the site, very regularly, I just thought I'd check how tricky it would be.

concrete5 Environment Information

# concrete5 Version
Core Version - 5.7.5.2
Version Installed - 5.7.5.2
Database Version - 20150731000000

# concrete5 Packages
Block Designer (1.3.0), Enhanced Toolbar (2.0), Login Page Background (0.9), Navigator (0.9.1), Page List+ (1.2.9), Pixo Form Templates (0.9.3).

# concrete5 Overrides
blocks/candidates_link/form.php, blocks/candidates_link/add.php, blocks/candidates_link/db.xml, blocks/candidates_link/config.json, blocks/candidates_link/controller.php, blocks/candidates_link/edit.php, blocks/candidates_link/icon.png, blocks/candidates_link/composer.php, blocks/candidates_link/view.php, blocks/candidates_link, blocks/page_list_plus/templates/vacancies_vert/view.php, blocks/page_list_plus/templates/vacancies_vert, blocks/page_list_plus/templates/news/view.php, blocks/page_list_plus/templates/news, blocks/page_list_plus/templates/vacancies/view.php, blocks/page_list_plus/templates/vacancies, blocks/page_list_plus/templates, blocks/page_list_plus, blocks/clients_link/form.php, blocks/clients_link/add.php, blocks/clients_link/db.xml, blocks/clients_link/config.json, blocks/clients_link/controller.php, blocks/clients_link/edit.php, blocks/clients_link/icon.png, blocks/clients_link/composer.php, blocks/clients_link/view.php, blocks/clients_link, blocks/search/templates/chr/view.php, blocks/search/templates/chr, blocks/search/templates, blocks/search, blocks/client_testimonial/form.php, blocks/client_testimonial/add.php, blocks/client_testimonial/db.xml, blocks/client_testimonial/config.json, blocks/client_testimonial/controller.php, blocks/client_testimonial/edit.php, blocks/client_testimonial/icon.png, blocks/client_testimonial/composer.php, blocks/client_testimonial/view.php, blocks/client_testimonial, blocks/pixo_form/INSTALL.TXT, blocks/pixo_form/blocks/form/templates/chr/view.css, blocks/pixo_form/blocks/form/templates/chr/view.php, blocks/pixo_form/blocks/form/templates/chr/js/jquery.validate.js, blocks/pixo_form/blocks/form/templates/chr/js, blocks/pixo_form/blocks/form/templates/chr, blocks/pixo_form/blocks/form/templates, blocks/pixo_form/blocks/form, blocks/pixo_form/blocks, blocks/pixo_form/controller.php, blocks/pixo_form/icon.png, blocks/pixo_form/LICENSE.TXT, blocks/pixo_form, languages/fr_FR/LC_MESSAGES/messages.mo, languages/fr_FR/LC_MESSAGES, languages/fr_FR, languages/tr_TR/LC_MESSAGES/messages.mo, languages/tr_TR/LC_MESSAGES, languages/tr_TR, languages/ru_RU/LC_MESSAGES/messages.mo, languages/ru_RU/LC_MESSAGES, languages/ru_RU, languages/ja_JP/LC_MESSAGES/messages.mo, languages/ja_JP/LC_MESSAGES, languages/ja_JP, languages/nb_NO/LC_MESSAGES/messages.mo, languages/nb_NO/LC_MESSAGES, languages/nb_NO, languages/nl_NL/LC_MESSAGES/messages.mo, languages/nl_NL/LC_MESSAGES, languages/nl_NL, languages/it_IT/LC_MESSAGES/messages.mo, languages/it_IT/LC_MESSAGES, languages/it_IT, languages/el_GR/LC_MESSAGES/messages.mo, languages/el_GR/LC_MESSAGES, languages/el_GR, languages/pt_BR/LC_MESSAGES/messages.mo, languages/pt_BR/LC_MESSAGES, languages/pt_BR, languages/de_DE/LC_MESSAGES/messages.mo, languages/de_DE/LC_MESSAGES, languages/de_DE, languages/sv_SE/LC_MESSAGES/messages.mo, languages/sv_SE/LC_MESSAGES, languages/sv_SE, languages/da_DK/LC_MESSAGES/messages.mo, languages/da_DK/LC_MESSAGES, languages/da_DK, languages/pl_PL/LC_MESSAGES/messages.mo, languages/pl_PL/LC_MESSAGES, languages/pl_PL, languages/fi_FI/LC_MESSAGES/messages.mo, languages/fi_FI/LC_MESSAGES, languages/fi_FI, themes/websitetheme/thumbnail.png, themes/websitetheme/vacancies.php, themes/websitetheme/home.php, themes/websitetheme/client_cadidate.php, themes/websitetheme/page_theme.php, themes/websitetheme/right_sidebar.php, themes/websitetheme/fonts/2FED42_0_0.eot, themes/websitetheme/fonts/2FED42_1_0.ttf, themes/websitetheme/fonts/2FED42_0_0.woff2, themes/websitetheme/fonts/2FED42_0_0.ttf, themes/websitetheme/fonts/2FED42_1_0.woff2, themes/websitetheme/fonts/2FED42_1_0.woff, themes/websitetheme/fonts/2FED42_0_0.woff, themes/websitetheme/fonts/2FED42_1_0.eot, themes/websitetheme/fonts, themes/websitetheme/css/columns.less, themes/websitetheme/css/typography.less, themes/websitetheme/css/resets.less, themes/websitetheme/css/webfonts/2FED42_0_0.eot, themes/websitetheme/css/webfonts/2FED42_1_0.ttf, themes/websitetheme/css/webfonts/2FED42_0_0.woff2, themes/websitetheme/css/webfonts/2FED42_0_0.ttf, themes/websitetheme/css/webfonts/2FED42_1_0.woff2, themes/websitetheme/css/webfonts/2FED42_1_0.woff, themes/websitetheme/css/webfonts/2FED42_0_0.woff, themes/websitetheme/css/webfonts/2FED42_1_0.eot, themes/websitetheme/css/webfonts, themes/websitetheme/css/holding.less, themes/websitetheme/css/bootstrap.min.css, themes/websitetheme/css/navigation.less, themes/websitetheme/css/MyFontsWebfontsKit.css, themes/websitetheme/css/forms.less, themes/websitetheme/css/screen.less, themes/websitetheme/css, themes/websitetheme/images/bull.png, themes/websitetheme/images/marker.png, themes/websitetheme/images/header/capitalhcr.png, themes/websitetheme/images/header, themes/websitetheme/images/holding/bull.png, themes/websitetheme/images/holding/banner.jpg, themes/websitetheme/images/holding/upload-cv.png, themes/websitetheme/images/holding/Thumbs.db, themes/websitetheme/images/holding/register.png, themes/websitetheme/images/holding, themes/websitetheme/images/ajax-loader.gif, themes/websitetheme/images/Thumbs.db, themes/websitetheme/images/sprite.png, themes/websitetheme/images/fader, themes/websitetheme/images, themes/websitetheme/news_events.php, themes/websitetheme/description.txt, themes/websitetheme/Thumbs.db, themes/websitetheme/elements/holding.php, themes/websitetheme/elements/footer_bottom.php, themes/websitetheme/elements/job_search.php, themes/websitetheme/elements/header_top.php, themes/websitetheme/elements/header.php, themes/websitetheme/elements/footer.php, themes/websitetheme/elements, themes/websitetheme/default.php, themes/websitetheme/news_article.php, themes/websitetheme/view.php, themes/websitetheme/vacancy.php, themes/websitetheme/js/selectivizr-min.js, themes/websitetheme/js/site.js, themes/websitetheme/js/jquery-filestyle.min.css, themes/websitetheme/js/modernizr.js, themes/websitetheme/js/jquery-filestyle.min.js, themes/websitetheme/js/jquery-filestyle.js, themes/websitetheme/js/respond.min.js, themes/websitetheme/js/jquery.cookie.min.js, themes/websitetheme/js/jquery-filestyle.css, themes/websitetheme/js, themes/websitetheme, blocks/candidates_link/form.php, blocks/candidates_link/add.php, blocks/candidates_link/db.xml, blocks/candidates_link/config.json, blocks/candidates_link/controller.php, blocks/candidates_link/edit.php, blocks/candidates_link/icon.png, blocks/candidates_link/composer.php, blocks/candidates_link/view.php, blocks/candidates_link, blocks/page_list_plus/templates/vacancies_vert/view.php, blocks/page_list_plus/templates/vacancies_vert, blocks/page_list_plus/templates/news/view.php, blocks/page_list_plus/templates/news, blocks/page_list_plus/templates/vacancies/view.php, blocks/page_list_plus/templates/vacancies, blocks/page_list_plus/templates, blocks/page_list_plus, blocks/clients_link/form.php, blocks/clients_link/add.php, blocks/clients_link/db.xml, blocks/clients_link/config.json, blocks/clients_link/controller.php, blocks/clients_link/edit.php, blocks/clients_link/icon.png, blocks/clients_link/composer.php, blocks/clients_link/view.php, blocks/clients_link, blocks/search/templates/chr/view.php, blocks/search/templates/chr, blocks/search/templates, blocks/search, blocks/client_testimonial/form.php, blocks/client_testimonial/add.php, blocks/client_testimonial/db.xml, blocks/client_testimonial/config.json, blocks/client_testimonial/controller.php, blocks/client_testimonial/edit.php, blocks/client_testimonial/icon.png, blocks/client_testimonial/composer.php, blocks/client_testimonial/view.php, blocks/client_testimonial, blocks/pixo_form/INSTALL.TXT, blocks/pixo_form/blocks/form/templates/chr/view.css, blocks/pixo_form/blocks/form/templates/chr/view.php, blocks/pixo_form/blocks/form/templates/chr/js/jquery.validate.js, blocks/pixo_form/blocks/form/templates/chr/js, blocks/pixo_form/blocks/form/templates/chr, blocks/pixo_form/blocks/form/templates, blocks/pixo_form/blocks/form, blocks/pixo_form/blocks, blocks/pixo_form/controller.php, blocks/pixo_form/icon.png, blocks/pixo_form/LICENSE.TXT, blocks/pixo_form, languages/fr_FR/LC_MESSAGES/messages.mo, languages/fr_FR/LC_MESSAGES, languages/fr_FR, languages/tr_TR/LC_MESSAGES/messages.mo, languages/tr_TR/LC_MESSAGES, languages/tr_TR, languages/ru_RU/LC_MESSAGES/messages.mo, languages/ru_RU/LC_MESSAGES, languages/ru_RU, languages/ja_JP/LC_MESSAGES/messages.mo, languages/ja_JP/LC_MESSAGES, languages/ja_JP, languages/nb_NO/LC_MESSAGES/messages.mo, languages/nb_NO/LC_MESSAGES, languages/nb_NO, languages/nl_NL/LC_MESSAGES/messages.mo, languages/nl_NL/LC_MESSAGES, languages/nl_NL, languages/it_IT/LC_MESSAGES/messages.mo, languages/it_IT/LC_MESSAGES, languages/it_IT, languages/el_GR/LC_MESSAGES/messages.mo, languages/el_GR/LC_MESSAGES, languages/el_GR, languages/pt_BR/LC_MESSAGES/messages.mo, languages/pt_BR/LC_MESSAGES, languages/pt_BR, languages/de_DE/LC_MESSAGES/messages.mo, languages/de_DE/LC_MESSAGES, languages/de_DE, languages/sv_SE/LC_MESSAGES/messages.mo, languages/sv_SE/LC_MESSAGES, languages/sv_SE, languages/da_DK/LC_MESSAGES/messages.mo, languages/da_DK/LC_MESSAGES, languages/da_DK, languages/pl_PL/LC_MESSAGES/messages.mo, languages/pl_PL/LC_MESSAGES, languages/pl_PL, languages/fi_FI/LC_MESSAGES/messages.mo, languages/fi_FI/LC_MESSAGES, languages/fi_FI, themes/websitetheme/thumbnail.png, themes/websitetheme/vacancies.php, themes/websitetheme/home.php, themes/websitetheme/client_cadidate.php, themes/websitetheme/page_theme.php, themes/websitetheme/right_sidebar.php, themes/websitetheme/fonts/2FED42_0_0.eot, themes/websitetheme/fonts/2FED42_1_0.ttf, themes/websitetheme/fonts/2FED42_0_0.woff2, themes/websitetheme/fonts/2FED42_0_0.ttf, themes/websitetheme/fonts/2FED42_1_0.woff2, themes/websitetheme/fonts/2FED42_1_0.woff, themes/websitetheme/fonts/2FED42_0_0.woff, themes/websitetheme/fonts/2FED42_1_0.eot, themes/websitetheme/fonts, themes/websitetheme/css/columns.less, themes/websitetheme/css/typography.less, themes/websitetheme/css/resets.less, themes/websitetheme/css/webfonts/2FED42_0_0.eot, themes/websitetheme/css/webfonts/2FED42_1_0.ttf, themes/websitetheme/css/webfonts/2FED42_0_0.woff2, themes/websitetheme/css/webfonts/2FED42_0_0.ttf, themes/websitetheme/css/webfonts/2FED42_1_0.woff2, themes/websitetheme/css/webfonts/2FED42_1_0.woff, themes/websitetheme/css/webfonts/2FED42_0_0.woff, themes/websitetheme/css/webfonts/2FED42_1_0.eot, themes/websitetheme/css/webfonts, themes/websitetheme/css/holding.less, themes/websitetheme/css/bootstrap.min.css, themes/websitetheme/css/navigation.less, themes/websitetheme/css/MyFontsWebfontsKit.css, themes/websitetheme/css/forms.less, themes/websitetheme/css/screen.less, themes/websitetheme/css, themes/websitetheme/images/bull.png, themes/websitetheme/images/marker.png, themes/websitetheme/images/header/capitalhcr.png, themes/websitetheme/images/header, themes/websitetheme/images/holding/bull.png, themes/websitetheme/images/holding/banner.jpg, themes/websitetheme/images/holding/upload-cv.png, themes/websitetheme/images/holding/Thumbs.db, themes/websitetheme/images/holding/register.png, themes/websitetheme/images/holding, themes/websitetheme/images/ajax-loader.gif, themes/websitetheme/images/Thumbs.db, themes/websitetheme/images/sprite.png, themes/websitetheme/images/fader, themes/websitetheme/images, themes/websitetheme/news_events.php, themes/websitetheme/description.txt, themes/websitetheme/Thumbs.db, themes/websitetheme/elements/holding.php, themes/websitetheme/elements/footer_bottom.php, themes/websitetheme/elements/job_search.php, themes/websitetheme/elements/header_top.php, themes/websitetheme/elements/header.php, themes/websitetheme/elements/footer.php, themes/websitetheme/elements, themes/websitetheme/default.php, themes/websitetheme/news_article.php, themes/websitetheme/view.php, themes/websitetheme/vacancy.php, themes/websitetheme/js/selectivizr-min.js, themes/websitetheme/js/site.js, themes/websitetheme/js/jquery-filestyle.min.css, themes/websitetheme/js/modernizr.js, themes/websitetheme/js/jquery-filestyle.min.js, themes/websitetheme/js/jquery-filestyle.js, themes/websitetheme/js/respond.min.js, themes/websitetheme/js/jquery.cookie.min.js, themes/websitetheme/js/jquery-filestyle.css, themes/websitetheme/js, themes/websitetheme

# concrete5 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
5.4.45

# PHP Extensions
bcmath, bz2, calendar, cgi-fcgi, Core, ctype, curl, date, dom, ereg, exif, filter, ftp, gd, gettext, gmp, hash, iconv, intl, json, libxml, mbstring, mcrypt, mhash, mysql, mysqli, openssl, pcntl, pcre, PDO, pdo_mysql, posix, readline, Reflection, session, shmop, SimpleXML, sockets, SPL, sqlite3, standard, tokenizer, xml, xmlreader, xmlrpc, xmlwriter, xsl, zip, zlib.

# PHP Settings
max_execution_time - 60
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 120
max_input_vars - 5000
memory_limit - 128M
post_max_size - 100M
sql.safe_mode - Off
upload_max_filesize - 100M
mysql.max_links - Unlimited
mysql.max_persistent - Unlimited
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
session.cache_limiter - <i>no value</i>
session.gc_maxlifetime - 1440

Browser User-Agent String

Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2619.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.