-
2 Attachment(s)
Subfolder to Subfolder Links Issue
Here is an interesting question.
In testing my website now in final corrections prior to Bluehost publishing, I came across an issue I was not expecting.
From the root home set of pages, all works fine. I published my home index set of pages to Download/test, and then created another folder inside called Articles.
Then inside Articles folder, I published 5 .xars into their each individual folder, as they are independent websites and single page articles.
All links on the Nav bar worked fine, from the Home Page (and assorted front root pages) to the subfolders. I named them what they will be on the server.
I tested the Nav bars on each articles back to the home pages (Home, About, Staff, Articles, Issue, Contact) and they worked fine. No issues.
Now, in each .xar article (see image) there, at the bottom of the page is a "Related Posts" section with 2 image and text links related to articles on the current, paged article. The reader would then click the "Related Posts" link to their liking and read the next uploaded article.
But it does not do that, the page comes up 'Your file could not be accessed".
So from sub folder to sub folder (or article to article not selected from the home pages) is there another way the directions is supposed to be written?
Here is my 'copy link' info on the on screen article to the 'related article' when the mouse is placed over the text/photo link:
file:///C:/Users/owner/Downloads/test/Articles/tablets-detailing-ancient-eemian-civilization-found-in-british-museum/Articles/caspian-sea-tablets-reveal-miracles-of-eemian-prophet/index.htm
Any idea?
Attachment 130739Attachment 130740
-
Re: Subfolder to Subfolder Links Issue
You're already in the sub-folder Articles so the link should just be:
Quote:
caspian-sea-tablets-reveal-miracles-of-eemian-prophet/index.htm
as there is no sub-folder Articles whithin Articles.
-
Re: Subfolder to Subfolder Links Issue
Does this make it clearer? On hovering over the vertical menu take note of the url link address in the bottom left corner
EXAMPLE
-
Re: Subfolder to Subfolder Links Issue
Quote:
Originally Posted by
Egg Bramhill
Does this make it clearer? On hovering over the vertical menu take note of the url link address in the bottom left corner
EXAMPLE
Yes, Egg, it does. Very nicely. This will be very helpful to others as well! :)
Many thanks for the answer!
Arch Med1
-
1 Attachment(s)
Re: Subfolder to Subfolder Links Issue
Quote:
Originally Posted by
Egg Bramhill
You're already in the sub-folder Articles so the link should just be:
as there is no sub-folder Articles within Articles.
A test done. So this will not work on the local drive then? I changed the Web Properties on the image (removing the Articles/ direction) to "tablets-detailing-ancient-eemian-civilization-found-in-british-museum/index.htm" in the .xar (without quotes).
Republished the opened and being read article .xar to the needed folder to the "test/Articles/caspian-sea-tablets-reveal-miracles-of-eemian-prophet" (without quotes).
Checked the link on the published page. Hovered over the image link and copied the link address "file:///C:/tablets-detailing-ancient-eemian-civilization-found-in-british-museum/index.htm
Clicked it, came up 'Your file could not be accessed".
Missing something here. Attachment 130749
-
Re: Subfolder to Subfolder Links Issue
Unless I'm getting your file structure wrong the link should not have the index.htm but should be:
Quote:
tablets-detailing-ancient-eemian-civilization-found-in-british-museum.htm
That page is contained within the Articles folder.
Quote:
So this will not work on the local drive then?
Yes it works on the local drive.
-
Re: Subfolder to Subfolder Links Issue
Thanks, Egg. :)
More realms for the study.
Last issue I'll post in the Xara Slider I posted in.
-
Re: Subfolder to Subfolder Links Issue
-
2 Attachment(s)
Re: Subfolder to Subfolder Links Issue
OK, last word here before publish. If I am wrong, please advise.
Here is my site structure...
https://www.mysite.org/Articles
From my index set of root pages (Home, About Us, Staff, Issue, Articles, World and Contact) the link from these pages to any article listed in them would be..in Webproperties/Link (see image for this example)...
Articles/greenland-more-prehistoric-ruins-found-near-ittoqqortoorniit/index.htm
From any articles from Sub folder to Sub folder in relation to Related Posts the link would be...in Webproperties/Link (see image for this example)...
https://www.mysite.org/Articles/casp...phet/index.htm
Attachment 130789Attachment 130790
-
Re: Subfolder to Subfolder Links Issue
Arch, your link leads nowhere. How do you expect us to visit a site https://www.mysite.org. You don't own a domain name mysite.org
You're really not grasping the concept here despite your claim to learn fast.
Why not publish your site in it's current state and we may be able to help?
-
Re: Subfolder to Subfolder Links Issue
Quote:
Originally Posted by
Egg Bramhill
Arch, your link leads nowhere. How do you expect us to visit a site
https://www.mysite.org. You don't own a domain name mysite.org
You're really not grasping the concept here despite your claim to learn fast.
Why not publish your site in it's current state and we may be able to help?
Egg,
I have seen some others on the forum refer to an example site as 'http://www.mysite.com' just for a matter of supplying a url as a reference.
My site is https://www.bournejournal.org (currently pending page)
My subfolder containing all 40 articles is https://www.bournejournal.org/Articles
I would rather, instead of publishing my site as is, nitpick the .xar (.web) files it until I am confident it will work the first time, or near so.
Hovering over 'related articles' images on a few sample online magazines, I found they contained the full url of the 'related article' for the link.
So if I place this on the Webproperties/Link on the 'related articles', how can this go wrong?
-
Re: Subfolder to Subfolder Links Issue
Arch, the links you provide lead to a WordPress site? WordPress is a Content Management System (CMS) site creator. Xara doesn't use CMS.
I've advised you earlier that the url's of pages within your Article sub folder should not contain "index.htm" within the url but you don't seem to grasp this.
-
Re: Subfolder to Subfolder Links Issue
I am using Bluehost and I can use Xara.
I have all the instructions from the host.
Egg, I know what Wordpress is. I very briefly considered using WP, but kept with Xara.
The .org site will be a Xara site.
:)
Yes, I did note it. About the .index.
-
Re: Subfolder to Subfolder Links Issue
Arch, you avoided my point regarding the "index.htm" within your url's.
Please give us a link to your Xara web site.
-
Re: Subfolder to Subfolder Links Issue
Quote:
Originally Posted by
Egg Bramhill
Arch, you avoided my point regarding the "index.htm" within your url's.
Please give us a link to your Xara web site.
Egg, it is not up yet. When I have it up I will post the link in this form post.
Arch Med1
-
Re: Subfolder to Subfolder Links Issue
Quote:
Originally Posted by
Egg Bramhill
Arch, you avoided my point regarding the "index.htm" within your url's.
Sample selecting one folder...from the Home Page index set of pages...
The link (of a photo or text link) in the Webproperties link would be "www.bournejournal.org/Articles/second-archean-burgess-shale-found-in-australia/"
The article's .web file in the folder is already named 'index', since each article .xar/.web file is in itself a single, individual website.
The browser will search the "second-archean-burgess-shale-found-in-australia" folder for the index.html or index.htm file and call it up for view.
The article will also be opened in a new tab per the tick on Webproperties/links.
The url will display "www.bournejournal.org/Articles/second-archean-burgess-shale-found-in-australia/".
The same would apply to articles linking to each other within the Articles folder, one article to another (under Related Posts).
Is this correct?
-
Re: Subfolder to Subfolder Links Issue
You state above that there a 40 articles in the subfolder. Now your stating there are 40 subfolders in Articles????
Quote:
The article's .web file in the folder is already named 'index', since each article .xar/.web file is in itself a single, individual website.
You don't place the .xar/.web file on your server, it's of no use there unless you want to store the .xar/.web file there. A server or browser can do nothing with .xar/.web files.
By default Xara on publication names the file index.htm but it doesn't have to be named such.
You can't create 40 webpages named index.htm all within one folder, one will just overwrite the earlier version.
-
1 Attachment(s)
Re: Subfolder to Subfolder Links Issue
Like this...
The structure of the site is www.bournejournal.org/Articles
There is one subfolder called Articles (see above). There are 40 folders in the Articles folder that contain the names of the articles in hyphens where the .xars/.web files will be published to.
Example: monster-eats-london is one article.
The needed "A-london monster.xar" (as I named the file for editing and work) for that folder is published to "monster-eats-london".
Example ...bournejournal.org/Articles/monster-eats-london ( I took out the www so it would display the entire line for this forum post).
In the Webproperties/Page of the .xar/.web the page was named 'index'.
So when the browser will look for this "index" file in the "monster-eats-london" folder it will find it and display the page.
All the other articles will go through the same process until all 40 are published to their respective folders in the Articles subfolder. Each .xar/.web is a single article.
Acorn gave me this layout. Now I see why. It will be easier to add more articles to the website by rearranging the home root pages content (new images and text with new links to newer articles). This will also help with any memory issues with too big of files in loading the entire site. See graph he gave me.
Attachment 130793
-
1 Attachment(s)
Re: Subfolder to Subfolder Links Issue
For anyone still interested I seem to have solved the subfolder to subfolder link. From an image at the bottom of a viewed article, showing a Related Post image with a link.
Linking...
"xxx.bournejournal.org/Articles/tablets-detailing-ancient-eemian-civilization-found-in-british-museum/index.htm" (xxx in place of www)
to "xxx.bournejournal.org/Articles/caspian-sea-tablets-reveal-miracles-of-eemian-prophet/index.htm"
was accomplished with the link..."../caspian-sea-tablets-reveal-miracles-of-eemian-prophet/index.htm"
The page link displayed in the picture link and went over to the proper article subfolder in Articles (on my local drive).
I found the answer here: https://www.talkgraphics.com/showthr...ght=subfolders
The dialogue:
Linking from the main site would have a URL of "subfolder01/page01.htm(l)", assuming you know your structure, you do not need the full URL.
Sub-site to sub-site links are a little trickier. To go to Page 5 on the third sub-site from another sub-site would require "../subfolder03/page05.htm(l)"; the ".." means go up a level (to main) and navigate from there.
I was missing this item, the "../" direction. The link was put in Webproperties/Link.
@Egg...yes, there are 40 single page web page articles in the main subfolder Articles. More research today in the forum searches found several more articles where some Xara users did the same thing to break up the site to make it smaller and faster. Also, the Davora/Properties example you had has an index going of Prop 1, but unlike mine you have all the Props (2,3,4,etc) in the same .xar document. Mine are all single .xar pages, one .xar per article. My index files per article are needed, of course.
Thanks for the examples. When I build a site using the Davora/Properties example, I will use your template
Attachment 130822.
-
Re: Subfolder to Subfolder Links Issue
It's soooooooooooooooooo much simpler to create new pages/websites and link to home page or site map.
Life is too short.
(Just my stupid, simple-minded take on a conversation which seems to be exasperating.....:o )
-
Re: Subfolder to Subfolder Links Issue
one man's labyrinth is another's stroll in the park ;)
I never got past wordpress without any CSS tweaks.....
-
Re: Subfolder to Subfolder Links Issue
Quote:
Originally Posted by
ewraysure
It's soooooooooooooooooo much simpler to create new pages/websites and link to home page or site map.
Life is too short.
(Just my stupid, simple-minded take on a conversation which seems to be exasperating.....:o )
I just like complexity and the project calls for a measure of it to pull off the presentation. Seek and ye shall find.
-
Re: Subfolder to Subfolder Links Issue
complexity is sometimes necessary, but the love of it for it's own sake is a conceit; that is especially apparent several years down the line when everyone has forgotten how it was put together and maintenance is required; still you are no doubt writing documentation that fully covers what you have done, so all will be well ;)
-
Re: Subfolder to Subfolder Links Issue
Quote:
Originally Posted by
handrawn
complexity is sometimes necessary, but the love of it for it's own sake is a conceit; that is especially apparent several years down the line when everyone has forgotten how it was put together and maintenance is required; still you are no doubt writing documentation that fully covers what you have done, so all will be well ;)
Just as long as the next Xara freshman will benefit from the posts. Then all is well. :)
-
Re: Subfolder to Subfolder Links Issue
that is a good sentiment and what TG is all about ;)