Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-12-15 21:02:41

fas.khan
Member
From: Paris
Registered: 2007-06-06
Posts: 41

Transforming design into Textpattern - Is this transformation possible

Hi,

First of all, I have a simple question about normal technique of making sites in textpattern. What i am doing is that I first created the HTML and then now (trying to) transforming it to TextPattern.

Is this how you all do ?

Now, my real query … I have made a design for which I am quite perplexed in converting into TextPattern. If you please see this page, you would understand it.

http://www.fasdez.com/mdg/prop2.php

This is a normal property posting page, and I want my enduser to enter (through admin( all these details for a property.

My problems are :-

1). How would he enter one main picture and then 4-6 other pictures (for a thumbnail view) for a single property?

2). How can I make specific fields of “Size”, “Location”, “Price” and “Description” and “Pictures” for every property, so that every property is added seamlessely by a user. Just straightaway like that … Add the Fields, upload the pictures, press the submit button and Voila !

Is this possible ?

Offline

#2 2007-12-15 21:36:04

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: Transforming design into Textpattern - Is this transformation possible

  1. hak_article_image
  2. Size, Location, Prize: custom fields; Description: body; Pictures: article image (see 1.)

Offline

#3 2007-12-15 22:10:26

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 4,732
Website

Re: Transforming design into Textpattern - Is this transformation possible

yes, to add to what Els said, in hak_article_image you can use the attributes offset and limit to treat the first image differently to the rest.


TXP Builders – finely-crafted code, design and txp

Offline

#4 2007-12-15 22:36:58

fas.khan
Member
From: Paris
Registered: 2007-06-06
Posts: 41

Re: Transforming design into Textpattern - Is this transformation possible

Would it also be possible to use that Ajax script with my images ?

Offline

#5 2007-12-15 23:50:06

iblastoff
Plugin Author
From: Toronto
Registered: 2006-06-11
Posts: 1,197
Website

Re: Transforming design into Textpattern - Is this transformation possible

yes its possible. you can generally throw anything you want at it. textpattern will output whatever you input. but saying something like “can i use ajax script with my images” means and tells us absolutely nothing.

Last edited by iblastoff (2007-12-15 23:51:00)

Offline

#6 2007-12-16 11:08:38

fas.khan
Member
From: Paris
Registered: 2007-06-06
Posts: 41

Re: Transforming design into Textpattern - Is this transformation possible

Actually you are wrong.

It tells something.

i.e. that I know nothing about textpattern … and I am a total newbie :-)

Thank you very very much for all you prompt replies.

I will come back after implementing it.

Offline

Board footer

Powered by FluxBB