Basic PAGE TYPE attribute questions

Permalink
Hi there,
I am very new here but getting on pretty well so far.

Outline:
property Company showing their portfolio.

Detail:
To the left of the image I have a list of particulars:
• Floor Space -----
• Status ---
• Completed -----

• Description

• Download Floorplan

I have set these up as custom attributes in the Page Type so the client can add or change the details with ease.

I was wondering a few things though:
1. For "Description" it is set up "text area" attribute but there is no scrollbar to review what you typed.

2. Again in "Description" when you hit return, this does not generate a paragraph break

3. For "Download Floorplan" How do I set and attribute to be a link to a PDF?

Am I doing it the right way? If anyone could help, that would be Diamond!!

thanks peeps of C5

D!!

dancer
 
teknojunkey replied on at Permalink Reply
teknojunkey
hello, when you add a text area to the page attributes there is a select option for the input format ... you can add your "rich text" editor preferences from here.

not so sure about the download file ...
cheers
pvernaglia replied on at Permalink Reply
pvernaglia
This should help with your PDF,

<?php
  if($c->getAttribute('attribute_name')) {
    echo '<a href="' . $c->getAttribute('attribute_name')->getVersion()->getRelativePath() .' ">Download PDF</a>';
  }
?>
(http://www.weblicating.com/c5/cheat-sheet/)