PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > PhotoPost Pro Support Forums > Photopost Pro How Do I...?

Photopost Pro How Do I...? Wondering how to do things in PhotoPost?

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old April 8th, 2009, 07:48 AM   #1 (permalink)
Member
Verified Customer
 
Join Date: Nov 2004
Posts: 32
Category structure I can't figure out

Hey Chuck,

Can you tell me how this site is workign their structure out. I'm assuming this is some custom index page they made: Stampin Up! Gallery: Cards, Card Ideas, Samples & More - Splitcoaststampers

When you select a category: Stampin Up! Gallery: C to D - Cool Cat & More - Splitcoaststampers and then select a sub category: Stampin Up! Gallery: Calendar - Cards & More - Splitcoaststampers

You get a structure like this (I guess thisare the breadcrumb navigation):
Home » C-D Stampin' Up! Sets » Calendar Cards & More

For the life of me I can't figure out how to do this without making a top level category for "C-D Stampin' Up! Sets" (et al) to live in thus adding an extra level. I'm probably missing something stupid.


I'm also wondering if there is a way to add sortable fields. I'm already using the extra fields, so I'm thinking I'd have to add some code to do this but basically what I want is a 7th field that denotes an albums (or sub-cat I guess) status (ie: active, retired, etc) and then have that a searchable ro sortable field. That make sense? Any options you can think of, maybe a mod or something? Thanks
crazy4bass is offline   Reply With Quote
Old April 8th, 2009, 08:47 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,941
Splitcoaststampers Gallery - Main Index

There site is a customized older photopost but the category stuff nothing looks out of place

Stampin Up! Gallery: Calming Garden - Cards & More - Splitcoaststampers

A normal photopost breadcrumb looks like that

Role-Playing - PhotoPost Photo Gallery

So any photopost works like that just making top level cats and subcats etc.

The only sortable and searchable fields are the first 6 extra fields that exist in the photos and category tables.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old April 8th, 2009, 09:49 AM   #3 (permalink)
Member
Verified Customer
 
Join Date: Nov 2004
Posts: 32
ok, I'll play with my structure some more.

Here's another one for you. In what file is the query that builds $cat (I think that's right). If I understand correctly, using VB Integration PP Pro doesn't make use of the headtags field, so I could actually use that field to control a template condition. However, I'm not finding the query that grabs the category info. Basically I want to do something like this in a template:

Code:
Content visible to verified customers only.
A bit overly simplistic but you get the idea and assume that field isn't being used with VB.

Thanks
crazy4bass is offline   Reply With Quote
Old April 8th, 2009, 10:11 AM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,941
Not really sure what your asking? $cat is a variable used in many files. $cats array which displays category info on the index is controlled by the function catrow in pp-inc.php
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old April 8th, 2009, 10:26 AM   #5 (permalink)
Member
Verified Customer
 
Join Date: Nov 2004
Posts: 32
ok, in the vb3enhanced template categories.tmpl if you view the $cats array has a key structure like this:
(numphotos,numposts,catthumbs,dodetails,indent,thumbtag,avatar,catdescript,
lpholink,lpprint,lastposttext,lastphotext,lpostlink,lcprint,catonline,mthumb,width,
height,id,thumbnail,thumblink,catlink,catcount)
which is the array being used to build the category table.

I want to know where this is built (cause I can't find it). Basically I want to add headtags to this array so it's available in the template.
crazy4bass is offline   Reply With Quote
Old April 8th, 2009, 04:02 PM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,941
I already answered this in my last post where $cats is built. You would use code already present like CatPerms will return the headtags for a cat.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Admin Category Structure like PP SteveSteve ReviewPost Suggestions 0 January 13th, 2006 03:38 PM
Figure out what stylesheet I am using ~Jo Photopost Pro How Do I...? 7 December 17th, 2005 07:23 PM
BUG IN 1.0.0-Please choose a category-parent category / structure not being displayed vissa Installs and Upgrade - vBulletin 3.0.X 13 July 14th, 2005 06:44 PM
Can't figure out ImageMagick thedigichick Photopost Pro Installation & Upgrades 1 September 18th, 2004 03:55 PM
Classifieds: Category Structure Question Ted S Before You Buy 1 August 24th, 2004 03:46 PM


All times are GMT -5. The time now is 08:36 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0