61
playsome
Re: Re-designed website for a local community organisation
  • 2011/8/6 10:00

  • playsome

  • Not too shy to talk

  • Posts: 197

  • Since: 2009/4/15


Hi mamba,

I am using extcal with some template modifications and jquery tooltip for the calendar month and calendar week templates.



62
playsome
Re-designed website for a local community organisation
  • 2011/8/6 0:11

  • playsome

  • Not too shy to talk

  • Posts: 197

  • Since: 2009/4/15


Hello Xoopsers,

I would like to present to you my re-design for a local community charity I volunteer for www.whitlawburncrc.org.uk

The charity is a local community centre, I built them a site a year ago and felt it was time for a re-design to make the site more modern and fresh looking.

It is mostly a new theme design with a lot of template modifications to make things look good, also some php file modifications to that page titles look the same across the entire site and have the same structure.

I have integrated disqus for comments as it provide social network integration and along with the redesign there is also a new corporate logo and branding.

Let me know what you think.

http://www.whitlawburncrc.org.uk



63
playsome
Re: Use smarty to strip characters from string? MySearch module
  • 2011/8/3 9:00

  • playsome

  • Not too shy to talk

  • Posts: 197

  • Since: 2009/4/15


Thanks very much zyspec, the replace modifier worked perfectly.

Cheers



64
playsome
Use smarty to strip characters from string? MySearch module
  • 2011/8/3 1:18

  • playsome

  • Not too shy to talk

  • Posts: 197

  • Since: 2009/4/15


Hello all,

I am doing some template modifications to the mysearch module to get it looking like goolge search results.

I can show the url of the result underneat the clickable title (like google) by using this smarty variables

<{$search_results[$sort_key].results[cur_result].link}>


This shows like:
Some page title or article
http://www.mysite.com/modules/news/article.php?id=12

What I want to do is remove the http:// from the unlickable url shown underneat the page title, I have tried

<{$search_results[$sort_key].results[cur_result].link|strip:"http://"}>


But it does not seem to remove the http:// part, anyone got any ideas how to remove those chars without hacking php code?

Cheers



65
playsome
Re: Xoops cache and stylesheets :-(
  • 2011/7/31 0:00

  • playsome

  • Not too shy to talk

  • Posts: 197

  • Since: 2009/4/15


I realise this is an old topic im bumping, but I have found this same or similar problem in xoops 2.4.5 witha few modules so I dont think its a module problem but a xoops one.

On some modules when cache is set via preferences the css file for that module does not load and all styling is lost, if i take the cache off and refresh the css file loads properly.

Has there been any fix for this, other than adding the module css file in the head of the theme or using, as above, the @import in the main theme style.css?

Cheers



66
playsome
Re: Can't access registration screen.
  • 2011/7/20 20:02

  • playsome

  • Not too shy to talk

  • Posts: 197

  • Since: 2009/4/15


Hi,

I had a similar problem with the same file you mention, you can read about it here, for some reason it seemed to give me an internal server error, when I deleted it my site was fine, no error, but went back to the error when the file regenerated.

I am not sure what that file is for, maybe a dev could explain?

Turns out my issue was with a module and probably not directly with that file, check your permissions on the profile module and make sure anonymous users can access it, turn on debug aswell and see if profile module throws any errors.

As far as I know xoops_cache has to be writable try change permissions to 755 instead of 777 and see what happens.



67
playsome
Re: Urgent help needed internal server error
  • 2011/7/17 21:06

  • playsome

  • Not too shy to talk

  • Posts: 197

  • Since: 2009/4/15


I Managed to resolve this issue. I had to delete RM common directory and all files, drop rmcommon tables from the DB remove redmexico admin gui and deactivate the qpages module then re-install rmcommon latest version and all seems to work now.

Just out of curiosity, when i was getting the fatal error that a class associated with rmcommon could not be found, how can this happen if one minute all is OK and the next the class cannot be found? what can casue this type of error? I had checked no files where missing so this was not the case, i am curious as to how a class can somehow dissapear.



68
playsome
Re: Urgent help needed internal server error
  • 2011/7/17 20:01

  • playsome

  • Not too shy to talk

  • Posts: 197

  • Since: 2009/4/15


Hi Mamba, thanks for your reply

I have managed to stop the 500 error by deactivating rmcommon and redmexico gui from phpmyadmin, i then made them active again and the 500 error was still fixed

still got the same fatal error when accessing admin php though so I am now overwrting rm common files with the latest version to see what happens.

I will try the file check also

Thanks



69
playsome
Urgent help needed internal server error
  • 2011/7/17 19:17

  • playsome

  • Not too shy to talk

  • Posts: 197

  • Since: 2009/4/15


Hello all,

just started getting some issues with my site www.whitlawburncrc.org.uk

xoops 2.4.5
php vers 5.2.9

started getting internal server error sometime between last night and this morning

I contacted surpasshosting support who said this error message was being invoked by the main page

[Sun Jul 17 13:18:27 2011] [error] [client 72.29.91.44] Premature end of script headers: index.php

When i look in the error log in cpanel i do not see this error all i see is file cannot be found 500.shtml errors

I have tried clearing caches smarty cache and smarty cache did not help but in xoops cache i notived that delteing the file xoops_system_modules_active_http%3A%2F%2Fwww_whitlawburncrc_org_uk.php lets me access the site but only once, once the file regenerates its back to a 500 error

the contents of the above file are

1342478195
return array (
  
=> 'system',
  
=> 'rmcommon',
  
=> 'mastop_go2',
  
=> 'smartobject',
  
=> 'profile',
  
=> 'mysearch',
  
=> 'protector',
  
=> 'mastop_publish',
  
=> 'qpages',
  
=> 'extcal',
  
10 => 'wfresource',
  
11 => 'wfchannel',
  
12 => 'xcgal',
  
13 => 'smartpartner',
  
14 => 'multiMenu',
  
15 => 'docs',
  
16 => 'content',
  
17 => 'g-teas-cafe',
  
18 => 'sitemap',
  
19 => 'newbb',
  
20 => 'links',
  
21 => 'article',
  
22 => 'tag',
  
23 => 'pm',
  
24 => 'contact',
  
25 => 'mytabs',
  
26 => 'shop',
  
27 => 'tips-for-saving-energy',
);


im assuming this is just a list of active modules and their ID's?

When i accessed admin.php after deleting the above file i was getting a fatal error with rmcommon

Fatal error: Class 'RMTemplate' not found in /****/****/public_html/modules/rmcommon/admin_loader.php on line 18

I have tried re uploading rmcommon but to no avail. I am certain that no changes where made to any files which would have casued this error.

The only thing is when i delete the file xoops_system_modules_active_http%3A%2F%2Fwww_whitlawburncrc_org_uk.php from xoops_cache i can access the site but as i said once the file regenerates its back to a 500 error, could there be something wrong with this file causing the issue or something else?

Any help would be much appreciated

Thanks

martin



70
playsome
Re: php view in module
  • 2011/7/13 23:08

  • playsome

  • Not too shy to talk

  • Posts: 197

  • Since: 2009/4/15


Hi, I am probably totally wrong here, I am a beginner php coder but I remember reading that some servers dont like shorttags i.e <? ?>

maybe try <?php ?>




TopTop
« 1 ... 4 5 6 (7) 8 9 10 ... 17 »



Login

Who's Online

253 user(s) are online (182 user(s) are browsing Support Forums)


Members: 0


Guests: 253


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits