Hi Jan,
"Phocagallery"?
Hmmm, in Phocaguestbook I guess it will be:
/components/com_phocaguestbook/views/phocaguestbook/view.html.php
I'd added an echo under:
Code: Select all
//Create new object, if user fill not all data, no redirection and he gets the data he added (he doesn't loss it)
...
//Title
if (isset($post['title'])) {$formdata->set('title',
echo 'Placeholder for Numbering'
$post['title']);}
else {$formdata->set('title', '');}
O.k., I have no idea for php for real, I used the method "trial and error".
In this case I'm unsure how the code realy works.
I hoped this area is for displaying the entry of the DB on screen, but it seems to be the generation of the values for the variables, isn't it?
Any idea, where I can add the variable for numbering?
Sorry for asking silly questions.
Kind Regards
Michael
P.S.: I've found a little "bug": a Date hasn't to be displayed with spaces in format dd.mmm.yyyy, therfore, I'd changed the entry in PARAMS:
Code: Select all
case 3:
$tmpl['date_format'] = '%d.%m.%Y';
break;
It's only a little "optimation", unfortunately I'm not able to support pgb in a more usefully way.