×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Is it possible to do this with my comment component

Is it possible to do this with my comment component 14 years 10 months ago #8396

  • diane
  • diane's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 0
Hi i think this component is great but i am trying to do something and I am not sure if it is possible.

What I want is, above the comments component is to be able to put a module of my latest articles there but when i try it, the articles go below the comments.

Here is an example of a page i have set out

www.in2town.co.uk/Katie-Price-to-dump-Ce...ig-Brother-Alex-Reid

If anyone can help me have a module above the comments then that would be great. As I would like to have the article and then i would like to have all the latest articles and then the comments but it will not let me do this.

Is it possible to do this with my comment component 14 years 10 months ago #8399

  • Nils Ally
  • Nils Ally's Avatar
  • Offline
  • Gold Boarder
  • Gold Boarder
  • Posts: 299
  • Thank you received: 33
First off, I am not a programmer, so everything I say you must treat as such.

Here's what I'd at least try to do... -get a module position there.
You are using a template called bulletin_plazza, take a look at it's index.php file.

Somewhere just before the mainbody is being generated, you will probably see a banners field being entered.
<?php if ( $this->countModules( 'banners' )) { ?>
						<jdoc:include type="modules" name="banners" style="raw" />
					<?php } ?>

Chances are often that it might look something like this, but it can also get much more hairy depending on how the template is setup.

Anyway, just isolate that code, and duplicate it to the end of the mainbody section, but you must rename it to ie: banners2 or something, otherwise it will just be a duplicate of the banner before the mainbody (obviously).
Again, depending on your template design (programming) etc, sometimes they rely on the xml file for each piece or module to be identified from the backend.

Just add it to your xml if this is the case. Actually, just add it anyway... :)

The you can publish your latest news to that module.

I have done similar to this a few times with mine, not for latest news though, but the content for module positions is kind of secondary to the establishing of their positions.

Remember, this is just what I would try to do.
And yeah, take a backup of both the php and xml files before starting off...

Is it possible to do this with my comment component 14 years 10 months ago #8400

  • Nils Ally
  • Nils Ally's Avatar
  • Offline
  • Gold Boarder
  • Gold Boarder
  • Posts: 299
  • Thank you received: 33
:blush: actually, this might give the same result as you already tried... that it ends up after the comments... I see this on my previous stuff that it ends up at the bottom. Sorry, this is something for bigger boys than me I think.

Is it possible to do this with my comment component 14 years 10 months ago #8401

  • diane
  • diane's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 0
thank you for the help anyway. On another matter looking at my site, can you let me know if it is possible to add a new position. i am using advert 1, advert 2 and i would like to have where advert1 is which is the main part of the page to have a new module position,

what i mean is, what i would like to do is, have my article on the main page and then like the right position where i have adverts etc, i would like to have that on the main page so i have four module position, which would be left column, advert 1, new column, right column

This would allow me then to have the latest news next to my article without moving my right column

I am not sure if i am making myself understood or not but if i am it would be great for advice on how to do this

Is it possible to do this with my comment component 14 years 10 months ago #8402

  • JonusC
  • JonusC's Avatar
  • Offline
  • Platinum Boarder
  • Platinum Boarder
  • Posts: 785
  • Thank you received: 48
This is something we still need to sort out before JoomlaComment 4.1 goes gold... but we have not come to a decision on how to address it.

The explaination of this problem as well as possible solutions can be found in my post here - compojoom.com/forum/10-newbies-area/8300...efore-jocomment#8328

EDIT: In regards to adding new Module positions to your template, you will have to do some learning on Joomla 1.5 Template design to code it in. It sounds harder than it is, but you will need to know your way around first. Here 's a great resource :)

EDIT2: Thanks again Nilsy for giving the users ideas while we're away!

Is it possible to do this with my comment component 14 years 10 months ago #8403

  • diane
  • diane's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 0
thanks for that. at the moment my site is in the old version until we transfer it next year as the site is to big

Is it possible to do this with my comment component 14 years 10 months ago #8404

  • JonusC
  • JonusC's Avatar
  • Offline
  • Platinum Boarder
  • Platinum Boarder
  • Posts: 785
  • Thank you received: 48
You mean the old version of JoomlaComment 3? Well those wrappers should help with any component you want to put into a module position, not just JC4 ;)

Is it possible to do this with my comment component 14 years 10 months ago #8406

  • diane
  • diane's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 0
sorry i mean i am using the old version of joomla until next year

Is it possible to do this with my comment component 14 years 10 months ago #8409

  • Nils Ally
  • Nils Ally's Avatar
  • Offline
  • Gold Boarder
  • Gold Boarder
  • Posts: 299
  • Thank you received: 33
Awake again... :woohoo:
As I see it, it is not always necessary to upgrade to 1.5 platform. I see other sites still using it!

I too have a site that is still on 1.0 platform and it works fine. Then again I have no plans for it to do much, so there is no need to upgrade it.

Yeah, adding in modules is as JonusC says, easier than it sounds. And yet, you must digg into the code which sounds scary.

You can easily use the guidelines I wrote previously as an indication as to how to do it. Just call the module position close to anything really. -banners2, User11 or advert12 etc.

Just looking on your site, it looks like you have added a stack load of modules already... :huh:
module view

JonusC

Thanks again Nilsy for giving the users ideas while we're away!

Just trying to help out... :)

Is it possible to do this with my comment component 14 years 10 months ago #8472

  • JonusC
  • JonusC's Avatar
  • Offline
  • Platinum Boarder
  • Platinum Boarder
  • Posts: 785
  • Thank you received: 48
Nils Ally wrote:

As I see it, it is not always necessary to upgrade to 1.5 platform. I see other sites still using it!

Very true and valid. However I myself have never used J!1.0 and you also have to use JoomlaComment3 which is out of date and not being updated anymore.

If you want to put a module above the Comments, then you would have to install a Component > Module wrapper and tell it to wrap JoomlaComment. I don't know if there is such a thing with Joomla 1.0 or another way but that's the only idea I have.
  • Page:
  • 1
Time to create page: 0.153 seconds