Helpful ReplyLockedHTML Source Tab In TinyMCE, Canonical Tags & Custom SQL Questions

Author
ec
vNext Owner (f)
  • Total Posts : 5
  • Reward points : 1400
  • Joined:
  • Status: offline
0

HTML Source Tab In TinyMCE, Canonical Tags & Custom SQL Questions

Hello,
I am currently evaluating a 3.9 trial install and have a few questions.
  1. I would like to have a HTML Source tab in the TinyMCE Editor, I gather that this is what the PGDCode is for but nonetheless I would still like it, at least for admins, mods and other elevated privileged users.
  2. I read a post on this site stating that in version 3.9 canonical tags would be introduced, in my current installation the tags do not exist, is this a lic. only feature or has it been removed? This feature is quite important to me.
  3. I would like to have the ability to exec my own stored procedures for pages that currently do not exist such as an custom RSS feed of pending registrations and posts waiting for moderation as well as a custom sitemap.txt and sitemap.xml file for Google Webmaster tools.
#1
APGvNext (Sam)
vNext Dev
  • Total Posts : 12482
  • Reward points : 218330
  • Joined:
  • Status: offline
Re:HTML Source Tab In TinyMCE, Canonical Tags & Custom SQL Questions (permalink) ☄ Helpful
0
Hi EC,
 
Thanks for testing the software. Let me answer your questions one by one:
  1. You can add it via code or config file:
    1. code: in ~/App_Templates/Theme_Name/UC/postingInterface.ascx, you should see a block of code:
              With body.ConfigOptions
                  .Add("lang_ToggleSpellChecker", EditorLang("editorSpellChecker"))
                  .Add("lang_SmileyFaces", EditorLang("editorSmileyFaces"))
                  .Add("lang_AttachFiles", EditorLang("editorUpload"))
                  .Add("lang_SourceCode", EditorLang("editorSourceCode"))
                  .Add("lang_Quote", EditorLang("editorQuote"))
                  .....

      Add
      .Add("theme_advanced_buttons3_add", "'|,code'")
      to the end of the With block.
    2. Configuration File: ~/NewEditor/LgConfig.xml
      You can find <option name="theme_advanced_buttons3">, and all you have to do is add code to the end of the list, maybe with a , (comma) in front of pgdcode.
  2. Canonical tag is only available on the home page, forum page, message page, and various listing pages (Active posts / Today's Posts) for the current version. You can examine the source code and you will find it.
  3. Sure, you can execute any stored procedure on any page you'd like to create... maybe I am not following what you mean. You can use our DataHelper class to simplify the process:
    DataHelper.GetSqlDataSet
    DataHelper.GetSqlDataTable
    DataHelper.ExecSQL
    etc.
Thanks and feel free to let me know if you have other questions.
#2
ec
vNext Owner (f)
  • Total Posts : 5
  • Reward points : 1400
  • Joined:
  • Status: offline
Re:HTML Source Tab In TinyMCE, Canonical Tags & Custom SQL Questions (permalink)
0
Samuel
Sure, you can execute any stored procedure on any page you'd like to create... maybe I am not following what you mean. You can use our DataHelper class to simplify the process:
  1. DataHelper.GetSqlDataSet
    DataHelper.GetSqlDataTable
    DataHelper.ExecSQL
    etc.

 
Regarding the point above, I was looking in the DAL namespace and didn't see these, thanks for everything. If everything goes well we are considering purchasing a non-branded lic. early next week. We are going to be needing the SIP installation as well, does that come as a DLL? Also can I get a trial lic. to get rid of the msgbox for testing purposes?
 
Thanks
#3
APGvNext (Sam)
vNext Dev
  • Total Posts : 12482
  • Reward points : 218330
  • Joined:
  • Status: offline
Re:HTML Source Tab In TinyMCE, Canonical Tags & Custom SQL Questions (permalink)
0
Thanks for your reply first. To answer your questions:
  1. Trial License download: Point 2 on this page:
    http://www.aspplayground....-39-Final-m397440.aspx
    Once you place the license file, the software will automatically be in trial mode. Also, if it doesn't, you can go to the AdminCP -> Software Activation (make sure you are logged in first as the system admin, member ID = 0), and import the license file.
  2. The DataHelper class is within the ASPPG namespace. So, just import ASPPG, and you will get intellisense when you type DataHelper. All methods are static (Shared).
  3. Sorry to say that the SIP is only available when you purchase the software.
#4
Jump to:
© 2013 APG vNext Commercial Version 4.3