Search found 23 matches

by Cobby
Sun Mar 09, 2008 1:56 am
Forum: Developers Discussion
Topic: Changed to RegisterRoute, now menu not working.
Replies: 1
Views: 1377

Changed to RegisterRoute, now menu not working.

Hi, Developing my own module and haven't had much experience with the module API. When I first started off, I was using GET variables and finding their in value the DoAction function. I have since changed to RegisterRoute to allow for pretty URLs. That all working fine, except one part; the CMS no l...
by Cobby
Sun Jul 01, 2007 8:45 am
Forum: Developers Discussion
Topic: Pagination for news articles.
Replies: 11
Views: 9919

Re: Pagination for news articles.

I got it working! All is good now, thanks for your help alby. When my website is finished I will add it to the dev area for others to use.
by Cobby
Sat Jun 23, 2007 8:41 am
Forum: CMSMS Core
Topic: [SOLVED]-Database Connection failed
Replies: 0
Views: 3856

[SOLVED]-Database Connection failed

Hi all, Just went to edit the config.php to get pretty URLs, I uploaded, tested, and get the "Database Connection failed" message. So I rolled back all changes I had just made (using Ctrl-Z). Saved it, uploaded it again, but I still get the error? Here is config.php <?php #CMS Made Simple ...
by Cobby
Sat Jun 23, 2007 3:06 am
Forum: Developers Discussion
Topic: Convert Wordpress Template to CMSMS
Replies: 13
Views: 4949

Re: Convert Wordpress Template to CMSMS

Its close.... With the original site, view the page source. Copy that into a new template on CMSMS. Then change this: <__html> <head> <title>Preschool Rock Moms</title> ..... <meta name="description" content="Preschool Rock Moms is a radio show for moms of preschoolers. Anything and e...
by Cobby
Fri Jun 22, 2007 10:27 pm
Forum: CMSMS Core
Topic: How to have muliple index pages in sub-folders
Replies: 3
Views: 1658

Re: How to have muliple index pages in sub-folders

No, I haven't enabled pretty URLs, where can I find it? I might have a look at modifying .htaccess.

Thanks for your help :)
by Cobby
Fri Jun 22, 2007 8:40 am
Forum: Developers Discussion
Topic: Convert Wordpress Template to CMSMS
Replies: 13
Views: 4949

Re: Convert Wordpress Template to CMSMS

Sorry, forgot to post the link to the video. It doesn't have anything specific to wordpress, but any template, regardless of whether or not it came from another CMS.

Heres this link -> http://cmsmadesimple.org/uploads/media/ ... colate.htm
by Cobby
Fri Jun 22, 2007 2:27 am
Forum: CMSMS Core
Topic: Template conversions
Replies: 7
Views: 3004

Re: Template conversions

I am also interesting in getting a tabbed menu working. I will do some of my own investigation over the next few days, but I have to learn how to use the Menu Manager paramaters, etc. Becuase I have had a look at some of the user contributed menu templates, and the use special variables that aren't ...
by Cobby
Fri Jun 22, 2007 2:23 am
Forum: CMSMS Core
Topic: How to have muliple index pages in sub-folders
Replies: 3
Views: 1658

How to have muliple index pages in sub-folders

Hi all, Instead of have every news articles, etc with a url /index.php?. I would rather have like /articles/index.php? Is this possible? And am I able to get them in a new folder depending on the date? e.i www.domain.com/articles//2007/feb/index.php? I have moderate knowledge of PHP, and I would min...
by Cobby
Thu Jun 21, 2007 11:27 am
Forum: CMSMS Core
Topic: [SOLVED]Get current URL in Menu Manager
Replies: 1
Views: 824

Re: Get current URL in Menu Manager

Oh nevermind, I will just use $node->index instead, how silly of me :P
by Cobby
Thu Jun 21, 2007 11:11 am
Forum: CMSMS Core
Topic: [SOLVED]Get current URL in Menu Manager
Replies: 1
Views: 824

[SOLVED]Get current URL in Menu Manager

Hi all, I writing my own menu template for the menu manager. Is there a way to get the browsers current url? I have a horizontal tabed menu at the top, and I will have a bright tab, which correlates to the current URL. So I need to check the browsers url against my nav menu links in order for this t...
by Cobby
Thu Jun 21, 2007 9:09 am
Forum: Developers Discussion
Topic: Pagination for news articles.
Replies: 11
Views: 9919

Re: Pagination for news articles.

Ah its getting so close! I now have the $params working, just with a 3 page article, the drop down box will repeat the title for page 1 twice, then page 2 :( I guess its something with the loop, so I will investigate. EDIT: Also, you forgot to add the echo $pages; in aswell :P EDIT2: I did a little ...
by Cobby
Thu Jun 21, 2007 9:02 am
Forum: Developers Discussion
Topic: Pagination for news articles.
Replies: 11
Views: 9919

Re: Pagination for news articles.

No sorry, my mistake, I meant to say it doesn't like to have the $i in $params['page$i']. Few typos, sorry. I think I need to store it in an array, then extract that array, so its final will be $params['page1'] instead of $params['page$i']. But I know how to do that either, but am currently working ...
by Cobby
Thu Jun 21, 2007 8:27 am
Forum: Developers Discussion
Topic: Pagination for news articles.
Replies: 11
Views: 9919

Re: Pagination for news articles.

Try with: echo ' Prev Next '; global $page; global $p; $i = 1;  // is a integer $pages = ''; while($i var gallery=new virtualpaginate("virtualpage5", 1) gallery.buildpagination("galleryselect", [$pages]) "; Alby That didn't work :( But I have found out the problem. It does ...
by Cobby
Thu Jun 21, 2007 7:19 am
Forum: Developers Discussion
Topic: Convert Wordpress Template to CMSMS
Replies: 13
Views: 4949

Re: Convert Wordpress Template to CMSMS

It would be relatively easy to do it yourself. As long as you can get the stylesheets and HTML from WordPress.

Have a watch of this video to learn how to import ANY type of template into CMSMS
by Cobby
Thu Jun 21, 2007 2:16 am
Forum: Developers Discussion
Topic: Pagination for news articles.
Replies: 11
Views: 9919

Re: Pagination for news articles.

Well I decided to go against your function idea, mainly because I am still a novice, and I don't understand some of the code. But I am so close. The only problem I am having now, is when you put {pagination page1="PG 1"....} It output nothing. In {sp} (opens the ) I have a counted. And thi...

Go to advanced search