STF Child Element Of »

This little tidbit actually came as a suggestion from a colleague using OpenText at PennState University [http://www.psu.edu].

Quick preface note, when requesting that an editor enter a URL for a link, keep in mind that you do NOT have to use an anchor element for this. Standard Text Fields can be formatted to accept different values, including dates, emails, and best of all, URLs. This means the content entered by the editor will be rejected unless it contains an http:// and is void of spaces.

For my specific project, I was connecting images with corresponding URLs. For instance, I would have a picture of a professor conducting experiments and a corresponding link to a blog article explaining his latest research. There were multiple images with multiple corresponding links. The images and URLs needed to be connected in someway to ensure that the correct link was matched with the correct image.

Enter "Child element of".

I created the placeholder for the first image: img_main1
I created the corresponding link using a standard text field: stf_main1

While creating the stf_main1URL, I specified the "Type of field" as "URL". Then, on the same panel, under SmartEdit Properties -> "Child element of", I choose img_main1 from the dropdown menu.

childof1.png

Inside the template I placed one red dot for the img_main1:

<p><a href="<%stf_main1URL%>"><!IoRedDot_img_main1><%img_main1%></a></p>

SmartEdit users see one red dot for the image, but when they click on the red dot, both fields (img and stf) appear:

childof.png

This idea was the spring board for many more "custom" red dots that I use on the site. It's proved to be a handy grouping tool, in place of the broad "Edit Elements via Form" and the messy look of more than 5 red dots on one editable page. So far, it appears there is no limit to the number of Child Elements a parent element can contain.

Changing Standard HTM extension »

By default, OpenText publishes all pages as foo.htm. Changing the extension from htm to html is a quick simple process.Of course, you can change the extension by appending the file name on the property panel of each page:Though this is NOT best practice, as it requires redundancy, and only changes...

Asynchronous Process Woes »

Boy did I have a mini meltdown over this one!One day, publication ceased on one of our projects. I contacted RedDot Support. For 8 days they had me copy the project, export the project, rebuild the publication, publish to a different target, publish target on a different project, remove workflows,...

Check URLs »

VCU has purchased a Check URLs module for RedDot SmartEdit. Check URLs will check all the links for 404 Page Not Found errors to ensure that all your links are valid.Pages can be checked one at a time in SmartEdit by opening any RedDot, choosing "Actions" from the top menu,...

Publishing Reports and Errors »

Page # is empty, maybe not approved?Log into the CMS. From the left menu choose Tasks -> # Edit Pages -> Check all complete pages and click on "Submit to Workflow" button. If there is an approval flow for your department, your approver will need to release your page before...

SmartTree Favorites »

Here is a cool little tip I use frequently. SmartTree allows you the ability to set any page or content class as a favorite for quick future referencing.In SmartTree click on a frequently used content class or page. From the "Action Menu" choose "Add to Favorites"To retrieve your favorites list,...

Style Sheets in Firefox »

In general, advise your editors to use Internet Explorer 7.0. If you have used Firefox to log in to the CMS you may have noticed that your stylesheets do not translate through the CMS. The following steps will explain how to link your stylesheets in the CMS so that they...

Deleting Pages in the CMS/Deleting Pages on the Live Server »

When a website is established, a content editor may decide they no longer need a page. The editor can delete the page in SmartEdit and republish the site. When the site is republished, the page will be removed from the navigation. The page no longer exists in the CMS project....

Browser Issues (continually updated) »

IE8 -  use compatibility mode (08/10/09)Firefox - all versionsno SmartTreeno access to Navigation Manager or Edit Navigation Order in SmartEditFirefox 3.5 - "OK" "Cancel" buttons disappear in text editor....

Strange characters on the published page »

A number of editors have reported "weird characters" publishing inside their text. The CMS text editors (RedDot, FCK, and Telerik) have character sets determined by the OpenText server charset. In most cases, WYSIWYG editors like Dreamweaver automatically declare the pages charset when the design is developed. The current, most common...

Before creating new pages »

When creating new content classes it is important to fully establish their connections before creating new pages. When you attach a reference to a placeholder, for instance, each NEW page will reference the placeholder, but the existing pages will not pick up the reference. Here is a list of actions...

Running Searches »

The left hand menu of the CMS interface has a "Search" feature which can be quite powerful for running reports. Recently we created a new TS website for our unit. The old ts webpages were moved to http://old.ts.vcu.edu. The new TS website was considered a "soft launch" and was running...

Multiple Publishing Targets »

At our university we use different servers for database driven content and server side scripting. For instance pubinfo.vcu.edu is often used to reference faculty directories. But in any website, you may find that you need to publish pages in your project to two or more different URLs.To do this you...

Rad Text Editor »

With the upgrade from 7.5 to 9.0 a new text editor was introduced.Known issues include:a space before the text in table cellsnumeric bullets in text editor appear as 1-1 instead of 1-a, but render correctly on pagetext editor renders differently in IE8, includes a text height button which may be...

Exceptions for Particular Page »

As part of Best Practices, use as few foundation/Master Pages as possible for a project. For one particular site, I was delighted to see all the pages looked like they could be accommodated by one single template. Except one page. This index page did not display the headline of the...

Publishing and Searching Page ID »

For our Technology Services site we wanted the pages to be published as "1234.html" where "1234" is the page id number. This can be set up in SmartTree under General Settings. I also placed an info placeholder in each of the articles to have a page reference of that article...

Technology Services Weblogs

Need Help?

If you need immediate assistance, please contact the Help Desk at (804) 828-2227 or submit a ticket online. You can also submit feedback through our Feedback form above or leave a comment on specific blog entries.

Don't Get Phished

Don't be a phishing victim - VCU and other reputable organizations will never use email to request that you reply with your password, social security number or confidential personal information. Learn more about phishing »

Follow Us On Twitter

What is Technology Services?

Technology Services is responsible for implementing and supporting the technology used around campus, such as the network, phones, enhanced classrooms, and Internet-based systems including myVCU, Blackboard, email, and more.

Archives by Month

2009