Go Back   Novahq.net Forum > phphq.Net > phphq.Net Forums
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 07-02-2007, 08:39 AM
katana*GFR* is offline katana*GFR*

Join Date: May 2002
Location: North Sea
Posts: 2,421

Send a message via ICQ to katana*GFR* Send a message via MSN to katana*GFR*
Include some php into existing template

I have a very nice neat template, made by Scott and Steve ( thanks again guys! )
But now i want to add some stuff into it:



For the picture's i want to use phMyalbum, from phphq.net ( Yes Scot, your credits link will get hardcoded in to the template. )
For the video's i think im going to make a youtube account.. Unless there is a script availeble that does the same as phMyalbum..

How would i go off when i just want text in the big square? Iframe that reads a file to show the text? Or php array's?
Im still so new to this...
__________________
<- Sponsored by Chris



Found on Youtube:
Quote:
And if Newton Faulkner's voice can be described as "R&B" then Kurt Cobain must be a member of Boyz II Men.
Link here
Reply With Quote
  #2  
Old 07-02-2007, 12:45 PM
Scott is offline Scott
Scott's Avatar
AKA. Panther

Join Date: Sep 2001
Location: Minneapolis, MN
Posts: 10,922

If you want, lets say my phalbum to display in the content area via Iframe, in your template set your iframe to the phalbum.php file. You may or may not need to change links in the php file. if you do, you need to set the anchor targets, example <a href="url" target="iframe_name">Link</a>. On the folders and the breadcrumb links.
__________________

04' Dodge SRT-4, Mopar Stage 3, 406whp/436wtq
Reply With Quote
  #3  
Old 07-02-2007, 02:12 PM
katana*GFR* is offline katana*GFR*

Join Date: May 2002
Location: North Sea
Posts: 2,421

Send a message via ICQ to katana*GFR* Send a message via MSN to katana*GFR*
mmhh okay.. Sounds like something im gonna try.. Thanks Scott for pointing me.
__________________
<- Sponsored by Chris



Found on Youtube:
Quote:
And if Newton Faulkner's voice can be described as "R&B" then Kurt Cobain must be a member of Boyz II Men.
Link here
Reply With Quote
  #4  
Old 07-03-2007, 02:32 PM
katana*GFR* is offline katana*GFR*

Join Date: May 2002
Location: North Sea
Posts: 2,421

Send a message via ICQ to katana*GFR* Send a message via MSN to katana*GFR*
Got it somewhat working Scott.
i made a named Iframe, and made sure the link would open in that..

Code:
<a href="album/album.php?album=Oude_Fotos/" target="stuf"><img src="album/album/Oude_Fotos/004_thumb.jpg" width="92" height="90" border="0"></a>
Im only stuck with 2 problems...

namely, the size of the Iframe in IE and the placement of the site in FireFox..

IE error:


FireFox error:


Do you know what could be causing this?
I do not mind the FireFox error that much, because its showing good, only on the left side.



i still need to update most links also, but thats WIP, and easy sinc ei got the iframe working.
__________________
<- Sponsored by Chris



Found on Youtube:
Quote:
And if Newton Faulkner's voice can be described as "R&B" then Kurt Cobain must be a member of Boyz II Men.
Link here
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Worlds oldest existing unit in active service SilentTrigger General Chat 1 07-30-2006 04:02 AM
How do I change an existing sp mission from DFX? Darksniper75 Delta Force 1 06-09-2005 08:35 PM
Cant use php include in a good way... Guest phphq.Net Forums 7 02-02-2005 01:05 PM
new template Recon Sigs and Graphics 7 01-26-2005 01:18 PM
PHP-NUKE and PHP ~BLÃÐE~ phphq.Net Forums 9 01-19-2005 06:49 AM


All times are GMT -5. The time now is 05:48 AM.




Powered by vBulletin®