Search found 44 matches

by mebots
Fri Jan 06, 2017 6:16 pm
Forum: Layout and Design (CSS & HTML)
Topic: News Module: Adding a Checkbox to display feature content
Replies: 5
Views: 4297

Re: News Module: Adding a Checkbox to display feature conten

Hello, Do you have create this field Featured after you already have added news items? If so you must walk through all news items and save them again, because the value of the Featured field doesn't exist in the table. See following code: Featured was made before filling news, Featured_after was mad...
by mebots
Fri Dec 30, 2016 12:05 am
Forum: Help Wanted (commercial)
Topic: need meta tags for news module, must work with pretty urls
Replies: 2
Views: 3204

Re: need meta tags for news module, must work with pretty ur

Hello, With here what I use in news for facebook, twitter, google+, linkedin: {if isset($entry->canonical)} Deel dit bericht:&nbsp;&nbsp; {* <a href="https://www.facebook.com/sharer/sharer.php ?u=https%3A%2F%2Fjonsuh.com%2F" target="_blank">Share on Facebook</a> *} <a hre...
by mebots
Thu Dec 29, 2016 11:59 pm
Forum: Layout and Design (CSS & HTML)
Topic: News Module: Adding a Checkbox to display feature content
Replies: 5
Views: 4297

Re: News Module: Adding a Checkbox to display feature conten

Hello,

If you change this:

Code: Select all

{if $entry->fields.Featured->value == 'true'}
to

Code: Select all

{if $entry->fields.Featured->value}
Is it then working?

to show the values you get back from ($items) use in top of your template the following line:

{$items|@print_r}
by mebots
Thu Dec 29, 2016 11:50 pm
Forum: Modules/Add-Ons
Topic: CompanyDirectory Pagination not working
Replies: 1
Views: 1105

CompanyDirectory Pagination not working

Hello,

The pagination is not working, when I click on the {$nextlink} the next page will be blank.

With here the tag:

{CompanyDirectory action="default" summarytemplate="Sample" pagelimit="12"}

Cms Version: 2.1.3
CompanyDirectory: 1.23.3
PHP: 7.0.14
by mebots
Tue Dec 27, 2016 8:26 am
Forum: Modules/Add-Ons
Topic: Company directory : few questions
Replies: 2
Views: 2002

Re: Company directory : few questions

Hello farangprod,

Any progress on your question, have the same problem here, especially with the reset button.

With regards,

Martijn
by mebots
Sun Jul 10, 2016 10:19 pm
Forum: Modules/Add-Ons
Topic: Company Directory [OnAddCompany, OnEditCompany]
Replies: 8
Views: 2701

Re: Company Directory [OnAddCompany, OnEditCompany]

He Jo Morg,

That is working, thank you.

Martijn
by mebots
Sun Jul 10, 2016 9:40 pm
Forum: Modules/Add-Ons
Topic: Company Directory [OnAddCompany, OnEditCompany]
Replies: 8
Views: 2701

Re: Company Directory [OnAddCompany, OnEditCompany]

Thanks Jo Morg, To bring me to the solution. Your code was not working $objCompany = $params["object"]; $status = $objCompany->getStatus; $id = $objCompany->getID(); but this is working $objCompany = $params["object"]; $status = $objCompany->__get('status'); $id = $objCompany->__...
by mebots
Sun Jul 10, 2016 5:20 pm
Forum: Modules/Add-Ons
Topic: Company Directory [OnAddCompany, OnEditCompany]
Replies: 8
Views: 2701

Re: Company Directory [OnAddCompany, OnEditCompany]

Hello Rolf, This is not working, because of cd_company Object ( [_data:cd_company:private] => Array ( in the user object it's simple: $user->id but in the company object it must be something like this $cd_company->_data["id"], but that is not working. User Object ( [id] => 1 [username] => ...
by mebots
Sun Jul 10, 2016 4:37 pm
Forum: Modules/Add-Ons
Topic: Company Directory [OnAddCompany, OnEditCompany]
Replies: 8
Views: 2701

Company Directory [OnAddCompany, OnEditCompany]

Hello, How to get the values of the company object on OnAddCompany or OnEditCompany in the Event Manager? With here a part of the company object: cd_company Object ( [_data:cd_company:private] => Array ( [status] => published [id] => 17 [company_name] => Aannemersbedrijf M.J. Smits B.V. [address] =>...
by mebots
Mon May 30, 2016 9:07 am
Forum: Modules/Add-Ons
Topic: LISE - Field Definitions Problem - SOLVED
Replies: 0
Views: 1090

LISE - Field Definitions Problem - SOLVED

Hello,

Have problem with LISE, the Field Definitions of a created instance are not loaded anymore (backend and templates), what can be wrong?

I see everything in the database.

Please help urgent.

SOLVED: Push the "Scan Field Definitions" in LISE.

With regards,

Martijn
by mebots
Mon Dec 15, 2014 4:28 pm
Forum: Developers Discussion
Topic: Create extra tab in admin content pages
Replies: 5
Views: 4721

Re: Create extra tab in admin content pages

Hello Jo,

Thank you for the reply, but I want only have a new tab on each content pages, and not a new contenttype.

Is this possible?
by mebots
Mon Dec 15, 2014 6:35 am
Forum: Developers Discussion
Topic: Create extra tab in admin content pages
Replies: 5
Views: 4721

Re: Create extra tab in admin content pages

Hello JohnnyB, That I know, but I don't want to place the line in the template but directly from my module in the content page, if you install advanced_content module you can see it if you switch on the option tab or if you install the frontendusers module then you see a new tab "views". H...
by mebots
Sun Dec 14, 2014 8:29 pm
Forum: Developers Discussion
Topic: Create extra tab in admin content pages
Replies: 5
Views: 4721

Create extra tab in admin content pages

Hello,

I'm looking to add an extra tab to the content pages in the admin.

Is there a way to do it with the module I'm writting?

Tia,
Martijn
by mebots
Wed Mar 19, 2014 9:35 am
Forum: Modules/Add-Ons
Topic: NMS sending error
Replies: 1
Views: 1054

NMS sending error

Hello,

Used NMS in all my projects, in the latest project I get the following SMTP error:
SMTP server error: 5.5.1 Error: nested MAIL command
Does someone have a idea what this is?
by mebots
Fri Mar 07, 2014 5:55 pm
Forum: Modules/Add-Ons
Topic: Products module search and result on one page
Replies: 4
Views: 1865

Re: Products module search and result on one page

Thanks JohnnyB and Rolf, the answer of Rolf was the trick for me.

Have still another question, how can I when someone search something, and it can not be found, give an error, instead of a blank screen.

Thanx,

Martijn

PS Rolf, ik ben een nederlander, dus je kunt ook in het nederlands antwoorden :)

Go to advanced search