Adding Content to Gallery main page Adding Content to Gallery main page
 

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

Adding Content to Gallery main page

Started by Jaero, March 04, 2004, 07:58:05 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Jaero

[size=9]Forgive me for I don't know PHP well, and I'm sorry if this has been discussed at length before (my forum search didn't find the answer I seek).[/size]

In the demo, there is an "About this Demo" table below "Last Additions". I'm curious how to do that (again, I'm not too familiar with PHP).

I'm making a Fan Art & Fiction Gallery (no, I've not yet found a manager to handle text-based documents) - which is still under contruction (go past the front page and the CSS gets ugly). However, the template I made for our galleries is a bit different. The introduction & 'featured artist' tables, as well as the guidelines table at the bottom, I was only able to add to the CPG gallery in template.html - but this made the tables show up in every single page of the gallery (== bad). I want the tables to show up only on the main gallery page, just as the 'about' table in the Demo does.

Also, in template.html, I framed the gallery to match the site's layout - and this also frames every thing on every page - which would be fine, but then the "Powered by CPG" footer is framed as well, and screws things up a bit.


Any help here would be incredibly appreciated. I would ask our Warcry network coders to help me, but you folks naturally know the software much better.

Again, please forgive my lack of knowledge of this code.


[size=9]PS. I've seen it mentioned, but could someone direct me to a thread regarding adding a "Last Addition" thumbnail to another part of the site? I want to add a "most recent submission" to the right sidebar of my site.[/size]
Jaero - jaero@warcry.com
Site Manager - ME Warcry
http://me.warcry.com

Joachim Müller

Quote from: "Jaero"In the demo, there is an "About this Demo" table below "Last Additions". I'm curious how to do that (again, I'm not too familiar with PHP).
http://coppermine.sourceforge.net/demo/docs/index.htm#changing - anycontent

Quote from: "Jaero"I've seen it mentioned, but could someone direct me to a thread regarding adding a "Last Addition" thumbnail to another part of the site? I want to add a "most recent submission" to the right sidebar of my site.
http://forum.coppermine-gallery.net/index.php?topic=2960
http://forum.coppermine-gallery.net/index.php?topic=625

I'm not sure what you want to say with the rest of your posting. Although I appreciate you trying to give much detail, I don't understand what your actual question is.

GauGau

P.S. Next time, please do only post one question per thread...

Jaero

Thanks for your reply gaugau. Clearly my title "Coppermine newbie" is accurate. I thought I had checked the documentation before posting this, but perhaps I was wrong.

I think I can explain it in a less confusing way now. If I included the "anycontent" - that would suit my needs for adding something beneath the gallery. However, is there any way I could add something in the same way above the gallery in addition to that?
Jaero - jaero@warcry.com
Site Manager - ME Warcry
http://me.warcry.com

hyperion

"Then, Fletch," that bright creature said to him, and the voice was very kind, "let's begin with level flight . . . ."

-Richard Bach, Jonathan Livingston Seagull

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.mozilla.org%2Fproducts%2Ffirefox%2Fbuttons%2Fgetfirefox_small.png&hash=9f6d645801cbc882a52f0ee76cfeda02625fc537)

Jaero

When I try this (exactly what is said) - I get
QuoteParse error: parse error, expecting `']'' in /home/web/me/content/fanart/index.php on line 92
Jaero - jaero@warcry.com
Site Manager - ME Warcry
http://me.warcry.com

Casper

If thatbdidn't work, try using the custom header/ custom footer instructions in the faq, here http://coppermine.sourceforge.net/faq.php?q=customHeader#customHeader.
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

Jaero

I tried that as well, and got errors in both index.php and theme.php - I added some new code to get it to work - but that's now what I want. I DON'T want something that will add the header/footer to every page.
Jaero - jaero@warcry.com
Site Manager - ME Warcry
http://me.warcry.com