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 1st, 2005, 03:13 PM   #1 (permalink)
Member
Verified Customer
 
Join Date: Mar 2005
Posts: 41
layout change

I need to put a table around the main reviewpost table area, the table that displays the catagories listing, and product showing, etc. I need to do this to customize the layout to include my own menus at the side which I have been unsuccessfull at including via the custompal templates (they contain php code, and I keep getting errors) and also for advertising. What I'm hoping to achieve is something like:

<table>
<tr>
<td>my stuff in here</td>
<td>reviewpost table here</td>

</tr>

</table>

I have disabled both of the top two menu bars for various reasons. I was thinking that I just need to find where to place my opening tags somewhere, and my ending </td></tr></table> tags can go in the printfooter() function in the pp-inc file. I just can't find in the code where the header ends and the first <table> tags is before the catagories.tmpl file. Does that make any sense?

Last edited by Ginger2; April 1st, 2005 at 03:22 PM.
Ginger2 is offline   Reply With Quote
Old April 1st, 2005, 03:19 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,794
You can place php code in the templates provided you do it right echoing and printing where needed here is a sample custompal example

Notice you have to ppprint; the html code to escape html and get back to php and then echo <<<PPPRINT to get printing the final closing html

Code:
Content visible to verified customers only.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.

Last edited by Chuck S; April 1st, 2005 at 09:21 PM.
Chuck S is offline   Reply With Quote
Old April 1st, 2005, 06:12 PM   #3 (permalink)
Member
Verified Customer
 
Join Date: Mar 2005
Posts: 41
yes, however the php is in a link, and I keep getting an error. I've tried:

<a href="PPPRINT; echo $profileurltext . $userdata['user_id']; echo<<<PPPRINT" class="menu">

I'm guessing that's not what you meant tho. I can't get that link to work.
Ginger2 is offline   Reply With Quote
Old April 1st, 2005, 06:37 PM   #4 (permalink)
Member
Verified Customer
 
Join Date: Mar 2005
Posts: 41
funny, this is the output I'm getting:

http://www.mytripreport.com/reviews/PPPRINT;%20echo%20http://www.mytripreport.com/forums/profile.php?mode=viewprofile&u=2;echo<<<PPPRINT

out of this code:

<td height="10" align="left" bgcolor="#CADCA7"><a href="
PPPRINT;
echo $profileurltext;

echo<<<PPPRINT
" class="menu">&nbsp;&nbsp;My Profile </a></td>


Can you help me with fixing this at all?

EDIT: sorry, forgot to add:
$user = $User['userid'];
$profileurltext = "http://www.mytripreport.com/forums/profile.php?mode=viewprofile&u=" . $user;

Last edited by Ginger2; April 1st, 2005 at 06:43 PM.
Ginger2 is offline   Reply With Quote
Old April 1st, 2005, 09:21 PM   #5 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,794
try the code above
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old April 1st, 2005, 10:53 PM   #6 (permalink)
Member
Verified Customer
 
Join Date: Mar 2005
Posts: 41
Quote:
Originally Posted by omegatron
try the code above
Okay, I get it! Thanks so much, that works great, I appreciate the quick response time very much.
Ginger2 is offline   Reply With Quote
Old April 1st, 2005, 11:05 PM   #7 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,794
You were just trying to get way too technical with it.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   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
Gallery Layout instead of forum layout? tyranny Before You Buy 2 October 20th, 2005 05:27 PM
layout advice.. jamzz ReviewPost Installation & Upgrades 1 September 27th, 2005 05:04 PM
Layout changes of ads snoopy5 Classifieds Suggestions 1 August 23rd, 2005 05:36 AM
HDI Change the layout of the gallery main page j1time How Do I? - vBulletin 3.0.X 2 August 7th, 2005 11:00 PM
changing layout iml How Do I? - vBulletin 3.0.X 4 February 1st, 2005 09:16 AM


All times are GMT -5. The time now is 10:24 AM.

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