Using CP 2.0 with EasyTable Pro

  • rvennix
  • Autore della discussione
  • Offline
  • Nuovo Utente
  • Nuovo Utente
Di più
12 Anni 8 Mesi fa #578 da rvennix
Using CP 2.0 with EasyTable Pro è stato creato da rvennix
Hi,

I would very much like to use CP with EasyTable Pro on J1.5. I have large data tables to maintain, for which EasyTable is very suitable, but only with an extension like CP the data would be really easy to access.

I found that pages with EasyTables are not available in CP. You mention integration with sh404SEF on your site. This extension also works fine with EasyTable, any suggestions how I might get CP and EasyTable working together?

Regards,

Richard

Si prega Accesso o Crea un account a partecipare alla conversazione.

Di più
12 Anni 8 Mesi fa #581 da andrea_4g
Risposta da andrea_4g al topic Re: Using CP 2.0 with EasyTable Pro
Hi,
compatibility with Joomla extensions can in most circumstances be achieved by creating the suitable content element connector .
Current CP packages include only connectors for some popular extension among the thousands available.

Si prega Accesso o Crea un account a partecipare alla conversazione.

  • rvennix
  • Autore della discussione
  • Offline
  • Nuovo Utente
  • Nuovo Utente
Di più
12 Anni 8 Mesi fa - 12 Anni 8 Mesi fa #589 da rvennix
Risposta da rvennix al topic Re: Using CP 2.0 with EasyTable Pro
Hi Andrea,

Thanks for the pointer. I'll try to make such a Content Element Connector. I'll let you know if I can get it to work.

Greets,


Richard
Ultima Modifica 12 Anni 8 Mesi fa da rvennix.

Si prega Accesso o Crea un account a partecipare alla conversazione.

  • rvennix
  • Autore della discussione
  • Offline
  • Nuovo Utente
  • Nuovo Utente
Di più
12 Anni 8 Mesi fa - 12 Anni 8 Mesi fa #595 da rvennix
Risposta da rvennix al topic Re: Using CP 2.0 with EasyTable Pro
Hello Andrea,

I got the connector to install and I can assign tags to records from a EasyTable Record, but I get an error message when testing it at the front end. Maybe you can help me out.

I am configuering Joomla locally, it's not accessable from the outside, but maybe the information I inserted gives you a clou:

"/index.php?option=com_customproperties&view=show&task=show&Itemid=67&bind_to_section=8%2C2%2C5%2C3%2C7%2C6%2C1%2C4&bind_to_category=10%2C11%2C2%2C14%2C16%2C5%2C3%2C13%2C17%2C4%2C15%2C1%2C6%2C12%2C18%2C7%2C8%2C9&cp_property1=High+tensile+strength%2C+up+to+100%2C000+MPa&cp_general_search=&cp_text_search="

EasyTables does notcontain sections or categories.
Code:
<?xml version="1.0" encoding="utf-8"?> <!-- easy table pro ver: 1.0.0 assign tags: yes search : yes image preview: no plugin works: yes support archived state: only content --> <contentelement type="customproperties" ordering="18" active="0"> <name>EasyTable Pro</name> <author>Richard Vennix</author> <version>1.0.0</version> <description>Content Element for EasyTable Pro element</description> <content_table required="1"> <table name="table" required="1">easytables_table_data_35</table> <field name="label" type="text" required="1">EasyTable</field> <field name="id" type="fieldname" required="1">id</field> <field name="title" type="fieldname" required="1">material</field> <field name="title_alias" type="fieldname" required="0">material</field> <field name="sectionid" type="fieldname" required="0"></field> <field name="catid" type="fieldname" required="0"></field> <field name="created" type="fieldname" required="0"></field> <field name="introtext" type="fieldname" required="1">material-type</field> <field name="fulltext" type="fieldname" required="0">material-category</field> <field name="state" type="fieldname" required="1">published</field> <field name="state_values" type="text" required="0">1</field> <field name="access" type="fieldname" required="0"></field> <field name="publish_up" type="fieldname" required="0"></field> <field name="publish_down" type="fieldname" required="0"></field> <!-- if images is set, images_dir is required --> <field name="images" type="fieldname" required="0"></field> <field name="images_dir" type="text" required="0"></field> <field name="ordering" type="fieldname" required="0"></field> <!-- following pars are ues to put together the url to open the detail view of the content item e.g. option=com_content&task=view&id=<replaced with id> Joomla 1.5 supports the view model, so it is avisable tu use 'href_view' instead of href_task - slug links generates links as id:title-alias --> <field name="href_option" type="text" required="1">com_easytablepro</field> <field name="href_task" type="text" required="0"></field> <field name="href_view" type="text" required="1">easytablerecord/35-material</field> <field name="href_id" type="text" required="1">id</field> <field name="slug_links" type="text" required="0"></field> <field name="href_catid" type="text" required="0"></field> </content_table> <!-- required fields of category table , are required only if category table exists --> <category required="0"> <table name="table" required="1"></table> <field name="cat_table_id" type="fieldname" required="0"></field> <field name="cat_table_title" type="fieldname" required="0"></field> <field name="cat_table_alias" type="fieldname" required="0"></field> <field name="cat_table_published" type="fieldname" required="0"></field> <field name="cat_table_ordering" type="fieldname" required="0"></field> <!-- Link to a section table. It can be a combination of a table and a field, or a string to filter the category id with --> <field name="cat_parent_section_table" type="table" required="0"></field> <field name="cat_parent_section_field" type="fieldname" required="0"></field> <field name="cat_section_filter" type="text" required="0"></field> </category> <!-- required fields of section table , are required only if section table exists --> <section required="0"> <table name="table" required="1"></table> <field name="sec_table_id" type="fieldname" required="0"></field> <field name="sec_table_title" type="fieldname" required="0"></field> <field name="sec_table_alias" type="fieldname" required="0"></field> <field name="sec_table_published" type="fieldname" required="0"></field> <field name="sec_table_ordering" type="fieldname" required="0"></field> </section> </contentelement>

I hope you can help me. Thanks in advance

Cheers,

Richard
Ultima Modifica 12 Anni 8 Mesi fa da andrea_4g. Motivo: code formatting

Si prega Accesso o Crea un account a partecipare alla conversazione.

Di più
12 Anni 8 Mesi fa #596 da andrea_4g
Risposta da andrea_4g al topic Re: Using CP 2.0 with EasyTable Pro
Hi,
I spotted some possibly wrong things:
Code:
<field name="href_view" type="text" required="1">easytablerecord/35-material</field>
Href_view is the word that comes after 'view=' in the URL, when you are viewing an EasyTable table. It must be a non SEF string. SEF hides the value you are supposed to use as href_*.
Code:
<field name="title" type="fieldname" required="1">material</field> <field name="title_alias" type="fieldname" required="0">material</field>
Two different fields with the same name is not OK. Chances are that the 'alias' fields is not in the table.

Anyway, it's impossible to know which value goes to where, because I don't know how the DB table is designed. If you wish we can provide you with the content element development service, for a very reasonable price. If interested, send us an email.

A word of advice, unrelated to the CE topic:
Binding to category / section is often not useful and redundant.
The only scenario where it really makes sense is when you have items tagged with the same tags (eg colour), in different categories and you want a dedicated search module for each category (eg. "Search Socks", "Search Shirts", etc).

Si prega Accesso o Crea un account a partecipare alla conversazione.

  • rvennix
  • Autore della discussione
  • Offline
  • Nuovo Utente
  • Nuovo Utente
Di più
12 Anni 8 Mesi fa - 12 Anni 8 Mesi fa #608 da rvennix
Risposta da rvennix al topic Re: Using CP 2.0 with EasyTable Pro
Hi Andrea,

I'm still trying to get CP and EasyTable to work together and one thing I noticed is that EasyTables uses 'rid' where CP uses just 'id' URL's:

option=com_easytablepro&view=easytablerecord&id=3&id=47 will generate an error while option=com_easytablepro&view=easytablerecord&id=3&rid=47 will open the page just fine.

Is there easy way to work around this for this specific content element?

Thanks in advance.

Regards,

Richard
Ultima Modifica 12 Anni 8 Mesi fa da rvennix.

Si prega Accesso o Crea un account a partecipare alla conversazione.

Tempo creazione pagina: 0.145 secondi