Search found 14 matches

by DiH
Fri Jan 20, 2012 1:36 pm
Forum: CMSMS Core
Topic: News category vs. detail page
Replies: 0
Views: 628

News category vs. detail page

Hello, My question is, how does the News module know, in which page to open the news belonging to specific category? My english news ("en" news category) open in english section of the page, swedish ones in swedish etc. The reason I'm asking is because I'd like to change the default page f...
by DiH
Thu Nov 24, 2011 10:26 pm
Forum: Modules/Add-Ons
Topic: TinyMCE problems in 1.10.1 navigating upload folders
Replies: 19
Views: 4972

Re: TinyMCE problems in 1.10.1 navigating upload folders

Setting static config helped. Saved my ass. Thanks!
by DiH
Sat Oct 29, 2011 9:10 am
Forum: Modules/Add-Ons
Topic: [SOLVED] CGBlog -> Detail Template + Pretty Urls
Replies: 6
Views: 2974

Re: [SOLVED] CGBlog -> Detail Template + Pretty Urls

The only way I managed to solve it, was to make a few if statements in the default template, and then just paste template layout inside the if block, thus creating monstrously huge and messy template file. Yet, it works.

Would be great to finally have it fixed in the module itself.
by DiH
Thu Oct 27, 2011 5:47 am
Forum: Modules/Add-Ons
Topic: CGBlog and CMSMS 1.10 - no "remove field" button?
Replies: 7
Views: 2715

Re: CGBlog and CMSMS 1.10 - no "remove field" button?

Thanks for your reply. Perhaps I'll try to re-install it after cleaning all of the files and db, as currently I'm working on a re-installed version (files untouched, just standard install procedure). Perhaps it's a fault of that re-install, but when I insert {content_image block="Image_1"}...
by DiH
Thu Oct 27, 2011 2:13 am
Forum: Modules/Add-Ons
Topic: CGBlog and CMSMS 1.10 - no "remove field" button?
Replies: 7
Views: 2715

CGBlog and CMSMS 1.10 - no "remove field" button?

Seriously, I have CMSMS v 1.10, installed the latest CGBlog and there is no such button. <td> where it should be is empty.

I checked it on 1.9.4.3, where I installed CGBlog somewhere like 2 weeks ago and everything is ok.
by DiH
Sat Apr 09, 2011 7:14 pm
Forum: Modules/Add-Ons
Topic: New Module: CGFBApp
Replies: 18
Views: 8060

Re: New Module: CGFBApp

The attribute name is href, which would make me think that this should be URL, not content of the $entry. Have you tried $entry->link or $entry->moreurl ?
by DiH
Thu Apr 07, 2011 6:30 pm
Forum: Modules/Add-Ons
Topic: New Module: CGFBApp
Replies: 18
Views: 8060

Re: New Module: CGFBApp

I know it might not be relevant but class.cgfb_og_smarty.php line 152 is:

Code: Select all

$data['og:site_name'] = get_site_preference('[b]sitenae[/b]','CMSMS Site');
whereas it should be:

Code: Select all

$data['og:site_name'] = get_site_preference('[b]sitename[/b]','CMSMS Site');
by DiH
Thu Apr 07, 2011 5:44 pm
Forum: Modules/Add-Ons
Topic: New Module: CGFBApp
Replies: 18
Views: 8060

Re: New Module: CGFBApp

Hey I actually want to display "Like" button next to every News article in my summary list. So, on one page I have 5 articles, each one of them with Like button. They do work and add a proper link, but on Facebook wall the title of the page and decription come from the page that all news a...
by DiH
Sun Jan 16, 2011 5:42 pm
Forum: Polish - Polski
Topic: Get parent alias
Replies: 3
Views: 3099

Re: Get parent alias

Thanks, I'll try it out. But actually, getting parent alias isn't a problem for me. With the code I've used I was able to access whatever parent I wanted - whether it was only one level above in hierarchy, three, or four etc.
by DiH
Sun Jan 16, 2011 12:08 am
Forum: Polish - Polski
Topic: Get parent alias
Replies: 3
Views: 3099

Get parent alias

Witam. Zwracam się z pytaniem dlaczego poniższy kod, dodany jako UDT działa w wersji 1.8.2 CMSMS, a w wersji 1.9.2 już nie, wywalając błąd: Call to a member function Alias() on a non-object in /home/jakassciezka/_cms/archives/lib/content.functions.php(975) : eval()'d code on line 22 Ewentualne rozwi...
by DiH
Fri Nov 12, 2010 12:28 pm
Forum: [locked] Installation, Setup and Upgrade
Topic: mysql create table syntax needs a change
Replies: 6
Views: 2747

Re: mysql create table syntax needs a change

I did that, but the script did not let me use dot (.), so I changed the regex in CMSInstaller.class.php, on line 204 to: && !preg_match('/^[a-zA-Z0-9._]+$/', trim($_POST['prefix'])) ) I moved to created tables, but they all fail create... Creating additional_users table... [failed] ... Impor...
by DiH
Thu Nov 11, 2010 2:00 pm
Forum: [locked] Installation, Setup and Upgrade
Topic: mysql create table syntax needs a change
Replies: 6
Views: 2747

Re: mysql create table syntax needs a change

I modified \install\lib\classes\CMSInstaller.class.php

line 237: $result = $db->Execute('CREATE TABLE user.' . $db_prefix . 'dummyinstall (i int)');
and
line 240: $result = $db->Execute('DROP TABLE user.' . $db_prefix . 'dummyinstall');

but it didn't work either.
by DiH
Thu Nov 11, 2010 1:51 pm
Forum: [locked] Installation, Setup and Upgrade
Topic: mysql create table syntax needs a change
Replies: 6
Views: 2747

Re: mysql create table syntax needs a change

Thank you for your response. But isn't config.php file empty before installation is complete?
by DiH
Thu Nov 11, 2010 12:36 pm
Forum: [locked] Installation, Setup and Upgrade
Topic: mysql create table syntax needs a change
Replies: 6
Views: 2747

mysql create table syntax needs a change

Hello, I'm try to install CMSMS 1.8.2 on server with php5.2 and everything that's needed to work is fulfilled. I'm stuck on step 5 because the script cannot create tables in my database. I tried a lot of stuff and I found a solution. In order to create a table on my host I have to use this syntax: C...

Go to advanced search