Search found 101 matches

by irish
Wed May 11, 2011 2:34 pm
Forum: The Lounge
Topic: issue setting up HTTPS
Replies: 1
Views: 1360

Re: issue setting up HTTPS

bump

Any ideas anyone
by irish
Sat May 07, 2011 2:55 pm
Forum: The Lounge
Topic: issue setting up HTTPS
Replies: 1
Views: 1360

issue setting up HTTPS

There are some of my pages that I want to make secure (SSL) but I'm having issues with it. I tried just setting the 'Use HTTPS for this page:' but when I checked this box, the page would then get a 'The page isn't redirecting properly' in Firefox and wouldn't load in IE. I then set up a UDT and adde...
by irish
Sat May 07, 2011 2:31 pm
Forum: The Lounge
Topic: Different editors for different pages - possible?
Replies: 2
Views: 1726

Re: Different editors for different pages - possible?

When you create a webpage (e.g. Content > Pages) in the options tab there is an Additiona Editors field where you can select who can edit the page. Will that work?
by irish
Sat May 07, 2011 2:27 pm
Forum: Developers Discussion
Topic: Advice on a module to add data to database
Replies: 2
Views: 1532

Re: Advice on a module to add data to database

Did you get this sorted? You just need to store it in the database as normal. I can give you a hand with this for a nominal fee if you wish.
by irish
Sat May 07, 2011 2:24 pm
Forum: Developers Discussion
Topic: mact unset
Replies: 1
Views: 1562

Re: mact unset

You're instantiating you parent class inside a method instead of in your construct, try adding this to your class.

Code: Select all

function __construct(){
		parent::CMSModule();	
	}
Then remove the

Code: Select all

parent::CMSModule();	 
from the createForm method.
by irish
Sat May 07, 2011 2:19 pm
Forum: Developers Discussion
Topic: Autoloading classes within module
Replies: 1
Views: 1352

Re: Autoloading classes within module

This may not be the best way, but here is how I do it. In the MODULENAME.module.php before the class opener put in the include file to the class you want to autoload. include_once(dirname(__FILE__).'/Another.class.php'); class MyModule extends CMSModule On the same file add the construct and initiat...
by irish
Sat May 07, 2011 2:13 pm
Forum: The Lounge
Topic: Export XML
Replies: 1
Views: 1432

Re: Export XML

Yes, it's possible. It wouldn't be the easiest of tasks but it is possible. You would need to dump the the content form cms_content_props to each XML file make your changes then upload the XML parse out the content and update the database table.
by irish
Thu Jan 06, 2011 10:11 pm
Forum: Modules/Add-Ons
Topic: CGBlog detail page with list of teasers
Replies: 7
Views: 3120

Re: CGBlog detail page with list of teasers

working again
by irish
Thu Jan 06, 2011 4:59 pm
Forum: Modules/Add-Ons
Topic: CGBlog detail page with list of teasers
Replies: 7
Views: 3120

[Solved] CGBlog detail page with list of teasers

Yaahoo, got it! I used smarty's capture function to capture the main post first, ran the 5 teasers template and then displayed the main post. Thanks for you help. {* set a canonical variable that can be used in the head section if process_whole_template is false in the config.php *} {if isset($entry...
by irish
Thu Jan 06, 2011 4:52 pm
Forum: Modules/Add-Ons
Topic: CGBlog detail page with list of teasers
Replies: 7
Views: 3120

Re: CGBlog detail page with list of teasers

I tried adding the inline="1" and inline="0" it didn't make any difference. I just tried something else, I moved this code in the detail template to the bottom of the template. It works now but I can't get it to display on the top-right of the page. I tried using CSS but it's not...
by irish
Thu Jan 06, 2011 3:07 pm
Forum: Modules/Add-Ons
Topic: CGBlog detail page with list of teasers
Replies: 7
Views: 3120

Re: CGBlog detail page with list of teasers

Thanks for the reply. <!-- Start CGBlog Summary Template "tasters" --> {foreach from=$items item=entry} <div class="CGBlogSummary"> {if $entry->postdate} <div class="CGBlogSummaryPostdate"> <h3>{$entry->postdate|cms_date_format}</h3> </div> {/if} <div class="CGBlog...
by irish
Thu Jan 06, 2011 11:37 am
Forum: Modules/Add-Ons
Topic: CGBlog detail page with list of teasers
Replies: 7
Views: 3120

CGBlog detail page with list of teasers

I want to add a list of five other blogs to the details page. So here is what I did: 1. Created a new summary template that only displays date and title of the blogs 2. added {CGBlog summarytemplate="tasters" pagelimit="5"} to details template The five blog titles display fine bu...
by irish
Fri Dec 10, 2010 12:53 pm
Forum: Developers Discussion
Topic: set a template with RegisterRoute?
Replies: 0
Views: 1125

set a template with RegisterRoute?

I have set up a registerroute on a module: $this->RegisterRoute('/[rR]etail\/cid\/(?P<idContact>[^[:space:]]+)\/(?P<returnid>[0-9]+)$/', array('action'=>'prefform','showtemplate='=>'Retail')); How do I set a template for that specific page? I tried this but it doesn't work: $this->RegisterRoute('/[r...
by irish
Thu Sep 23, 2010 3:20 pm
Forum: Modules/Add-Ons
Topic: [solved] Uploads module error array_to_hash
Replies: 15
Views: 5914

Re: Uploads module error array_to_hash

issue fixed, update to latest version uploads 1.11.5.
by irish
Tue Sep 14, 2010 1:48 pm
Forum: Modules/Add-Ons
Topic: [solved] Uploads module error array_to_hash
Replies: 15
Views: 5914

Re: Uploads module error array_to_hash

Thanks for the reply, I am using a category parameter.

cms_module module="Uploads" category="ContactsUpload" mode="upload"

Go to advanced search