Problem with g2 RC1 theme customization

unai_goiko

Joined: 2005-06-20
Posts: 2
Posted: Thu, 2005-08-11 13:06

Hello there! Ive just upgraded to G2 RC1, and im making some theme customization. I use G2 inside wordpress using the wpg2 plugin for wp by ozgreg.

I'm trying to add a link just below the thumbnails of the album pictures for allowing users to add the item to the cart. I wan that option to appear just in the simple mode; in the detail mode the ItemLinks will appear.

This is the part of the code i have:

{if ($theme.detailMode)}
	                {g->block type="core.ItemLinks" item=$child links=$child.itemLinks}
		{else}
			{*Here is where i have to put the "add picture to cart" link*}
		{/if}

I need to know what to add inside the else to show the "add picture to cart" link, thanks.

Appart from that, I have a problem with the navi menu of the botton of the page when having mor than 2 pages of pictures in an album. Here you can see the problem:

http://www.goikoetxeta.com/wp-gallery2.php?g2_view=core.ShowItem&g2_itemId=459&g2_page=5&g2_GALLERYSID=1e8258ed56cd81dadf8e41347d25074d

(the next, and last links are in a wrong place)

Thanks a lot,

Unai