- Posts: 15
- Thank you received: 0
商品一覧と商品詳細ページのテンプレートを変える
13 years 5 months ago - 13 years 5 months ago #109884
by mami
商品一覧と商品詳細ページのテンプレートを変える was created by mami
お世話になります。
Menuで作成したProduct listingから商品詳細ページにジャンプするようにすると、Product listingのテンプレートが商品詳細ページでも使われますが、商品詳細ページにProduct listingとは別のテンプレート(同じテンプレートの別ページ用の設定)を適応する方法はありますか。
MenuとしてProductページを一つ一つの商品で作ればそれぞれのテンプレート設定を適応させられる事は分かりますが、それらを作らずに、Product listingからジャンプした先の商品詳細ページに別設定のテンプレートを適応させる(全ての商品で同じテンプレートを適応させる)ことは出来るのでしょうか。
以上、よろしくお願いします。
Menuで作成したProduct listingから商品詳細ページにジャンプするようにすると、Product listingのテンプレートが商品詳細ページでも使われますが、商品詳細ページにProduct listingとは別のテンプレート(同じテンプレートの別ページ用の設定)を適応する方法はありますか。
MenuとしてProductページを一つ一つの商品で作ればそれぞれのテンプレート設定を適応させられる事は分かりますが、それらを作らずに、Product listingからジャンプした先の商品詳細ページに別設定のテンプレートを適応させる(全ての商品で同じテンプレートを適応させる)ことは出来るのでしょうか。
以上、よろしくお願いします。
Last edit: 13 years 5 months ago by mami.
Please Log in or Create an account to join the conversation.
13 years 5 months ago #109940
by nicolas
Replied by nicolas on topic 商品一覧と商品詳細ページのテンプレートを変える
Hi,
Joomla's menu/template system doesn't allow for such use. As the product pages and the products listing are on the same menu, you can't assign a different template for each.
However, there are extensions which allow for more advanced page-based template assignation.
For example, you will be able to do that with Chameleon: www.metamodpro.com/chameleon/chameleon
It has an advanced PHP area where you can directly enter code to segregate between a products listing and a product page.
Joomla's menu/template system doesn't allow for such use. As the product pages and the products listing are on the same menu, you can't assign a different template for each.
However, there are extensions which allow for more advanced page-based template assignation.
For example, you will be able to do that with Chameleon: www.metamodpro.com/chameleon/chameleon
It has an advanced PHP area where you can directly enter code to segregate between a products listing and a product page.
Please Log in or Create an account to join the conversation.
13 years 5 months ago #109962
by mami
Replied by mami on topic 商品一覧と商品詳細ページのテンプレートを変える
Hi,
I am gonna check the extension you mentioned. Thanks a lot.
I am gonna check the extension you mentioned. Thanks a lot.
Please Log in or Create an account to join the conversation.
Time to create page: 0.062 seconds