Can i make custom layout update programmatically that is based on a certain page Layout? #4014
Unanswered
csl-schlewitz
asked this question in
Questions & Answers
Replies: 1 comment
-
I have never programmatically update a catalog layout. If I were to start, I would look at how it's done in magento-lts/app/code/core/Mage/Catalog/controllers/CategoryController.php Lines 117 to 171 in 1f32c70 Line 124: Unrelated: see syntax highlight in markdown |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
After i setup a new page layout in my modules config.xml
i can assign layout updates for a category on the admin page...
This generates a lot of copy- paste workload, so i was wondering if i can make something like that within the layout xml's
i found soemthing similar in the paypal.xml
where set of layout adjustments
are invoke ontop of another page-block
But so far non of the update handles i found in the code references a page-layout like
page_one_column, page_two_columns_left
I know that the page-block for the category page is either
catalog_category_default or catalog_category_layered
i also tried adding a node to the page.xml
To reference the page block and invoke my adjustment
But none of the changes seem to have any effect.
the page definiton in this place seem utterly useless, aswell as the standard pages,... changes or removing those dont seem to have any effect,...
(since the page-layout, template and handle in itself is defined in the config.xml)
does anyone have any insight about that or is there no other way then to add custom layout updated within the category mangement,...?
Beta Was this translation helpful? Give feedback.
All reactions