Support Forums

 
  iFinity Support Forum  DotNetNuke Modu...  Tagger Module  line 1 customization
Previous Previous
 
Next Next
New Post 7/9/2008 4:07 AM
  Lance Long
9 posts
No Ranking


line 1 customization 

Bruce,

Can this ...

  <  data name="defaultLine1.Text" xml:space="preserve">
    <  value><  /value>
  <  /data>

... be customized to use the page description?  My ignorance of .net is limiting me here.

 
New Post 7/9/2008 12:59 PM
  Bruce Chapman
572 posts
1st Level Poster


Re: line 1 customization 

Lance - you've got me stumped there - where is the xml you are entering?  Or did the forum software eat half of the post?

 
New Post 7/9/2008 2:35 PM
  Lance Long
9 posts
No Ranking


Re: line 1 customization 

This fragment is the default text of the first line from the ViewModuleTags.ascx.resx file.  So far I have removed  [enter line 1]  and  [enter line 2]  to save the select-n-delete step in administering the module.  I was hoping there would be a way to set the first line to the page description to save me some more time.

 
New Post 7/9/2008 6:42 PM
  Bruce Chapman
572 posts
1st Level Poster


Re: line 1 customization 
Modified By Bruce Chapman  on 7/9/2008 7:51:21 PM)

Ah, OK.  Yes, that will update the default value, but the file you've got is just a resource file and doesn't do anything active.

If you really want to have a go at hacking up the code and getting the value of the meta description, you could try doing it with a button and some javascript.

To get you started, insert this bit of code into your copy of edittags.ascx, next to the 'txtHeader' declaration.

create a button using the <button> element, and in the onlick event, put a bit of code in that looks for the content of the header using document.getElementById - the id is 'MetaDescription'.    THen find the text box by id or name, and set the value of the textbox to the value of the header on the button click event.

I did post the javascript but the editor kept eating it.  So you'll have to work it out this way!

 
New Post 7/10/2008 1:45 AM
  Lance Long
9 posts
No Ranking


Re: line 1 customization 

You should upgrade to Active Forums when 4.0 comes out  (there is a migration script available)   ;)

Thanks for the tip however.

 
Previous Previous
 
Next Next
  iFinity Support Forum  DotNetNuke Modu...  Tagger Module  line 1 customization
Can't find the answer?
 

If you can't find the answer and don't have time...try out the Premium Support service.  Get personal attention and get the problem fixed by an expert.

 

Support Guidelines.. Please read before posting

To get support on iFinity products and services, please search the forums for the the answer to the problem you are seeking. If you cannot find a solution, post a question in the relevant forum.   Ensure that you specify the relevant versions of the problem, and the actual error message or a detailed description of the problem.    You will need to register with this site to post on the forum.  If you have a Microsoft Live (Hotmail/Passport) account you can use that.  If you have a Open Id account you can use that.  If you neither of these, you will need to register a user Id and password.

If you wish, you can use the Premium Support Service for one-on-one support.