Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#25 2004-10-13 20:04:20

jbrew
Member
From: Imperial Beach, California
Registered: 2004-03-04
Posts: 78
Website

Re: [archived] jmr_gallery : Article Associated Image Gallery

I did that with children, but it comes up as portfolio/2/children and I created a article-2 to go with it and still nothing…

And i put the tag into the “Single” form and put the article form type in the page too…

I am stuck.


To even the least of these…

Offline

#26 2004-10-13 20:13:36

heikki74
Member
From: Finland
Registered: 2004-08-17
Posts: 100

Re: [archived] jmr_gallery : Article Associated Image Gallery

Is the plugin now original or modified? Original should work inside the article form. At least it works for me..

Offline

#27 2004-10-13 22:09:10

jbrew
Member
From: Imperial Beach, California
Registered: 2004-03-04
Posts: 78
Website

Re: [archived] jmr_gallery : Article Associated Image Gallery

Oh, nope its modified as detailed earlier in this discussion.

I will try the original. Thanks for all your help.


To even the least of these…

Offline

#28 2004-10-14 16:26:52

jbrew
Member
From: Imperial Beach, California
Registered: 2004-03-04
Posts: 78
Website

Re: [archived] jmr_gallery : Article Associated Image Gallery

Maxriff – what did you do to get this working? I am having problems with [PHP_SELF] as well but am not currently using Max Ziebell’s RewriteRules. Any thoughts?


To even the least of these…

Offline

#29 2004-10-14 17:23:58

jbrew
Member
From: Imperial Beach, California
Registered: 2004-03-04
Posts: 78
Website

Re: [archived] jmr_gallery : Article Associated Image Gallery

Okay – I kinda got it working, but having an article act as a subsection of the Portfolio section doesnt work too well… oh, well.


To even the least of these…

Offline

#30 2004-10-28 02:03:00

nardo
Member
From: tuvalahiti
Registered: 2004-04-22
Posts: 743

Re: [archived] jmr_gallery : Article Associated Image Gallery

Justin, great work building on this concept — and here’s a feature request

I would like to place the caption and the prev/next links in other container boxes (not below the img)

absolute positioning is not an option — I guess you would have to allow for tags to place this content in other places on the page?

e.g. <code><txp:jmr_gallery_caption></code>

this would allow for great flexibility in design…

as you’ve noted before, having a bunch of pics tied to one article, and browsed on the same page, is excellent

Offline

#31 2004-11-03 07:43:33

nardo
Member
From: tuvalahiti
Registered: 2004-04-22
Posts: 743

Re: [archived] jmr_gallery : Article Associated Image Gallery

having the same problem as Matt on page 1 — next and previous links not working…

<code>http://subdomain.domain.tld/index.php?id=1</code>

that’s my page and it’s showing a pic with next/prev links… but the next link takes me to

<code>http://subdomain.domain.tld/index.php?imagenum=2</code>

which actually leaves me at the home page…

I tried hacking the plugin as per Matt’s instructions but I don’t know PHP so perhaps the several places I tried to paste it in were wrong… could you show an example line of code in full?

thanks

Last edited by nardo (2004-11-03 07:44:36)

Offline

#32 2004-11-03 09:06:31

heikki74
Member
From: Finland
Registered: 2004-08-17
Posts: 100

Re: [archived] jmr_gallery : Article Associated Image Gallery

Try using clean urls with unmodified plugin first. I don’t know if it’s supposed to work with messy ones in the first place.

Offline

#33 2004-11-03 09:45:52

nardo
Member
From: tuvalahiti
Registered: 2004-04-22
Posts: 743

Re: [archived] jmr_gallery : Article Associated Image Gallery

thanks heikki, the unmodified plugin is what I’ve got going…

now the kinda confusing part…

I’m on TXD with a subdomain, and my site wasn’t working until I changed to messy… apparently <a href=“http://www.textdrive.com/forum/viewtopic.php?id=258”>clean URLs don’t work</a> on a subdomain yet…

but then in that post, I followed Mamash’s rewrite rules and changed the site preferences to Clean URL Mode… and the site is working, only the plugin ain’t

i.e. while all other links show clean urls, the next/previous gallery links show the same as I reported above

Last edited by nardo (2004-11-03 09:47:38)

Offline

#34 2004-11-07 10:29:30

nardo
Member
From: tuvalahiti
Registered: 2004-04-22
Posts: 743

Re: [archived] jmr_gallery : Article Associated Image Gallery

‘nother plea for help…

this is how the NEXT/PREV urls currently look…

http://subdomain.domain.tild/index.php?imagenum=2

it should look like this:

http://subdomain.domain.tld/entry/1/?imagenum=2

I’m happy to hard-code most of the path into there (up to the article ID), and it’ll only be used on the section called ‘entry’… but I’m not having any success with hacking the plugin itself, php skills being non-existent

RESOLVED

I replaced <code>$_SERVER[‘PHP_SELF’]</code> with <code>’‘</code> and it’s working with clean urls on a TXD subdomain with Mamash’s htaccess rules

Last edited by nardo (2004-11-10 00:06:09)

Offline

#35 2004-11-22 11:06:13

1beb
Plugin Author
From: Canada, Ontario, Toronto
Registered: 2004-11-22
Posts: 169
Website

Re: [archived] jmr_gallery : Article Associated Image Gallery

I’m using ‘messy’ and I’m not sure where I would find the real code to edit this plugin… I’m not familiar with the plugin system at all. If someone would be so kind as to tell me where the code for installed plugins resides I’ll gladly edit it and test heikki74’s solution

Offline

Board footer

Powered by FluxBB