Good to hear you made it work. As for the "healthy code" bit, I don't
like the all over the place personally, but if it works,
this is simply an issue of style preference.
This would be my preference:
image('pdf-icon.gif', array('alt'=>'',
'style'=>'vertical-align: bottom; margin-right: 5px'));
Oh wow, I seemed to of corrected it to make it work, it seems to work
fine now with the following adjusted on the first line:
image('pdf-icon.gif', array('alt'=>'',
'style'=>'vertical-align: bottom; margin-right: 5px'))
?>link('Information', UPLOADS_URL . "/{$job['Job']
['information_doc']}", a
This is unfortunately something you will have to solve yourself, or
with the assistance of a local PHP expert. Perhaps you can find a
decent PHP IDE/editor that will highlight mistakes. Or you could try
right-clicking and "view source" on the HTML to see the error. Or
check the logs of your webser
Hi Wayne
After I made my last post I could see that the changes probably should
be made in the "view.ctp" file.
I put in the code you sugested, (I'm 99.9% sure I did it correctly)
but the job listings pages come up completely blank.
Is it becuase the syntax (is that what you call it?) has a mista
Yes, you would alter the view.ctp file. Something along these lines...
Wayne
> AND THE FOLLOWING IS THE view.ctp FILE
>
Application Pack
image('pdf-icon.gif', array('alt'=>'',
'style'=>'vertical-align: bottom; margin-right: 5px')) ?>link('Application Form', UPLOADS_URL . "/{$
Wayne,
I just worked out how to remove "not null" in the "information_doc"
entry in the DB, so that you dont have to attach a file.
But as I said previously I dont really know any thing about cakephp/
php.
How can I make the "Information" download link only appear if there is
a file uploaded for i
I would have a db entry that indicates if Information (and the other
PDF files) has been uploaded with a true/false indicator stored in the
db. Then you simply show or hide the link depending on the indicator.
This should be super simple for you to implement.
Wayne
On Thu, Sep 4, 2008 at 8:20 A
Ok' I'll donate to the project.
The school job board is nearly useable now!
The last thing I need to do is make it so the "Information" download
in the "application pack" section only apears if you upload a file for
it.
If I get the "jobs_controller.php" and "view.ctp" available (or the
relevan
On Sep 2, 1:50 am, kujina <[EMAIL PROTECTED]> wrote:
> The $5 goes to AD7six!!!
$kujina->donate('http://www.cakephp.org');
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, sen
The $5 goes to AD7six!!!
On Sep 2, 12:11 am, AD7six <[EMAIL PROTECTED]> wrote:
> On Sep 2, 12:47 am, kujina <[EMAIL PROTECTED]> wrote:
>
> > Thanks for the reply.
>
> > I'm at a losss really, as I didnt put this together and I have no
> > familiarity with cakephp.
>
> > Can give me more detail?
>
On Sep 2, 12:47 am, kujina <[EMAIL PROTECTED]> wrote:
> Thanks for the reply.
>
> I'm at a losss really, as I didnt put this together and I have no
> familiarity with cakephp.
>
> Can give me more detail?
>
> I'll paypal $5 if somebody can lead me to sorting this ; )
move uploads alongside css
Thanks for the reply.
I'm at a losss really, as I didnt put this together and I have no
familiarity with cakephp.
Can give me more detail?
I'll paypal $5 if somebody can lead me to sorting this ; )
--~--~-~--~~~---~--~~
You received this message because you are
look at previous posts on routing. You need to either use some rule
in .htaccess or add some custome routes.
cakephp is expecting to see a controller called uploads..
On Sep 1, 8:36 pm, kujina <[EMAIL PROTECTED]> wrote:
> Please check out my simple job board here:
>
> http://82.34.51.7/jobboard
Please check out my simple job board here:
http://82.34.51.7/jobboard
My problem is with the "Application Pack" documents, the url path to
the file is not complete!
When you click to open a file, this error displays "Error: The
requested address '/uploads/App-Form_010908-202743.doc' was not fou
14 matches
Mail list logo