content

typo3 problem with content templates rendering

Hi, I've got a strange problem connected with content rendering. I use following code to grab the content: lib.otherContent = CONTENT lib.otherContent { table = tt_content select { pidInList = this orderBy = sorting where = colPos=0 languageField = sys_language_uid } renderObj = COA renderObj { 10 = TEXT...

Sending required mail content using mail.jar and activation.jar

Guys, Am using mail.jar and activation.jar as classpath and have programmed a automatic mail sending and it works fine. In my program, the content is declared as a String. But my requirement is, I need to retrieve few of the counts from different tables of my SQL DB and attach the same in my content of the mail. I think declaring the ...

Optimal delivery method for a large quantity of images

I have a website centered around an online chat application where each user can have up to several hundred contacts. Each contact has there own profile image. I want to make it so that the contact's profile image is loaded next to there name. However, having the user download 100+ images every time they load the site seems intensive (Stu...

best way to check a empty array?

hello! how can i check a array recursively of empty content like this example Array ( [product_data] => Array ( [0] => Array ( [title] => [description] => [price] => ) ) [product_data] => Array ( ...

jquery add <br> to h2 if h2 contains this word

if the h2 has the word ply i want to add a break. the titles are dynamically called, the site is html so i can't use php on anything. heres the h2 11/400-5 4 PLY EXPERIMENTAL TIRE AIRCRAFT TIRE want it to look like this 11/400-5 4 PLY EXPERIMENTAL TIRE AIRCRAFT TIRE so any title that has the word PLY in it will add a break right af...

Content download from within a Windows client - Best Practices

Our application is a Windows client (C++/MFC migrating to C#) that uses SQL Server Express as its data store. We release regular updates to the data the application works with. (Our users use the content data we provide as a basis for their own projects built using the client; the database stores their projects as well, to enable collab...

SQL Searching Error in Content

Hi everyone, we are having an issue searching in the ContribContent Function. The StaticContent works fine, but the system will not search for CC. The issue is this stored procedure is meant to search for content on an informational website there are three datatables involved: StaticContent (written by our content team), ContribCo...

Splitting a long page into a number of pages

I want to pull a dynamic content, which consists of a long text input with some images, into a div with a fixed width (300px) and height (1000px), the challenge is I cannot use overflow: auto in css when the content's length is exceeding the div's height (1000px), instead, I am asked to split the long content into pages with a pagination...