CSS like EE Gallery
Posted: 28 April 2008 11:57 AM   [ Ignore ]
Newbie
Rank
Total Posts:  11
Joined  2007-02-11

Hi all.

I am trying to use this: offset="2", (any number) but it is not working. It is not supported?

Question 2.

Is there anyway that I can use this?

{entries} {row_start} 
  
<tr>{/row_start} {row} ...........{code}....................  {/row} {row_blank} 
 
<td>&nbsp;</td>
 
{/row_blank} {row_end}</tr>
  
{/row_end} {/entries}

I wish to have many photos in rows of 5. Any help will be much appreciate.

Thank you for helping.

Profile
 
 
Posted: 28 April 2008 01:54 PM   [ Ignore ]   [ # 1 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  2732
Joined  2006-10-18

The offset parameter is not yet supported with GX2.

As for everything else, because GX2 bases itself off of the native EE Photo Gallery, you can use the native EE Photo Gallery loop to display GX2 entries:
Photo Gallery Documentation smile

 Signature 
Profile
 
 
Posted: 28 April 2008 10:05 PM   [ Ignore ]   [ # 2 ]
Newbie
Rank
Total Posts:  11
Joined  2007-02-11

{exp:gallery_extended:entries gallery="{gallery_name}" author_id="2" limit="10" columns="5" rows="2"}  
{entries}
{row_start}
<tr>{/row_start}
{row}
<td>
<
a href="{id_path=gallery/comments}"><img src="{thumb_url}" width="{thumb_width}" height="{thumb_height}" alt="{title}" /></a>
</
td>
{/row}
{row_end}
</tr>{/row_end}
{
/entries}
{
/exp:gallery_extended:entries}

This should be working but I get only:

{entries} {row_start}
{/row_start} {row} {/row} {row_end}
{/row_end} {/entries} {entries} {row_start} {/row_start} {row} {/row} {row_end}
{/row_end} {/entries} {entries} {row_start} {/row_start} {row} {/row} {row_end}
{/row_end} {/entries} {entries} {row_start} {/row_start} {row} {/row} {row_end}
{/row_end} {/entries} {entries} {row_start} {/row_start} {row} {/row} {row_end}
{/row_end} {/entries} {entries} {row_start} {/row_start} {row} {/row} {row_end}
{/row_end} {/entries} {entries} {row_start} {/row_start} {row} {/row} {row_end}
{/row_end} {/entries} {entries} {row_start} {/row_start} {row} {/row} {row_end}
{/row_end} {/entries} {entries} {row_start} {/row_start} {row} {/row} {row_end}
{/row_end} {/entries} {entries} {row_start} {/row_start} {row} {/row} {row_end}
{/row_end} {/entries}

Any help?

Profile
 
 
Posted: 29 April 2008 07:19 AM   [ Ignore ]   [ # 3 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  2732
Joined  2006-10-18

Correct.... GX2 does not support those variable pairs…

Try using the native EE loop:

{exp:gallery:entries gallery="{gallery_name}" author_id="2" limit="10" columns="5" rows="2"}  
{entries}
{row_start}
<tr>{/row_start}
{row}
<td>
<
a href="{id_path=gallery/comments}"><img src="{thumb_url}" width="{thumb_width}" height="{thumb_height}" alt="{title}" /></a>
</
td>
{/row}
{row_end}
</tr>{/row_end}
{
/entries}
{
/exp:gallery:entries}

Notice: exp:gallery_extended:entries to exp:gallery:entries smile

 Signature 
Profile
 
 
Posted: 30 April 2008 11:28 AM   [ Ignore ]   [ # 4 ]
Newbie
Rank
Total Posts:  11
Joined  2007-02-11

Hi Pie Man.

It dosen’t work. It seems that author_id="2" variable is not accepted in ee gallery.

Any other way to doit?

Profile
 
 
Posted: 30 April 2008 02:12 PM   [ Ignore ]   [ # 5 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  2732
Joined  2006-10-18

I guess you could alternatively try this: (using exp:gallery_extended:entries)

<table width="593" border="0" cellspacing="0" cellpadding="10"><tr>
{exp:gallery_extended:entries gallery="{gallery_name}" author_id="2"}  
<td>
<
a href="{id_path=gallery/comments}"><img src="{thumb_url}" width="{thumb_width}" height="{thumb_height}" alt="{title}" /></a>
</
td>
{if count == "5"}</tr><tr>{/if} 
{if count 
== "10"}</tr><tr>{/if} 
{if count 
== "15"}</tr><tr>{/if} 
{if count 
== "20"}</tr><tr>{/if} 
{
/exp:gallery_extended:entries}
</tr></table>

It works with weblog:entries, but see how it goes here LOL

 Signature 
Profile
 
 
Posted: 01 May 2008 12:22 AM   [ Ignore ]   [ # 6 ]
Newbie
Rank
Total Posts:  11
Joined  2007-02-11

Hi and thanx for your efforts.

No it is not working.....

Profile
 
 
Posted: 01 May 2008 03:29 AM   [ Ignore ]   [ # 7 ]
Newbie
Rank
Total Posts:  11
Joined  2007-02-11

{paginate}
<div class="paginate">
<span class="pagecount">Page {current_page} of {total_pages} pages</span> {pagination_links}
</div>
{/paginate}

Is not working also.

Anyway to have it into my page working? (It is very important for my client)

Profile
 
 
Posted: 01 May 2008 06:34 AM   [ Ignore ]   [ # 8 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  2732
Joined  2006-10-18

jostar,

Unfortunately, these are unavailable. The closest you can get to this is the Native EE Photo Gallery loop, but it does not have the Author ID parameter.
As for GX2 Entries loop shortfalls, I’ve added them as Feature Requests.

I apologize for the inconvenience red face

If you need a refund, please let me know: kelsey AT solspace.com

 Signature 
Profile
 
 
Posted: 01 May 2008 06:56 AM   [ Ignore ]   [ # 9 ]
Newbie
Rank
Total Posts:  11
Joined  2007-02-11

Hi Pieman, and once more thanx a lot.

The problem is not the money my friend. The problem is that i wish to d my work. Anyway you have tried to help as much as possible. If you mangae to include some more variables into your script it will be a trreasure for all EE users.

Keep me and all of us informed.

Take care.

Profile
 
 
Posted: 01 May 2008 07:00 AM   [ Ignore ]   [ # 10 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  2732
Joined  2006-10-18

jostar,

I will definately let you know when such features are available.

In the meantime, if it’s really urgent, and your budget allows for it, we can always do some custom development.
Just send me an PM if interested smile

 Signature 
Profile
 
 
Posted: 02 May 2008 08:52 AM   [ Ignore ]   [ # 11 ]
Newbie
Rank
Total Posts:  11
Joined  2007-02-11

Thanx one more. I will wait for the news....

Profile
 
 
Posted: 14 May 2008 08:49 AM   [ Ignore ]   [ # 12 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  2732
Joined  2006-10-18

jostar,

We’ve now added the {count} and {total_count} variables to the latest version of GX2 smile

 Signature 
Profile