Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

telerik -- supercharge your DNN websites
  Ads  
OnyakTech
 


  Sponsors  

Meet Our Sponsors

Verndale
The Official Microsoft ASP.NET Website
Portal Webhosting - Hosting For Developers
Red-Gate Software
MaximumASP
SourceGear - Tools for Developers
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  HTML / Text Mo...  Links and Portal Template
Previous Previous
 
Next Next
New Post 10/26/2007 12:59 PM
User is offline Baatezu
197 posts
9th Ranked


Links and Portal Template 

I'm trying to set up a portal template and in the HTML module, I want to have links to other pages on the site. If I use the 'create link' button it creates a link to the 'main' site's page. Then in any child portals, the HTML module links back to the parent site instead of the child's page.

Is there a way I can create a link in the HTML module for template use; so the link will go to the correct page on the child portals instead of back to the main?

If there is another way (other module ect) that would work better than the HTML one, I am open to alternatives.

 
New Post 4/25/2008 3:05 PM
User is offline Bryan Beswick
7 posts
10th Ranked


Re: Links and Portal Template 

I am having the same problem and need help.  I'm not sure the original poster explained it well so I'll try to re-phrase the issue:

1) I create a web site that I want to make into a template (including the content.)
2) I use the Portals tab and create the template, including the content (no problem so-far)
3) Now I create a new Portal and select the template (poof ... the site created fine)
4) Now comes the problem ...

In the template site, there was content that got imported, but all of the image references (<img>) and links (<a>) are EXACT copies of the template web site ... meaning that, if the original image tags pointed to files in the original portal's folder, the new site also refers to the same files IN THE ORIGINAL PORTAL'S FOLDER.  Even worse is the fact that, links that took you to other pages within the original portal now refer to the same TABID's in the ORIGINAL portal, not this newly-created one!

I can work-around the image problem by executing a SQL UPDATE statement against the DESKTOPHTML column of the HTMLTEXT table to replace the old portal path (let's say "/Portals/2/") with the new portal's folder (like "/Portals/23/") for only the rows associated with the new Portal.

The larger problem is the link problem - I have no idea how to "know" each old TABID and its corresponding new TABID to perform a replace if I so dared.

This is, unfortunately, a really big problem for a project I am working-on.  Help!!??!!  Please?

 
New Post 4/26/2008 5:12 AM
User is offline Sebastian Leupold
15216 posts
www.deutschnetnuke.de
1st Ranked












Re: Links and Portal Template 

I fear, there is currently no workaround except using relative paths to images and pagenames entered manually, but I admit, that this is a limitation of the current templating system.


Sebastian Leupold

DeutschNetNuke dnnWerk - The DotNetNuke Experts German DotNetNuke User-Group

DotNetNuke Project UserDefinedTable
DotNetNuke Project Release Tracker
 
New Post 4/28/2008 4:46 AM
User is offline Pedro Capetillo
2 posts
www.pcap.se
10th Ranked


Re: Links and Portal Template 

We have the same situation but we have used relative links for images etc som that is no problem. Our template site also includes some page links within the template portal. Could we use friendly urls when making the portal site to work around this problem?

Best

Pedro Capetillo

 
Previous Previous
 
Next Next
  Forum  DotNetNuke® Pro...  HTML / Text Mo...  Links and Portal Template
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, please observe the following posting guidelines:

1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


Lucede Systems Group
Providing a full range of IT services for large and medium sized companies
www.lucede.com
Adaptive InfoSystems, Inc.
We provide custom programming and various levels of support for DotNetNuke and the .Net framework.
www.aisysweb.com
Multipartner Virtual Data Rooms
The Virtual Data Rooms (VDR) provided by an expert advisor, far from any ordinary software company!, supporting the sellers and their consultants. Multipartner builds and services higly professional Virtual Data Rooms (VDR) specifically tailored to M&A, Real Estate and NPL deals.
www.multipartner.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP