Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Main site & gallery on one page?  (Read 5171 times)

0 Members and 1 Guest are viewing this topic.

avatarlab

  • Coppermine newbie
  • Offline Offline
  • Gender: Female
  • Posts: 9
    • :: the avatar lab ::
Main site & gallery on one page?
« on: July 04, 2004, 12:17:57 am »

I'm very new to PHP and just need a few pointers to get me going in the right direction.

I'd like :: this page :: which is the main site, to also include the :: avatar gallery ::, when the 'gallery' link is clicked. It should show up where the 'welcome' section is situated now.

I do not want the huge heading graphics from the gallery page.

Also the gallery navigation will be replaced by text only links to be included in the 'header' section of the main site.

This is a struggle for me to get hold of, I have a PHP book sitting here in front of me but I still can't understand 'how to' do this.


Help, opinions, please?
reality.failure - the avatarlab.net
Logged
visit :: the avatar lab :: for custom made avatars and icons

DaMysterious

  • Contributor
  • Coppermine frequent poster
  • ***
  • Country: nl
  • Offline Offline
  • Gender: Male
  • Posts: 404
  • My CPG Recources
    • My CPG Recources
Re: Main site & gallery on one page?
« Reply #1 on: July 04, 2004, 12:36:10 am »

I'm very new to PHP and just need a few pointers to get me going in the right direction.

I'd like :: this page :: which is the main site, to also include the :: avatar gallery ::, when the 'gallery' link is clicked. It should show up where the 'welcome' section is situated now.

I do not want the huge heading graphics from the gallery page.

Also the gallery navigation will be replaced by text only links to be included in the 'header' section of the main site.

This is a struggle for me to get hold of, I have a PHP book sitting here in front of me but I still can't understand 'how to' do this.


Help, opinions, please?
reality.failure - the avatarlab.net

Maybe you like to begin at this point without any knowledge of php ;). Rename and copy the content from theme 'Classic' to themes/your_name. Save the content below into template.html. and replace the file in themes/your_name.

Code: [Select]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<!-- saved from url=(0024)http://theavatarlab.net/ -->
<HTML xmlns="http://www.w3.org/1999/xhtml"><HEAD><TITLE>the avatar lab</TITLE>
<META http-equiv=Content-Type content="text/html; charset=utf-8">
<STYLE type=text/css media=screen>@import url( http://theavatarlab.net/gallery/themes/project_vii/css2.css );
</STYLE>

<META content="MSHTML 6.00.3790.118" name=GENERATOR></HEAD>
<BODY><!---BEGIN CHANGABLE CONTENT---><!---Script 8.2 - header.html--->
<DIV id=Header><A title="the avatar lab ?? home ??"
href="http://theavatarlab.net/">the avatar lab ?? home ??</A></DIV>
<DIV id=Content align="center">
 
  <table width="100%" border="0" cellspacing="0" cellpadding="0">
                       <tr>
                                <td><a href="index.php"><img src="themes/classic/images/site_logo.png" alt="" border="0" /><br /></a></td>
                                <td width="100%" align="center">
                                        <h1>{GAL_NAME}</h1>
                                        <h3>{GAL_DESCRIPTION}</h3><br />
                                        {MAIN_MENU}
                                </td>
                        </tr>
                </table>
                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                  <td align="center" valign="top">{LANGUAGE_SELECT_FLAGS}</td></tr>
                 <tr> <td align="center" valign="top">{LANGUAGE_SELECT_LIST}
                  {THEME_SELECT_LIST}</td>
                  </tr>
                </table>
                <img src="images/spacer.gif" width="1" height="15" /><br />
                <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
                        <tr>
                                <td align="center" valign="top">
                                        {ADMIN_MENU}
                                        {GALLERY}
                                </td>
                        </tr>
                </table>
</DIV>
<!---END CHANGABLE CONTENT--->
<DIV id=Menu><A title=gallery href="http://theavatarlab.net/gallery/">avatar
galleries</A><BR><A title=weblog href="http://theavatarlab.net/weblog/">website
news &amp; updates</A><BR><A title=forum
href="http://theavatarlab.net/forum/">web forum &amp; resources</A><BR><A
title=links href="http://theavatarlab.net/links/">links to avatar
sites</A><BR><BR>
<TABLE cellSpacing=0 cellPadding=0 border=0>
  <TBODY>
  <TR>
    <TD><IFRAME
      style="BORDER-RIGHT: #ababab 1px solid; BORDER-TOP: #ababab 1px solid; BORDER-LEFT: #ababab 1px solid; BORDER-BOTTOM: #ababab 1px solid"
      name=cboxmain marginWidth=2 marginHeight=2
      src="the avatar lab_bestanden/box" frameBorder=0 width=160 scrolling=yes
      height=225 allowTransparency></IFRAME></TD></TR>
  <TR>
    <TD><IFRAME
      style="BORDER-RIGHT: #ababab 1px solid; BORDER-TOP: #ababab 0px solid; BORDER-LEFT: #ababab 1px solid; BORDER-BOTTOM: #ababab 1px solid"
      name=cboxform marginWidth=2 marginHeight=2
      src="C:\Zip\the avatar lab_bestanden\box(1).3]" frameBorder=0 width=160
      scrolling=no height=75
allowTransparency></IFRAME></TD></TR></TBODY></TABLE></DIV><!---layout ~ bluerobot.com / shoutbox ~ cbox.co.za / gallery ~ coppermine.sf.net---><!---Script 8.3 - footer.html---></BODY></HTML>
« Last Edit: July 04, 2004, 12:46:34 am by DaMysterious »
Logged
DaMysterious.

avatarlab

  • Coppermine newbie
  • Offline Offline
  • Gender: Female
  • Posts: 9
    • :: the avatar lab ::
Re: Main site & gallery on one page?
« Reply #2 on: July 04, 2004, 03:03:15 am »

 :o

THANKS!!!  :D
Logged
visit :: the avatar lab :: for custom made avatars and icons

Filigree

  • Coppermine newbie
  • Offline Offline
  • Posts: 19
Re: Main site & gallery on one page?
« Reply #3 on: July 17, 2004, 12:05:05 am »

I'm wondering exactly what was changed from the original.  I, too, would like to incorporate coppermine into an existing layout. 
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Main site & gallery on one page?
« Reply #4 on: July 17, 2004, 09:59:15 am »

basically, <iframe> was used, which doesn't make it a true integration, but offers all disadvantages frames have.

GauGau
Logged

Filigree

  • Coppermine newbie
  • Offline Offline
  • Posts: 19
Re: Main site & gallery on one page?
« Reply #5 on: July 17, 2004, 01:49:15 pm »

Wow, that sounds worthwhile!!  Oh my.

Thanks Gau Gau.
Logged

avatarlab

  • Coppermine newbie
  • Offline Offline
  • Gender: Female
  • Posts: 9
    • :: the avatar lab ::
Re: Main site & gallery on one page?
« Reply #6 on: July 17, 2004, 08:20:50 pm »

basically, <iframe> was used, which doesn't make it a true integration, but offers all disadvantages frames have.
Disadvantages?
Logged
visit :: the avatar lab :: for custom made avatars and icons

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Main site & gallery on one page?
« Reply #7 on: July 18, 2004, 08:45:30 am »

You want me to post the disadvantages of frames? OK, from the back of my mind (incomplete list):
- not bookmarkable
- not search engine friendly
- user coming from a search engine will only see the content of the iframe, not your surrounding page
- ugly scroll bars on the page
- will not work in all browsers
- frame/iframe needs a fixed width, if the content is larger, the page will appear cropped
- litlle control over what others will link to

GauGau
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 20 queries.