[SOLVED] Extend template & additional child content blocks

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
jack4ya
Power Poster
Power Poster
Posts: 294
Joined: Thu Oct 19, 2006 10:07 am

[SOLVED] Extend template & additional child content blocks

Post by jack4ya »

I have a working base template and 3 extended child templates.
These work on one site/server.

When migrating (and not having access to my usual tools) I find that something won't fly.
It works on the front end. Templates are nicely extended.

On the backend I can edit the base template and child templates as well.

When I want to assign a base template to a page, all goes well.

But when I want to assign a child template to a page, the editing page goes white when tryin to load the child template.

When I bulk switch to to child template, it is assigned (shows in front end) but editing the content page is impossible (white)

I tried emptying cache, rename template, copy/paste. I feel the extending is not working in backend? Or do I need a clear/flush?

When I remove the additional content blocks in the child template it works (minus the content block off course)

Any idea how to proceed?


----------------------------------------------
Cms Version: 1.11.13
Installed Modules:
CMSMailer: 5.2.2
CMSPrinting: 1.0.5
FileManager: 1.4.5
MenuManager: 1.8.6
MicroTiny: 1.2.9
ModuleManager: 1.5.8
News: 2.15
Search: 1.7.12
ThemeManager: 1.1.8
CGExtensions: 1.45
CGSimpleSmarty: 1.7.4
CGSmartImage: 1.17.2
FrontEndUsers: 1.26
CustomContent: 1.10
CGContentUtils: 1.5
ListIt2XDefs: 1.2
ListIt2: 1.4.1
ListIt2XLink: 1.01
GBFilePicker: 1.3.3
ListIt2NewsV2: 1.4.1
ListIt2Slider: 1.4.1
ListIt2Teasers: 1.4.1
ListIt2Company: 1.4.1
FormBuilder: 0.8.1.1

Config Information:
php_memory_limit:
process_whole_template:
max_upload_size: 20000000
url_rewriting: mod_rewrite
page_extension:
query_var: page
image_manipulation_prog: GD
auto_alias_content: true
locale:
default_encoding: utf-8
admin_encoding: utf-8
set_names: true

Php Information:
phpversion: 5.4.26
md5_function: On (True)
gd_version: 2
tempnam_function: On (True)
magic_quotes_runtime: Off (False)
E_STRICT: 2048
E_DEPRECATED: 8192
memory_limit: 496M
max_execution_time: 30
output_buffering: On
safe_mode: Off (False)
file_uploads: On (True)
post_max_size: 8M
upload_max_filesize: 20M
session_save_path: No check because open basedir active
session_use_cookies: On (True)
xml_function: On (True)
xmlreader_class: On (True)

Server Information:
Server Api: apache2handler
Server Db Type: MySQL (mysqli)
Server Db Version: 5.1.73
Server Db Grants: Found a "GRANT ALL" statement that appears to be suitable
Server Time Diff: No filesystem time difference found

----------------------------------------------
Last edited by jack4ya on Tue Feb 24, 2015 11:53 am, edited 1 time in total.
jack4ya
Power Poster
Power Poster
Posts: 294
Joined: Thu Oct 19, 2006 10:07 am

Re: Advanced : Extend template & additional child content bl

Post by jack4ya »

Guess... :)

Forgot my UDT "get_page_dir"

{content_module module='GBFilePicker' block='main_image_01' mode='browser' assign='main_image_01' label='Main Image_01' dir=':::get_page_dir dir="images/pages" page=$page_alias:::' smarty="true" tab='Images'}
{content_module module='GBFilePicker' block='main_image_02' mode='browser' assign='main_image_02' label='Main Image_02' dir=':::get_page_dir dir="images/pages" page=$page_alias:::' smarty="true" tab='Images'}
Post Reply

Return to “CMSMS Core”