141
playsome
Article module - begging for help
  • 2009/9/8 17:10

  • playsome

  • Not too shy to talk

  • Posts: 197

  • Since: 2009/4/15


Hello,

I have been working on my site for a while now, I have already posted about the article module (2.00RC) as have alot of people. I have managed to use it in my site and it is a great module for news especially i think for a gaming site.

I have already made several template modifications to get it looking nice, as I come closer to launching my site I have just a couple of probs.

the RSS feed for the module (for the index page) seems to only show the very first 10 articles I posted, RSS feeds per category seem to work fine so I am looking for a bit of help trying to fix this problem if possible.

This is not related to the article module but I was also wondering if anyone knows how to get the short URLs hack working with the xml page?

Finally one more request - it would be awesome if a developer could take a look at this module and try and fix some of the bigger problems with it, not just for me but for the community, it really is too good a module to be left to die. I have opened up my site so you can see what ive donw with the templates and how well the module works for my site (barring the bugs) www.playsome.co.uk/news/.

you can view the xml.php file here and if any developer wants to take a look at the module to fix it youc an download it here.

I hope someone can help.



142
playsome
Re: Event Guide (eguide 2.42) - Sort By Date
  • 2009/8/19 22:22

  • playsome

  • Not too shy to talk

  • Posts: 197

  • Since: 2009/4/15


Hi,

Although I'm not sure I can help, although I will try, is there anychance i get get a copy of this module you have altered?

I am making a video game site and i am looking for a module that can list upcoming game releases in date order.

If we can get the date thing sorted out it might be perfect.

Thanks,

Martin



143
playsome
Re: adding album title to xcgal metal albums block
  • 2009/7/28 20:21

  • playsome

  • Not too shy to talk

  • Posts: 197

  • Since: 2009/4/15


Well, I've been looking through some of the xcgal files to try and figure something out for this but alas I have had no luck, my knowledge of PHP is practically zilch ( i have been trying to learn for 2 weeks now) but what i can figure out is:

$album_title is a variable (i think) I am guessing &alb.title and $album_name are also variables, other templates such as the xcgal_display.html uses <{$album_name}> to display the album title and xcgal_index.html uses <{$alb.title}> to display the album name.

My question is how can I get the block template to display the album title if I insert the smarty code <$album_title}> or <{$alb.title}>?

Im not looking for the complete answer just nudged in the right direction I would rather I had a learning experience than have the answer handed on a plate and learn nothing.

Any help would be much appreciated.

Thanks,

Martin



144
playsome
adding album title to xcgal metal albums block
  • 2009/7/27 21:19

  • playsome

  • Not too shy to talk

  • Posts: 197

  • Since: 2009/4/15


Hey,

I have the xcgal meta albums block set up on my homepage displaying 2 columns and 2 rows, I would like to display the album title underneath each picture in the block.

I have already tried several things but nothing seems to work. I have tried adding <{$album_title}> and <{$alb.title}>into the template but these do not work I have also tried:
<{php}>echo ("$album_title");<{/php}>

but this does not work either, finally I tried inserting
$xoopsTpl->assign('album_title'$album_title);
into xcgal_blocks.php and then putting <{$album_title}> in the template but I got a blank page, I am not sure if I have put this line of code inot xcgal_blocks.php in the correct place I added it underneath these 2 lines:
define("BLOCK_FIRST_USER_CAT"10000);
define('RANDPOS_MAX_PIC_BLOCK'200);


If someone could point me in the right direction it would be much appreciated.

Cheers.



145
playsome
Re: Making a fixed theme fluid, or wider?
  • 2009/7/20 16:35

  • playsome

  • Not too shy to talk

  • Posts: 197

  • Since: 2009/4/15


Ive not had a look at the css for those two themes but the center column might also have a width defined in pixels or percent the selector should be .centerColumn found in the style.css.

Remember if you change the theme width to 100% it might not look as good on lower resolution screens, depending on what size images you use on your site etc, if you can, test the themes with 800x600 resolution to see how it looks.



146
playsome
Re: changing "modules" and "module name"
  • 2009/6/17 15:28

  • playsome

  • Not too shy to talk

  • Posts: 197

  • Since: 2009/4/15


Thanks ghia I thought that might be the case. Im not too bothered about that though, I am still trying to find a solution to the search.php issue though, it shows links to the full url (/modules/modulename/) and the old module names, is this happening because there is no smarty template data associated with search.php? (at least i souldnt find a template for it).

I managed to fix the issue with images not showing on the dhtml xoopsform, I had renamed xcgal to images in .htaccess which caused a conflict, after changing it to 'gallery' all works fine.



147
playsome
Re: HOWTO: xoRewriteModule - Simplified, Short URLs (remove /modules)
  • 2009/6/17 15:25

  • playsome

  • Not too shy to talk

  • Posts: 197

  • Since: 2009/4/15


Quote:
The above would work too, IF there wouldn't be a file called sitemap.xml on the server (xoops root). How to prevent this failure?


I had a similar issue with the XOOPS images directory when i renamed xcgal to images, the only solution i have is to call the sitemap module soomething else like site-map or something like that.



148
playsome
Re: changing "modules" and "module name"
  • 2009/6/16 20:45

  • playsome

  • Not too shy to talk

  • Posts: 197

  • Since: 2009/4/15


I've just been testing this plugin a bit more and I have found a small problem. If you do a search on your XOOPS site the links that display on search.php still point to the long url and to old module names. Has anyone found a fix for this?

Also it seems I am unable to use url rewriting features of articles, tag and planet modules(and maybe others that have 'enable url rewriting in preferances), Im not very good with .htaccess, does anyone know a work around for this also?

UPDATE

One more problem i have also found concerning DHTML XOOPS form for changed modules (e.g posting a comment) the buttons for bold text, youtube, etc seem to be missing and just replaced with plain text (see screenshot).

Resized Image


Cheers



149
playsome
Re: changing "modules" and "module name"
  • 2009/6/16 19:57

  • playsome

  • Not too shy to talk

  • Posts: 197

  • Since: 2009/4/15


Hello, the configs directory which contain "xoRewriteModule.ini.php" file and "xoRewriteHtaccess.ini.php" file should be uploaded to XOOPS root along witht he otehr 2 directories.



150
playsome
Re: changing "modules" and "module name"
  • 2009/6/16 18:39

  • playsome

  • Not too shy to talk

  • Posts: 197

  • Since: 2009/4/15


Mark Boyden has a superb tutorial on his site http://mark.boyden.name/smartsection.item.82/xoRewriteModule-xoops-short-URL-SEO-rewrite.html it is very easy to follow.

I have just test the rewrite plugin on my local machine on wamp, it works and absolute treat, I dont know why I did not notice this plugin before its superb and along with mark boydens tutorial it is very easy to implement.

Thankyou very much to dugris for the plugin and Mark Boyden for the excellent tutorial.




TopTop
« 1 ... 12 13 14 (15) 16 17 »



Login

Who's Online

263 user(s) are online (178 user(s) are browsing Support Forums)


Members: 0


Guests: 263


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