Blog Theme Issues

rated by 0 users
Not Answered This post has 0 verified answers | 1 Reply | 2 Followers

Fly_Molo
Not Ranked
2 Posts
Points 40
By: Fly_Molo
Posted: Tue, Feb 26 2008 6:01 AM

I have a client who has asked me to re-skin their blog to match their web site. I took a look at the video and it seems that I should be able to take a straight XHTML page, re-name it with the .aspx extension and then replace static content with dynamic content.

To test this out, I created a new theme using the "default2" as a base.

I replaced the "postlist.aspx" with my own "postlist.aspx" file. 

I have 2 problems right now.  

1. Links do no appear to work. For example the logo image will not link no matter what path I enter and I had to embed the css into the header of the file to get it to work.

2. Dynamic content causes and "OOPS" error. Doesn't seem to matter what kind of data I try to copy from other theme files to put into the file, any dynamic content causes the page to fail. 

Any help would be appreciated. 

Thanks

 
  • Post Points: 20 |

All Replies

Alex Crome
Top 10 Contributor
2,782 Posts
Points 41,115
TelligentSupportTeam
By: Alex Crome
Posted: Sat, Mar 8 2008 4:14 AM In reply to
  1. If you set the header image by CSS, then it is not possible to change that into a link - you'll need to modify the HTML so that the Image is displayed as an image tag - which you can then wrap inside a SiteUrl Control to link back to the homepage.
  2. For dynamic controls to work, your page needs to inherit from CSThemePage - make sure you have the folowing at the top of your ASPX page - in particular the bolded part

<%@ Page EnableViewState="false" Language="C#" AutoEventWireup="true" Inherits="CommunityServer.Controls.CSThemePage" %>

 
  • Post Points: 5 |
Page 1 of 1 (2 items) | RSS
Powered by Community Server (Commercial Edition), by Telligent Systems

Copyright© 2008 Telligent Systems Inc. All rights reserved
CommunityServer.com  •  Telligent.com