Forums

2.5 Problems I'm having

Jim Nayzium 05 Mar, 2012
1. I cannot use the custom body-head-footer areas and have anything show up. I have read carefully the message at the top about how to enable the custom section or the default list view. THat makes perfect sense to me. When i do the default list view everythign works perfectly -- but when I disable that and then enter the body tags like {field_name} the actual shorthand code just displays like that --- but it displays for each record in the database so it is connecting and counting the rows, just not allowing me to display any data like the 1.5 versions did so easily and quickly.

2. Also, I cannot connect a form to edit the record from chronoconnectivity like I used to be able to. I also read the message here saying I needed my form app name to be ChronoConnectivity and I literally copied and pasted it from that messaage into my form app area and still I can get no form to show up in the drop down list to connect to from chronoconnectivity.

thanks.
GreyHead 06 Mar, 2012
Hi Jim Nayzium,

I've spent very little time with the new CC. I can get the Header Body & Footer boxes to display if I set Auto Listing to No on the Frontend List Settings tab.

I think that the Application is the new feature in the latest CF release. If you Click the Form Name link to open the form General tab, then click the Admin actions tab and scroll down you'll find the Form App box. Putting ChronoConnectivity in there should add it to the Front Form drop-down.

Bob
Jim Nayzium 07 Mar, 2012
I am having no problem viewing the Footer and Header when the menu has teh NO selected.

its the data rows that I cannot view in the BODY.

right now all I am trying to do is view the full_name and email fields from each record...

but instead of the data I just see the actual code repeated like this


{full_name} - {email}

{full_name} - {email}

{full_name} - {email}

{full_name} - {email}

{full_name} - {email}

{full_name} - {email}

{full_name} - {email}
GreyHead 08 Mar, 2012
Hi Jim Nayzium,

I don't know what's happening for you. I experimented a bit more and managed to get both {column_name} and PHP displaying.

Using #__content as the source table and this in the Body box
<tr>
<td>{title}: </td>
<td><?php echo substr(strip_tags($x_data['introtext']), 0, 50); ?></td>
</tr>

I get the output below:

Bob
Jim Nayzium 08 Mar, 2012
Here's what I got --


HEADER
{title}: Greetings Fellow Comedians! It is an awesom
{title}: The Christian Comedy Association is
{title}: The CCA Mentoring program is available to serve



So using the PHP seemed to work but not the short-cut brackets --- I pasted your code directly into the deal.

I am going to try and solve my issues now just using the straight PHP method maybe?

But I had already tried the old way
THe old way was $MyRow->column_name --- what would it be now? that didn't work.
Jim Nayzium 08 Mar, 2012
I was able to use the PHP echo method successfully using this syntax

$x_data['column_name']

So basically I can customize my entire deal now --- but there is something wrong with my version with the tag-brackets method --- but no worries I guess if you cannot recreate it.

I probably have something in rockettheme rocketlauncher conflicting with it or something.

BUT now --- my new problem is with with permissions.

I want my CC to be Super-Admin only on the front end -- under frontend permissions I only have super-user/admins selected but when I visit the url in teh browser no matter how I am logged in -- or not logged in -- I can still view this CC iteration of the deal.

Can you confirm that permissions are working with v4 for 2.5?

thanks.
Max_admin 08 Apr, 2012
Hi Jim,

This is a bit old but its better to answer🙂

The "$x_data" may work for now, but it will be changed in the new versions to "$row"

Regarding the permissions, please test the latest release, it has inheritable permissions and should be more stable.

Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
carvalhorj 24 Apr, 2012
Hey, Max, GreyHead

Following this topic I have gos a question:

I am doing all Custom Lists using a Model Id

the

{model1.valor}

syntax works just fine, but because it is a value, I want to be able to format it.

How should I do it?

<?php echo number_format($x_data[valor], 2, '.', ',');?>

<?php echo number_format($x_data['model1.valor'], 2, '.', ',');?>

<?php echo number_format($x_data['model1[valor]'], 2, '.', ',');?>

<?php echo number_format($x_data[model1['valor']], 2, '.', ',');?>


Help would be appreciated.

Thanks
GreyHead 24 Apr, 2012
Hi cavalhorj,

It would be $x_data['model1']['valor']

Or in the current version I think it is $row instead of $x_data

Bob
Max_admin 24 Apr, 2012
Hi,

Sorry, this is a bit confusing but here is the correct solution:

the "." is a sub array, so {model1.valor} should be:
['model1']['valor']


The main data var in the RC2 is:
$x_data


But in RC3 and later it should be $row

So you should use:
$x_data['model1']['valor']
for now but you will need to modify it later.

Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
carvalhorj 25 Apr, 2012
Hi guys

You have got an absolutely amazing product. Once you get your head around the new paradigms, there is very little you can't do. The "Model" concept is absolutely stunning. Well done.
Max_admin 27 Apr, 2012
Glad you like it!🙂

But there are even more to explore, I just need to finish some stuff then will try to prepare some tutorials, hopefully in the near future.

Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
This topic is locked and no more replies can be posted.