商品一覧と商品詳細ページのテンプレートを変える

  • Posts: 15
  • Thank you received: 0
10 years 9 months ago #109884

お世話になります。

Menuで作成したProduct listingから商品詳細ページにジャンプするようにすると、Product listingのテンプレートが商品詳細ページでも使われますが、商品詳細ページにProduct listingとは別のテンプレート(同じテンプレートの別ページ用の設定)を適応する方法はありますか。

MenuとしてProductページを一つ一つの商品で作ればそれぞれのテンプレート設定を適応させられる事は分かりますが、それらを作らずに、Product listingからジャンプした先の商品詳細ページに別設定のテンプレートを適応させる(全ての商品で同じテンプレートを適応させる)ことは出来るのでしょうか。

以上、よろしくお願いします。

Last edit: 10 years 9 months ago by mami.

Please Log in or Create an account to join the conversation.

  • Posts: 81361
  • Thank you received: 13036
  • MODERATOR
10 years 9 months ago #109940

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.

Please Log in or Create an account to join the conversation.

  • Posts: 15
  • Thank you received: 0
10 years 9 months ago #109962

Hi,

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.061 seconds
Powered by Kunena Forum