jrPages profile index

mick
@mick
11 years ago
16 posts
I don't know if you already know this but 'pages' aren't showing on the member profiles. I wasn't sure if it was just a jr5.0 problem at first but it seems my jr5.1 'pages' index doesn't show a list either. I had a look at the JR Demo site and that has the same issue going.

Mick
updated by @mick: 06/28/16 07:26:41AM
alt=
smith.kyle
@smithkyle
11 years ago
87 posts
I was seeing them a while back - that was on a previous install though (5.0.1 or 2 I think).

Kyle
brian
@brian
11 years ago
10,148 posts
There's a brand new release of the Page Creator module - reload it from the Marketplace and let me know if you guys see any issues. There's a new "browse" tool that lets you browse existing pages, and other tweaks and fixes.

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
alt=
smith.kyle
@smithkyle
11 years ago
87 posts
Ahh nice! I'll check it out. Awesome re: the browse tool - was looking for something like that!
michael
@michael
11 years ago
7,746 posts
I got that sorted yesterday. it needed a page sort.
michael
@michael
11 years ago
7,746 posts
Yesterday the list of pages wern't showing on under the 'Page' menu item. today I cant see the 'Page' menu item. hmmm.
douglas
@douglas
11 years ago
2,793 posts
Did you reload the Page module and clear the cache?


--

Douglas Hackney
Jamroom Team - Designer/Developer/Support
FAQ-Docs-Help Videos
michael
@michael
11 years ago
7,746 posts
Clear the cache yes, but not reload the module because this module didn't come from the marketplace. It was uploaded via FTP.
SteveX
SteveX
@ultrajam
11 years ago
2,584 posts
I've been wondering about this.

There could be a definite split between what you can do on a development site and a site which uses the marketplace, but I'm not sure what it is exactly. So it's only fear that is keeping me from trying.

The different module directory structure in a marketplace managed site (aliases, versions, etc = scary) has made me keep development completely separate from "testing the marketplace" sites. I don't know what the extra directories do, how the structure works, etc, so I just haven't gone there.

Do we now have a situation where it could be advisable to "never, ever edit files in your module and skins directories, only via the acp, unless you are developing a module or skin in which case you need a separate development site" type of thing?


--
¯\_(ツ)_/¯ Education, learning resources, TEL, AR/VR/MR, CC licensed content, panoramas, interactive narrative, sectional modules (like jrDocs), lunch at Uni of Bristol. Get in touch if you share my current interests or can suggest better :)
brian
@brian
11 years ago
10,148 posts
I personally do this - I have my development environment, which I don't load/update from the Marketplace, and then I have my "test" site which I do all my marketplace testing on.

The version setup is pretty simple once you know what it is doing - it basically creates symlinks to the "active" module/skin directory. So as an example you might see something like this:

jrCore -> jrCore-release-5.1.2

that means the "active" jrCore install is pointing (symlinked) to the jrCore-release-5.1.2 directory.

Then you might also have the following directories:

jrCore-release-5.1.1
jrCore-release-5.1.0

These versions are NOT "active" since the symlink does not point to them. Doing it this way has some advantages:

1) It let's us "rollback" to an old version if needed simply by pointing the symlink to a different (older) directory.
2) It's very fast, as creating a symlink is way faster than copying/moving directories

The Marketplace -> Release Archive tool basically looks at this directory structure for you and let's you rollback (or cleanup) if needed.

Let me know if that helps.

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
SteveX
SteveX
@ultrajam
11 years ago
2,584 posts
That does help. thanks Brian.

But it is still scary.

Whats the difference between the dirs with

Quote:
jrPage
jrPage-release-1.0.0
jrPage-release-1.0.1

and

Quote:
jrProfileTweaks (this is the only dir which appears with an arrow/alias in transmit)
jrProfileTweaks-release-1.0
transmit.jpg
transmit.jpg  •  20KB




--
¯\_(ツ)_/¯ Education, learning resources, TEL, AR/VR/MR, CC licensed content, panoramas, interactive narrative, sectional modules (like jrDocs), lunch at Uni of Bristol. Get in touch if you share my current interests or can suggest better :)

updated by @ultrajam: 10/03/13 05:43:18PM
brian
@brian
11 years ago
10,148 posts
I believe that little icon on the jrProfileTweaks means it is a "link" - although I'm not sure what you are viewing that through. If you are on a Mac, open Terminal and cd to your JR directory and do:

ls -l

and you'll see the dirs and symlinks.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
michael
@michael
11 years ago
7,746 posts
Could that explain why jrPage, needing core:5.1.0 does not show in my profile menus where the system does not have a:

jrCore-release-5.1.0

meerly a:

jrCore
SteveX
SteveX
@ultrajam
11 years ago
2,584 posts
brian:
I believe that little icon on the jrProfileTweaks means it is a "link" - although I'm not sure what you are viewing that through. If you are on a Mac, open Terminal and cd to your JR directory and do:

ls -l

and you'll see the dirs and symlinks.

Transmit, my fav ftp app. I'm severely lacking knowledge on the server stuff.

It does look similar in Finder though for local sites. But different, confusing for wary.
transmit2.png
transmit2.png  •  103KB




--
¯\_(ツ)_/¯ Education, learning resources, TEL, AR/VR/MR, CC licensed content, panoramas, interactive narrative, sectional modules (like jrDocs), lunch at Uni of Bristol. Get in touch if you share my current interests or can suggest better :)

updated by @ultrajam: 10/03/13 05:56:42PM
SteveX
SteveX
@ultrajam
11 years ago
2,584 posts
In the screenshot above the Untitled window is what Transmit (the ftp app) shows, the window below is Finder

Both sites are up to date, but they display differently (in ftp/finder)


--
¯\_(ツ)_/¯ Education, learning resources, TEL, AR/VR/MR, CC licensed content, panoramas, interactive narrative, sectional modules (like jrDocs), lunch at Uni of Bristol. Get in touch if you share my current interests or can suggest better :)

updated by @ultrajam: 10/03/13 05:58:31PM
brian
@brian
11 years ago
10,148 posts
Yeah I think that is correct - jrPage is a "link" (small arrow on it) pointing to one of the jrPage-release-XXX dirs (can't tell which one from within finder). Same with the jrProfileTweaks as well - it's a link pointing to one of those dirs.

Basically just remember that if the icon has a small arrow on it, it's a link - that's not a directory, but a "link" that points to one of the xxx-release-xxx directories.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
SteveX
SteveX
@ultrajam
11 years ago
2,584 posts
Why the difference between Transmit and Finder?

Finder shows an alias for jrPage, Transmit does not (looks like an ordinary folder, no alias arrow). I know there are at least two types of alias in osx, but I;ve only seen them both with alias arrows on the icon.

How to explain that on the forum? Which I guess leads back to the thought from earlier:
Quote:
Do we now have a situation where it could be advisable to "never, ever edit files in your module and skins directories, only via the acp, unless you are developing a module or skin in which case you need a separate development site" type of thing?
Which might be a good thing


--
¯\_(ツ)_/¯ Education, learning resources, TEL, AR/VR/MR, CC licensed content, panoramas, interactive narrative, sectional modules (like jrDocs), lunch at Uni of Bristol. Get in touch if you share my current interests or can suggest better :)

updated by @ultrajam: 10/03/13 07:02:31PM
brian
@brian
11 years ago
10,148 posts
I wouldn't go so far as to say "never ever" - just know what you're editing ;) Think of it this way - as long as you just ignore any directory with "release" in it, and just change into the directories like you always have (i.e. go into jrPage - NOT jrPage-release-1.0.0) then you'll always be in the "active" directory.

I've been doing just a massive amount of coding over the last 3 weeks or so, and so far it has worked out well for me to:

- do all my development locally on my macbook. I've got apache setup to run run right out of my Git repo, and I just hack on things right in there (on a branch of course).

- I've got PHPStorm setup with my "test" server as a deployment - when I'm ready to test I just right click on the module and choose "Upload to.." and it is FTP'd right up to my server. I then test it out on my test server.

I also test a lot locally if it's something that doesn't need marketplace access, or network access.

I'm not sure how you're setup for development, but let me know - maybe there's a different work flow you could use that might be easier.

Hope this helps!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
brian
@brian
11 years ago
10,148 posts
michael:
Could that explain why jrPage, needing core:5.1.0 does not show in my profile menus where the system does not have a:

jrCore-release-5.1.0

meerly a:

jrCore

I don't think so - as long as the version in jrCore is 5.1.0, you should be fine. All that means is you have not reloaded/updated the jrCore module from the Marketplace.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
brian
@brian
11 years ago
10,148 posts
Ultrabubble:
Why the difference between Transmit and Finder?

In this case trust Finder - Transmit is clearly wrong. The only FTP client on the Mac I've found to work 100% of the time is YummyFTP. I own Transmit and Forklift as well and have not used either for well over a year. I also had bad luck with FileZilla on Mac - it would frequently corrupt uploads.

Just my experience, but in this case Transmit should be showing you that it is a link, and is probably using cached info so check your settings.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
SteveX
SteveX
@ultrajam
11 years ago
2,584 posts
Yep, must have been cached in transmit, I have the alias icon showing this morning.

I do everything locally on a macbook air. Ampps is like Mamp or xamp, a self contained multi-site stack.

Ftp to server where necessary, keep it local if not.

Virtualmin makes managing the server/setting up new test sites very easy. I'm just moving that side of things to digitalocean - seems to run fine on a $5 vps.

I use git a bit, probably more in the future.


--
¯\_(ツ)_/¯ Education, learning resources, TEL, AR/VR/MR, CC licensed content, panoramas, interactive narrative, sectional modules (like jrDocs), lunch at Uni of Bristol. Get in touch if you share my current interests or can suggest better :)

Tags