5 replies [Last post]
larowlan's picture
Offline
Joined: 08/10/2008
Juice: 83
Was this information Helpful?

Hi
IS there a way I can add the catalog page (http://mysite/catalog) to a panel. I cannot see the catalog page as a view or a block. I would like to create a block that just contains this catalog page. Can you please point me towards the function which renders this catalog.
Thanks in Advance

torgosPizza's picture
Offline
Bug FinderEarly adopter... addicted to alphas.Getting busy with the Ubercode.
Joined: 08/14/2007
Juice: 4110
Re: Add catalog page (/catalog) to a panel

I don't think it creates a Block, but you can easily create a new View that displays your catalogue and also generates a block automatically (as well as a [more] link that takes you to the actual View's page).

--
Help directly fund development: Donate via PayPal!

skill83's picture
Offline
Joined: 06/11/2009
Juice: 2
torgosPizza wrote:I don't
torgosPizza wrote:

I don't think it creates a Block, but you can easily create a new View that displays your catalogue and also generates a block automatically (as well as a [more] link that takes you to the actual View's page).

I want to do exactly this! how can i do it????

torgosPizza's picture
Offline
Bug FinderEarly adopter... addicted to alphas.Getting busy with the Ubercode.
Joined: 08/14/2007
Juice: 4110
skill83 wrote:torgosPizza
skill83 wrote:
torgosPizza wrote:

I don't think it creates a Block, but you can easily create a new View that displays your catalogue and also generates a block automatically (as well as a [more] link that takes you to the actual View's page).

I want to do exactly this! how can i do it????

It's all part of the Views module. Create a new View, and add the "Block" view (you can also create a Page that will show the same information). Add the filters and sorting that you want. (Enable the Views UI module and then go to admin/build/views).

Once you've created your View and saved the block, you can go to admin/build/block and choose where to show your Block.

This is basic Views and Drupal blocks stuff... it's a little complex but not super hard to learn. Good luck!

--
Help directly fund development: Donate via PayPal!

goodeit's picture
Offline
Joined: 05/28/2008
Juice: 322
Re: Add catalog page (/catalog) to a panel

You could also try the "visual catalog" block of uc_marketing, which I believe is very close to a clone of the original catalog in block form.

http://drupal.org/project/uc_marketing

philsward's picture
Offline
Joined: 09/15/2007
Juice: 120
There's a Module For That

Take a look at the thread: http://drupal.org/node/658732, and more specifically the comment: http://drupal.org/node/658732#comment-5420372 which has an alpha module which will do exactly this along with pulling in other much needed data from Ubercart into Panels.