{SYS_MENU} and{SUB_MENU} placement {SYS_MENU} and{SUB_MENU} placement
 

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

Main Menu

{SYS_MENU} and{SUB_MENU} placement

Started by cristele, August 24, 2006, 09:04:56 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

cristele

Hi there!
I thought the thread Title and Caption Placement was the same issue but although it's the same question it's not the same issue! So here is mine:

So basically in my template I have this:
template.html

<body>
      {CUSTOM_HEADER} {SYS_MENU}<br />{SUB_MENU}
          {ADMIN_MENU}
              {GALLERY}
  {CUSTOM_FOOTER}{VANITY}
</body>

(for info my template is just a copy of the "Sample" template that I simplified)
Then, I'm using an iframe to display the slideshow of the album in another HTML page:
myOtherPage.html

  <div id="pageName">
    <iframe src="http://localhost/Coppermine/cpg148/displayimage.php?album=1&pid=2&slideshow=6000" width="60%" height="600" align="left"></iframe>
  </div>

and I obtain on my page: login/login[guest] (because I removed all the buttons but these ones), admin buttons if I'm logged as an admin, the slideshow

but when i simply try to put
{SYS_MENU}<br />{SUB_MENU}
after
          {ADMIN_MENU}
              {GALLERY}
like so:
<body>
      {CUSTOM_HEADER}           {ADMIN_MENU}
              {GALLERY}
{SYS_MENU}<br />{SUB_MENU}

  {CUSTOM_FOOTER}{VANITY}
</body>
(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fsrc%3D%26quot%3Bhttp%3A%2F%2Fcristele.ifrance.com%2Fresult1.jpg%26quot%3B&hash=b275b3c3c22e2e4f38f923130821c93f78c75c57)

I obtain: the slideshow and {SYS_MENU}<br />{SUB_MENU} written as-is in my iframe, I dont have Login and login[guest]anymore...
(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fsrc%3D%26quot%3Bhttp%3A%2F%2Fcristele.ifrance.com%2Fresult2.jpg%26quot%3B&hash=274fcc7d60c14923ddf3a42f15fdb37165f36e04)

For now I'm working on localhost but you can see 2 snapshots: <a href="http://cristele.ifrance.com/">http://cristele.ifrance.com/</a>


Cheers!
cristele


(PS: the Preview on the new topic doesnt seem to work so I'll post it as-is, sorry I dont know how it will look like :) ) ???

Joachim Müller

Think of the {GALLERY}-token as a placeholder. Stuff that comes befire it must be defined in your theme's pageheader function, stuff that comes below it in the pagefooter function. If you move the menus that usually come before the {GALLERY}-token into a section beneath it (source-code wise), you'll have to edit your themes' pageheader and pagefooter functions and edit them accordingly. This has been asked before, please search the board for details.

cristele