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: drop to location on page  (Read 4669 times)

0 Members and 1 Guest are viewing this topic.

Gephri

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 235
drop to location on page
« on: April 04, 2007, 11:07:43 pm »

I can click on an image supplied by cpmfetch.php and it will take me to the page with that image - great, works beautifully!  But I would like that click to also drop me lower onto the page because that's where the image is - without all the top-of-page banners, navigation and stuff.

How can I have CPMFetch add the following onto its links, please:
#auto_shift

Thanks,
J
Logged

vuud

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1803
  • [cpmfetch.fistfullofcode.com]
    • Fist Full Of Code
Re: drop to location on page
« Reply #1 on: April 04, 2007, 11:27:03 pm »

I can click on an image supplied by cpmfetch.php and it will take me to the page with that image - great, works beautifully!  But I would like that click to also drop me lower onto the page because that's where the image is - without all the top-of-page banners, navigation and stuff.

How can I have CPMFetch add the following onto its links, please:
#auto_shift

Thanks,
J

You are going to have to use the custom url feature I think.  Let me write the documentation for that tonight and send you a link.  Its in the readme if you are impatient (providing you are using a 1.9.x version).  there is no way under 1.6 to do it without modifying the code.

Here is the easiest way to see it:
http://cpmfetch.fistfullofcode.com/downloads/releasenote_1.9.12.txt

Then search on linktemplate  (one word)








Logged
Please post for help to the forum... PM me only if you are sending security related items (passwords, security problems, etc).

cpmFetch - Images, RSS feeds from CPG from outside CPG
New release notification signup also. 
See http://cpmfetch.fistfullofco

Gephri

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 235
Re: drop to location on page
« Reply #2 on: April 05, 2007, 12:36:55 am »

Oh that's hillarious!  I went to your docs and search the code - trying to keep you from going to any trouble.  Then I read your code notes - HA !
I think I'd better wait for whatever you're able to put together tonight.
Thanks for the laugh!
Logged

vuud

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1803
  • [cpmfetch.fistfullofcode.com]
    • Fist Full Of Code
Re: drop to location on page
« Reply #3 on: April 05, 2007, 03:10:20 am »

Oh that's hillarious!  I went to your docs and search the code - trying to keep you from going to any trouble.  Then I read your code notes - HA !
I think I'd better wait for whatever you're able to put together tonight.
Thanks for the laugh!



Hmmm, I actually thought the notes in there were pretty self explanatory...

Logged
Please post for help to the forum... PM me only if you are sending security related items (passwords, security problems, etc).

cpmFetch - Images, RSS feeds from CPG from outside CPG
New release notification signup also. 
See http://cpmfetch.fistfullofco
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 19 queries.