My photo gallery site has thousands of html pages, most of them are only with large photos. That is when clicking small thumb, opens a new window with large photos.
This large view html pages has no navigations. I want to add 'home' and 'back to artist' navigation in these html pages.
www.mysite.tld/gallery/artist/name/event/(here stored large images and its html pages)
this same structure goes for other artist names too.
I am using dreamweaver templates. In template, to go back folder, I added..
Back to Main
..(here artist main folder)/(artist index).html
but when saving this template as html to different folder, this "../index.html" changes to "../../../index.html" which goes to main website index page :/
I can simply type ../index.html in one page but the site has many artist folders with same structure.
so how to direct/link to artist page from its sub-folder html pages. Using javascript or any scripts?
Really sorry for this big message. Please dont down-vote because of my stupid question. Thank You.
EDIT :
I tried History back() Method but that's not working because if users come from search engine, there's no history to go back to main artist page.
In simple. You click a page from google and in that landed page (large image here), you need a navigation to visit the main gallery page with other images in small thumbs or to say event gallery page (which present in up-directory in my site). So to navigate to main gallery page, I am stuck here for "how to". May be I need to do in php or something :/
One way of resolving this is to use absolute paths instead of relative paths. Absolute paths start with /.
I'd suggest adding Dreamweaver as a tag to your question, to get the attention of Dreamweaver users who may recognise your situation and can help.
Related
I have setup a dynamic competition page where the query string determines what content you see.
For example (http://nectarfinance.com.au/dc=korinadrogan will show Korina's content, while no query string will show generic head office content).
The site (as is) is loading slowly, and I know it is happening because of the Facebook 'like and share' dynamic Facebook scripts on the page.
I was wondering if there is anyway to minify these script into one? Or if there is anyone to increase the load time of these scripts? or reduce the size of these scripts?
I'm not sure how to work around it as the files are externally hosted by Facebook.
I'll post the GTMetrix report in the answer below, as I can't post two links.
Thanks for your help
My question is for learning the most efficient way of including HTML templates in multiple HTML pages. Currently I'm trying to develop a web-site which has a lot of pages. Simple things like header&footer will be the same in all the pages. I wonder how can we implement these templates to the pages efficiently where google bot will see the page with all its content including templates.
Most of the CMS did use the PHP function include(), include_once(), or their variant require() and require_once(). But there are different way for using them.
Theorically, you can nest multiple sub-page this way : a main page calling a header, content, footer. The content page being just made of some include, to get i.e. homeslider page , corp overview page ... the corp overview itself being made of multiple page for each member ... to infinite.
It's up to you to find the good nesting level to achieve your goals, while staying simple.
In most classic cases, you can just set your page content (home,corp overview, team, contact) and include_once the header on top, the footer on bottom.
About Google bot, as users, it won't see the sub-page you are including this way, so there is little chance for your lone footer to be referenced.
To be sure, use robots.txt !
Hi and thanks in advance for any help.
I'm working on a multilanguage joomla! website that runs some roksprocket mosaic modules positioned right after single article content.
When I navigate the site by using the default language everything works great, but when I switch to a non-default language I experience URL problems with content loaded inside the roksprocket module by the "load more" button or by the filtering tags.
The first block of visible items, loaded with the page, link to the correct articles. But when I filter the items or click the load more button, the new loaded articles links are not working. Default language tags are automatically added to the url of the links. So I get:
www.mysiteurl.com/default_language_tag/alias_of_the_current_page_tag/category_tag/article_tag
This happens both with and without SEF URLS activated.
I would try to avoid these added tags by cutting them out from the html with javascript, but I don't know what is triggered after the loading of the new content.
Any suggestion?
Thanks a lot for your answers.
I am creating a web site and I was given a website template that has various html pages and javascript that my website will reference. I wanted to know if this is possible to add those files and reference them in my project or if I am going about this the wrong way.
First time building a website but I have experience building applications, just confused on the right way to go about this.
Add a master page to your website and replace it's html by the html of your template. add a content place holder in it so that controls can be placed in content pages. copy image, css , and jquery(if any) folders in website. if your css and images are not shown in design of master page then replace Image to ../Image in its html and source of css ../(your file name)
I am currently running Clearbox JS on my site so that users may view a larger version of an image once they have visited the images page. Now, I just recently implemented this and I have noticed that on every single page at the top of the page Clearbox JS echos the command that it is doing. Whether it be initializing, or viewing an image, or event rotating an image. I really do not want this message popping up at all. I would much rather being required to put a link somewhere on the website to the developers website then having to deal with this. If anybody knows how to remove this, please answer. I am providing a link to the website so that you know what I am doing as well as a pastebin link to the clearbox.js file which is the config file.
website: www.dsdwebdesign.net/bootstrap_apgnew/index.php
pastebin: http://pastebin.com/NgBgc34X
Try this somewhere in your page, or the cb_style.css file (but make sure you read their conditions, I am not sure if you are allowed to do this with this piece of software):
#CB_OSD{
display:none!important;
}
It should hide the box at the top.