Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: re: loading gallery page  (Read 8231 times)

0 Members and 1 Guest are viewing this topic.

brentmags

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 20
  • "go on - export yourself"
re: loading gallery page
« on: January 29, 2010, 03:32:46 am »

interestingly in the original post the cliche 2 steps forward and one back was mentioned. Today has been a process of applying that logic starting from the beginning with the 'original' template.html to make some inroads into this subject eventide raised

My gallery thus far

i realise if i did not have all the stuff up the top this problem would sort itself out but reading through the topic am i correct in assuming that
1) I install the plugin link_append before making any initial albums etc and uploading files OR
2) if the albums are already created before i install the plugin, i div tag {GALLERY} with div id <div id="someid">.
I believe mine could well be the column since i split the row {ADMIN_MENU} {GALLERY} up.
I had appropriately in the first few attempts named div 'monkey' but upon reading the code for eventide, either in theme.php.txt - template.html.txt or view source on his Kokos pet spa site, after installation of the plugin in either theme or template <div id="cpgContainer"><a id="galltop" /> could not be found

checked the sample template and theme.php if had <div id="cpgContainer"> - No apparent luck

concluding with if the plugin is installed what is the requirement or have i just plainly complicated it for myself? In an effort to make inroads i uninstall and reinstall the plugin to give the div id again assuming you can readily do this
Logged

Jeff Bailey

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1322
  • Fishing relaxes me.
    • Bailey Family Co.
Re: re: loading gallery page
« Reply #1 on: January 29, 2010, 03:59:11 am »

Logged
Thinking is the hardest work there is, which is probably the reason why so few engage in it. - Henry Ford

Jeff Bailey

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1322
  • Fishing relaxes me.
    • Bailey Family Co.
Re: re: loading gallery page
« Reply #2 on: January 29, 2010, 04:01:32 am »

Logged
Thinking is the hardest work there is, which is probably the reason why so few engage in it. - Henry Ford

brentmags

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 20
  • "go on - export yourself"
Re: re: loading gallery page
« Reply #3 on: January 29, 2010, 04:05:53 am »

aplogies Jeff...above the first  smiley i saw a hyperlink button and chose to use that on various words in my post...but none of them went blue so working on that aspect

http://wrenegadeevents.com/0wren/photo/index.php

i just noticed in my URL browser window #galltop in my index.php so will go hunting there for i am curious
Logged

brentmags

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 20
  • "go on - export yourself"
Re: re: loading gallery page
« Reply #4 on: January 29, 2010, 04:09:06 am »

yes correct on this link

are you talking about http://forum.coppermine-gallery.net/index.php/topic,62902.0.html ? it has been absorbing to say the least going through various steps
Logged

Jeff Bailey

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1322
  • Fishing relaxes me.
    • Bailey Family Co.
Re: re: loading gallery page
« Reply #5 on: January 29, 2010, 04:15:51 am »

Logged
Thinking is the hardest work there is, which is probably the reason why so few engage in it. - Henry Ford

brentmags

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 20
  • "go on - export yourself"
Re: re: loading gallery page
« Reply #6 on: January 29, 2010, 04:34:52 am »

my search was everything but the obvious "after the fact i might add" which leaves me a bit red faced - lucky a few continents btwn us for you the heat of my embarrassment

have just (i believe) done what that forum requested inserting "<div id="anyid"> into the plugin manager box before hitting 'done'.

uploaded the changed template.html and still not positive yet. Have attached a txt file if you don't mind of the template.html

i will uninstall the plugin and go back a few notches and try again

thank you Jeff for your help thus far
Logged

Jeff Bailey

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1322
  • Fishing relaxes me.
    • Bailey Family Co.
Re: re: loading gallery page
« Reply #7 on: January 29, 2010, 04:45:02 am »

Code: [Select]
<div id="<div id="anyid">
I guess my instuctions aren't very clear  :(
Code: [Select]
<div id="anyid">
is just an example

in your template.html
replace
Code: [Select]
<div id="<div id="anyid">
with
Code: [Select]
<div id="anyid">
anyid ... being whatever you want it to be... monkey(like you said before) or whatever else.
If you choose to keep it as anyid type anyid in the text field that asks what the div id is.

Unistall the plugin and delete the table entry(the plugin will ask if you want to delete it)
Start fresh.
Logged
Thinking is the hardest work there is, which is probably the reason why so few engage in it. - Henry Ford

brentmags

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 20
  • "go on - export yourself"
Re: re: loading gallery page
« Reply #8 on: January 29, 2010, 05:24:21 am »

Hi Jeff,
i am still working away on this and am wondering it there is a conflict with the <div id="shadow"> in my code OR if i am infact pathing it correctly when defining new css rules.

Your instructions are clear...think one forgets to look at all the detail

i will include a few pics for i have unintalled the plugin a number of times now starting fresh and redoing the wrap on the gallery but keeping the same name

just working towards seeing that magical #cpg_top in the URL browser window

Logged

Jeff Bailey

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1322
  • Fishing relaxes me.
    • Bailey Family Co.
Re: re: loading gallery page
« Reply #9 on: January 29, 2010, 05:41:17 am »

You shouldn't use WYSIWYG editors like dreamweaver when editing Coppermine files. Use Notepad or UltraEdit or take a look at Tools Recommend by the Devs.

Anyway,
  • You have a div with an id monkey ...and a div with the id shadow
  • use one of them and delete the other
  • make sure your div has a closing tag.
  • I only see one div named shadow so that seems fine.
  • Are you using version 1.2 of the plugin?
  • when you install the plugin type monkey or shadow (whichever you decide to keep) into the textbox
  • make sure the SQL entry's from the previous installs are deleted using phpmyadmin or a similar tool.
Logged
Thinking is the hardest work there is, which is probably the reason why so few engage in it. - Henry Ford

brentmags

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 20
  • "go on - export yourself"
Re: re: loading gallery page
« Reply #10 on: January 29, 2010, 07:06:40 am »

Hi Jeff,
I have notepad open on another monitor and cut and paste the code from out of dreamweaver into this_not sure if this is a good practice but until now (with a wry smile i might add) it is all a process of extending that learning curve

i have gone through all of what was listed.
- The shadow div is gone, monkey with the http: properties required to show drop shadow behind
- has a closed div tag
- yes am using 1.2
- affirmative on typing of monkey only for css rule
- entry from SQL i check each time i do delete

this puppy has me rattled but understandably it is probably something minor i am not doing...big THNX for clarifying points
Logged

Jeff Bailey

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1322
  • Fishing relaxes me.
    • Bailey Family Co.
Re: re: loading gallery page
« Reply #11 on: January 29, 2010, 07:47:52 am »

I'm really at a loss. I have no Idea what your doing wrong.  ???

  • Your div looks correct
  • i've attached a picture of what the install should look like
  • after you install the plugin look in phpmyadmin in the cpg14x_config table, The last entry should be "cpg_link_append_id     monkey"

« Last Edit: January 29, 2010, 08:03:28 am by Jeff Bailey »
Logged
Thinking is the hardest work there is, which is probably the reason why so few engage in it. - Henry Ford

brentmags

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 20
  • "go on - export yourself"
Re: re: loading gallery page
« Reply #12 on: January 29, 2010, 08:10:46 am »

hi Jeff,
had to go away and have tea and come back and try a few more things subject to your last email arriving. Think I might have to start from scratch, get it going then build around it if i do in fact get it going in the first place.
Yes typed in monkey in the Configure plugin: Link Append

So yeah...thanks...put it down to being one of those days for me but an interesting one nonetheless

took some snaps of what it looks like in phpadmin...mmm  :) will look forward to placing the big tick on this one!
Logged

Jeff Bailey

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1322
  • Fishing relaxes me.
    • Bailey Family Co.
Re: re: loading gallery page
« Reply #13 on: January 29, 2010, 08:18:23 am »

Well I see what you did wrong.
When you set it up... in the Div ID: field you entered <div id="monkey">
all you had to type was monkey... take a look at the pic I posted.
Change the value in phpmyadmin from &lt;div id=&quot;monkey&quot;&gt;
to just monkey


edit
Actually I think you have to Uninstall
check the box to remove the table
Then reinstall
Entering monkey and thats it in the config text box
refer to the picture in http://forum.coppermine-gallery.net/index.php/topic,63517.msg315416.html#msg315416
« Last Edit: January 29, 2010, 08:53:36 am by Jeff Bailey »
Logged
Thinking is the hardest work there is, which is probably the reason why so few engage in it. - Henry Ford

brentmags

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 20
  • "go on - export yourself"
Re: re: loading gallery page
« Reply #14 on: January 29, 2010, 09:11:27 am »

Thanks Jeff
not sure if it was a case of refreshing phpadmin regarding your last snippet of info Jeff but typed it in both areas, the latter getting the trump card
What has been achieved is getting that #cpg_top BUT i referred back to the website a member started this post off on and my quest to achieve something similar where you are viewing your photos without it refreshing to the top as per:

http://www.kokospetspa.com/gallery/displayimage.php?album=toprated&cat=0&pos=4#galltop

i have viewed this chaps code as i have done mine and as yet when view saying the photos out of my hithiker album:

http://wrenegadeevents.com/0wren/photo/displayimage.php?album=16&pos=0#cpg_top

it still travels up there. I would hazard at a guess that a new div has to be placed elsewhere to ahcieve this and am recreating one via a copy off the previous successful try.
I think this is almost there with the forehead frown - thanx

Logged

Jeff Bailey

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1322
  • Fishing relaxes me.
    • Bailey Family Co.
Re: re: loading gallery page
« Reply #15 on: January 29, 2010, 09:20:02 am »

post your template.php as template.php.txt template.html as template.html.txt
The plugin is installed correctly.
it looks like you just put the div in a weird place.

http://www.kokospetspa.com/gallery/displayimage.php?album=toprated&cat=0&pos=4#galltop
Is using a older version of the plugin, ignore what he has.

« Last Edit: January 29, 2010, 09:30:09 am by Jeff Bailey »
Logged
Thinking is the hardest work there is, which is probably the reason why so few engage in it. - Henry Ford

brentmags

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 20
  • "go on - export yourself"
Re: re: loading gallery page
« Reply #16 on: January 29, 2010, 09:31:43 am »

Thanx Jeff whilst in the throws of typing my last entry i feel i resolved this subject via 'copy off a copy' on the template (they are adding up now), and going back a few steps chewing on everything that has been explained and absorbed so far.

I have included what you requested with the attachment, i.e. template.html.txt

i will redo this a few times and for further on down the track knowledge document it for i am sure i will be doing it again in the near future with other coppermine galleries
It is very close to being completed now  ;D with which i'd normally go wooooo whoooo da na na naaa, kinda like a high 5!

warm night thanks from downunder for your help
Logged

Jeff Bailey

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1322
  • Fishing relaxes me.
    • Bailey Family Co.
Re: re: loading gallery page
« Reply #17 on: January 29, 2010, 09:47:29 am »

upload the template.html.txt i attached.
change the name to template.html before uploading it.
make sure it overwrites the file already on your server.
Logged
Thinking is the hardest work there is, which is probably the reason why so few engage in it. - Henry Ford
Pages: [1]   Go Up
 

Page created in 0.028 seconds with 20 queries.