Hi,
I'm struggling with nested content. In the wiki's sample parsefile;
<MySource_AREA id_name="right_content" design_area="nest_content" />
where is the nested content coming from?
I'd like to pull a page asset's content into another page.
regards.
Ian
You need to create a customisation of the design so you can set the nested content asset.
- Create a customisation on the Customisations screen of the design
- Then go to the Details screen of the new customisation and customise the right_content area
- Click on the right_content link to go to the Details screen of the design area
- Select the asset to nest using the asset finder
You'll have to do normal locking to get the edit interfaces up. You can apply this new customisation to your site now. You can also create additional customisations to change the nested page.
Hope that makes sense.
Thanks,
that should get me started. Unfortunately, I'm getting timeouts (probably because there are a lot of associated files in the design);
Fatal error: Maximum execution time of 30 seconds exceeded in c:\apache_group\apache\htdocs\matrix3\mysource_matrix_3-1-0-rc2\core\include\mysource.inc on line 1167
Fatal error: Maximum execution time of 30 seconds exceeded in C:\php\pear\pear\PEAR.php on line 654
How can I increase the timeout limit? I looked at the code cited but it wasn't apparent.
Thanks,
Ian
Check in your php.ini file.
Search for max_execution_time
Thanks.
Ian
[quote]- Create a customisation on the Customisations screen of the design
- Then go to the Details screen of the new customisation and customise the right_content area
- Click on the right_content link to go to the Details screen of the design area
- Select the asset to nest using the asset finder[/quote]
Hi,
it makes sense but I can't select an asset to nest.
I'm on the details screen of the customisation's customised section (in this case 'right_menu'). However, the available sections are;
[*]Details
[*]Thumbnail
[*]Settings
I may have laid an egg in the nest.
Thanks,
Ian
Are you sure your on the right design area? Nest content design areas have Status, Thumbnail, Details, and Link sections.
Check up the top of the screen. It should say "Nest Content Design Area - right_menu (#ASSETID, v VERSION) | Details"
Thanks,
I got it to work. I didn't have the <area> statement for nested content in my parsefile so the correct area wasn't available to customise.
Ian
I'm also struggling with nested assets.
On our home page, I want to list the top four items in three lists from three separate asset listings that exist in various parts of the site.
Do I have to set up separate assets listings under the home page and set them to get only the top four, or is there some other way to handle this?
What do I nest… the asset listing or the asset listing's page contents (or body content div)?
What are the options for type_codes in the nest_content design area?
The best option is to create a standard page with three DIV's. Set each to be a nested content cell rather than a WYSIWYG. Then nest the 3 asset listings in this page.
You will have to set the asset listings to only list 4 assets (set 4 assets per page and dont put next and previous keywords in).
Then, for the nested area in your design, select the Standard Page assets that contains the 3 nested content DIVs. Dont select the Bodycopy or DIV assets individually.
Note that you can also do this using 3 nested areas in your design - but that just leads to more design areas and is harder to maintain (in my opinion).