Add "Print" to Siriux Theme
gregmills
Joined: 2007-10-02
Posts: 6 |
![]() |
I've been working on this problem for a week. I guess I don't know enough about PHP to figure it out on my own. I have a gallery site where I am using the Digibug service for ordering prints. In the Matrix theme there is a button in the sidebar on the photo page that says "Print to Digibug." If I switch to the Siriux theme that button does not appear. The site's layout is based on Siriux so I really need to move this one button into the photo page on the Siriux theme. Any suggestions? |
|
floridave
![]()
Joined: 2003-12-22
Posts: 27300 |
![]() |
Siriux does not have a sidebar. You can add 'item actions' to the photo page. Edit album theme tab 'blocks to show on photo page'. Dave _____________________________________________ |
|
gregmills
Joined: 2007-10-02
Posts: 6 |
![]() |
Thanks, That works but it's not very intuitive from my customer's point of view. Is there anyway I can modify the code in photo.tpl so that I can place a simple "Print to Digibug" link on the page? |
|
floridave
![]()
Joined: 2003-12-22
Posts: 27300 |
![]() |
I don't have a digibug account so cant realy test but try: <a href="{g->url arg1="view=digibug.DigibugPrintPhotos" arg2="itemId=`$theme.item.id`" forceFullUrl=true forceSessionId=true}">print with digibig</a> If not then I will have to set up an account ( is it free? ) or can you PM me your 'Digibug Company ID' and 'event ID'. Dave |
|
gregmills
Joined: 2007-10-02
Posts: 6 |
![]() |
That looks like what I'm going for but I get an error when I click it. Quote:
Authentication Failure I did try logging out and logging back in on two different acounts but it still didn't work. Digibug is free but I don't mind PMing you my information if it would help. Thanks a lot! |
|
floridave
![]()
Joined: 2003-12-22
Posts: 27300 |
![]() |
try: Dave |
|
gregmills
Joined: 2007-10-02
Posts: 6 |
![]() |
I really appreciate this. I got a different error this time. Quote:
Security Violation Your previous tip about the "Item Actions" might work out. I found out I can switch that display from a drop down list to regular links. When I'm logged in as a guest all they see is the "print on Digibug" link. I'd rather be able to move the link around anywhere I want it in the template, but I think this will work. |
|
floridave
![]()
Joined: 2003-12-22
Posts: 27300 |
![]() |
OK looks like we are close. Just complaining about the return url now. let me dig. Dave |
|
floridave
![]()
Joined: 2003-12-22
Posts: 27300 |
![]() |
Dave |
|
gregmills
Joined: 2007-10-02
Posts: 6 |
![]() |
That's the one. It works flawlessly now. Thanks for everything! |
|