DPX ver 8 Generated code llinks unwanted pages "xr_pnavmenu"
Probably I'm missing a fundamental point here <g> but have an issue with something I can't understand.
If I 'Preview a web page' in Design Pro X the last section of the generated code looks like this:
<div id="xr_xo8"></div>
<div id="xr_xd8"></div>
</div>
</div>
<!--[if lt IE 7]><script type="text/javascript" src="index_htm_files/png.js"></script><![endif]-->
<script type="text/javascript">xr_aeh()</script>
</body>
</html>
If I do a full export or even a preview of the whole site then every page has an extra chunk embedded into it as follows - with EVERY other page in the .xar file listed:
</div>
</div>
<div id="xr_xo8"></div>
<div id="xr_xd8"></div>
</div>
</div>
</div>
<script type="text/javascript">xr_prifs();</script>
<img class="xr_ap" src="index_htm_files/04.gif" alt="" id="xr_qsq0" style="visibility:hidden;"/>
<div id="xr_pnava"><div id="xr_pnavh">
<a href="javascript:xr_prevp();"><span class="xr_pnav" style="left: 8px; background-position:0px 0px;"></span></a>
<a href="index.htm"><span class="xr_pnav" style="left: 32px; background-position:-16px 0px;"></span></a>
<a href="javascript:xr_nextp();"><span class="xr_pnav" style="left: 56px; background-position:-32px 0px;"></span></a>
<div class="xr_pnav" style="top: 10px; left: 80px; width: 1px; background-position:-64px 0px;"></div>
<div id="xr_pnavp" class="xr_pnav" style="top: 12px; left: 89px; background-position:-48px 0px;">
<div id="xr_pnavm">
<div class="xr_pnavmenu">
<a class="xr_pnavmenu" href="index.htm">1: Resin Casting | Moulding Services | Bespoke Curtain Poles | Sculpture | GRP | Bristol UK<br /></a>
<a class="xr_pnavmenu" href="contact_opus_studio.htm">2: Contact Opus Studio | Professional resin casting, mould making | Curtain Poles and finials<br /></a>
<a class="xr_pnavmenu" href="thanks.htm">3: Thank you for contacting Opus Studio, Bristol, UK. We'll be in touch very soon!<br /></a>
<a class="xr_pnavmenu" href="cookies.htm">4: Opus Studio Cookie Policy | Professional resin casting, mould making | Curtain Poles and finials<br /></a>
<a class="xr_pnavmenu" href="map.htm">5: Site Map | Resin Casting & Moulding Services | Bespoke Curtain Poles | GRP | Sculpture | Bristol UK<br /></a>
<a class="xr_pnavmenu" href="downloads.htm">6: Download Resources | Catalogue of Bespoke Curtain Poles | Dimensional Drawings | Directions to our Bristol Workshop<br /></a>
<a class="xr_pnavmenu" href="news_headlines.htm">7: News from Opus Studio | Exhibitions | Customer Awards | Art Show | Galleries<br /></a>
<a class="xr_pnavmenu" href="news_content.htm">8: News from Opus Studio | Winner of Best Window Furnishings Product | Art Show | Galleries<br /></a>
9: News from Opus Studio | Winner of Best Window Furnishings Product | Art Show | Galleries<br />
<a class="xr_pnavmenu" href="poles_finial_designs.htm">10: Finial Designs | Finial Dimensions | Elegant Curtain Poles and Window Treatments | Bespoke and Custom Service | Bristol UK<br /></a>
<a class="xr_pnavmenu" href="poles_accessories.htm">11: Opus Curtain Pole Accessories | Corded Tracking Systems | Wooden Brackets | Draw Rods | Brass and Chrome Brackets | UK<br /></a>
<a class="xr_pnavmenu" href="poles_finishes.htm">12: Curtain Pole Finishes | 19 Standard Colours | Custom Finishes | Highlighting | Distressed Paint Effects | UK<br /></a>
<a class="xr_pnavmenu" href="contemporary_tiles.htm">13: Clear Resin Casting | Contemporary Tiles for Wet Rooms | Modern Interiors | Bristol UK<br /></a>
<a class="xr_pnavmenu" href="interior_design_commissioned.htm">14: Resin Casting for Interior Design | Mould-making Services | Bespoke Furniture | Lighting | Sculpture | Bristol UK<br /></a>
<a class="xr_pnavmenu" href="casting_techniques.htm">15: In-house Mould-making and Casting Techniques | Production Methods | Finishing Techniques | Sculpture | Bristol UK<br /></a>
<a class="xr_pnavmenu" href="moulding_stages.htm">16: Mould-making | Types of moulds | Highly Detailed Artworks | Step by step overview of process | Bristol UK<br /></a>
<a class="xr_pnavmenu" href="commercial_industrial_casting.htm">17: Commercial and Industrial Casting | Concrete Casting | Theatrical Props | Architectural Mouldings | POS Items | Awards and Trophies | UK<br /></a>
<a class="xr_pnavmenu" href="menu_definition.htm">18: menu_definition.htm<br /></a>
</div></div></div></div></div>
<!--[if lt IE 7]><script type="text/javascript" src="index_htm_files/png.js"></script><![endif]-->
<script type="text/javascript">xr_aeh()</script>
</body>
</html>
I have 2 concerns with this:
Firstly, there are pages in the .xar file that I do not need/want to be referenced or discoverable to a spider, and which I have not linked to.
Secondly, Google therefore indexes all of these links and displays them in its results with title snippets which start with the page number - and looks very amateurish.
A Google search for site:http://www.opus-studio.com illustrates the problem.
I realise that I can exclude specific pages with a robots.txt file, but what to do about the page numbers in the title?
Any ideas at all?
TIA
Scrimshaw
Re: DPX ver 8 Generated code llinks unwanted pages "xr_pnavmenu"
Make sure you are using a website template and not a presentation template. And also check you using the latest version of the program becasue I remember there was an issue in an early verison where presentation code was exported on a website but they fixed it in a patch. Go to Help -> Check for updates to make sure.
1 Attachment(s)
Re: DPX ver 8 Generated code llinks unwanted pages "xr_pnavmenu"
Yes, there's a bug in v8 that causes the navigation popup when transitions are used.
Also, please make sure that the 'Presentation website' option in not 'ticked' in the box.
Attachment 97685
Re: DPX ver 8 Generated code llinks unwanted pages "xr_pnavmenu"
Quote:
Originally Posted by
Scrimshaw
Probably I'm missing a fundamental point here <g> but have an issue with something I can't understand.
Let me explain. Your document is a presentation document. All presentation documents have a navigation bar embedded that contains a menu with links to all your pages. It pops-up from the left bottom side of the page when you hover mouse over it. It is done with that code you don't like. When you do a single page preview, navigation menu is not exported because it is supposed that you only want to preview the design of the current page, not to navigate throughout entire website (which you wouldn't be able to do anyway since no other pages are exported, unless you have exported them before).
If you don't want this navigation menu to be included with your website, change the document type to Web Document.
Re: DPX ver 8 Generated code llinks unwanted pages "xr_pnavmenu"
Thanks very much for the quick responses guys. I do appreciate your thoughts but this file is NOT marked as a presentation document (the check box is cleared, same as shown in sledger's screenshot above). This IS a standard website document.
Actually, I've now tested turning this presentation check box ON (which also produces a message when going to preview notifying user that the document is in fact a presentation) and then turning it OFF again and re-exporting all HTML again. Unfortunately it doesn't make a difference to the exported code. Still has all this xr_pnavmenu stuff at the end of it...
Sledger - There are no transitions in the website either, all links are marked as 'Instant'. There are a number of pop-up photos though which have their own zoom-in transition. I guess this is unrelated to the bug you are talking about?
John - I'm using Designer Pro X 8.1.1.22437M DL May 29 2012 (This is the most current version without upgrading to X9 I believe)
-
Scrimshaw
Re: DPX ver 8 Generated code llinks unwanted pages "xr_pnavmenu"
No it's not, 8.1.3.23942 is the latest patch release for Designer Pro X. Go to Help -> Check for Updates to install the latest patch update.
Re: DPX ver 8 Generated code llinks unwanted pages "xr_pnavmenu"
Quote:
Originally Posted by
PeteS
No it's not, 8.1.3.23942 is the latest patch release for Designer Pro X. Go to Help -> Check for Updates to install the latest patch update.
Ah, many thanks Pete. Thought I already had the latest.
DPX now patched up, error has gone away. Brilliant and thanks to all for your help.
Scrimshaw