×

Notice

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

TOPIC: How to show comments right away, how to clean out buttons

How to show comments right away, how to clean out buttons 14 years 2 months ago #8725

  • Pekka Varis
  • Pekka Varis's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 15
  • Thank you received: 0
Hello!

I want 3 thing and did not find solutions from forum so I ask you all forum users:

1. How to straigt away show the comments here:
eeva.zoner-asiakas.fi/index.php?option=c...=blog&id=3&Itemid=12

2. How can I make same kind of margins to compojoom element as there are in Artister 2 made template?

3. How can I simpplyfy the buttons row? I want only to have minimum amount of buttons, not all the fancy image and smilies options.

Pekka Varis

How to show comments right away, how to clean out buttons 14 years 2 months ago #8729

  • Nils Ally
  • Nils Ally's Avatar
  • Offline
  • Gold Boarder
  • Gold Boarder
  • Posts: 299
  • Thank you received: 33
Hi there Pekka

1. Straight away, I assume you are thinking of the frontpage preview settings.
This you can turn on and off from the Layout tab settings in the backend.

2. Adding margins, is often called padding in a CSS. But, I am not sure. (JonusC is ace with this stuff...)
I would start be testing the CSS line 2: #joomlacommentsearch fieldset, #joomlacommentform fieldset

-and alter the padding-left: 10;
(NB! Make a backup of the original, just in case!

3. Simplify buttons?
All the settings you have mentioned are pretty straight forward in the backend settings.
Just turn off the ones you don't want.

How to show comments right away, how to clean out buttons 14 years 2 months ago #8730

  • JonusC
  • JonusC's Avatar
  • Offline
  • Platinum Boarder
  • Platinum Boarder
  • Posts: 785
  • Thank you received: 48
1. As Nils said - the Comment Preview is the only possible solution right now. We/I am working on massive template changes for 4.1 that need to be done to allow this sort of thing (and many other exciting new layout capabilities)

2. [Looks up Aristeer 2] hmm a template generator ... ok, can you explain this a little better with a screenshot maybe? I don't know which margins you mean.

3. Yep, you can change most things on/off in the backend. Again, this is all being reworked so that every part of JoomlaComment has it's own ACL's. If you feel like it, you can edit the HTML of your template yourself and just remove some tags. Here are some examples:

Delete this to get rid of the Website field:
{BLOCK-_ENTERWEBSITE}
            <div>
                <label for='twebsite'>{_ENTERWEBSITE}</label>
                <input name='twebsite' id="twebsite" type='text' tabindex="3" value='{website}'/>
            </div>
            {/BLOCK-_ENTERWEBSITE}

Delete this to get rid of Title field:
<div>
                <label for='ttitle'>{_ENTERTITLE}</label>
                <input name='ttitle' id="ttitle" type='text' tabindex="4" />
            </div>

...and you get the idea. Some things have BLOCKS, some don't. If you can turn something off in the backend though, it's better to do it there instead of hacking-out the JoomlaComment template :p

P.S. Don't hide the E-Mail or Notify or Name or Comment, or (unless you have members-only comment viewing/writing) security because those are more-or-less required for things to work.

EDIT: P.P.S. Removing tags might result in JavaScript errors/warnings when someone submits their comment but they are usually silent. If there's a popup or an error after you remove a tag just let us know right here :)

How to show comments right away, how to clean out buttons 14 years 2 months ago #8734

  • Pekka Varis
  • Pekka Varis's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 15
  • Thank you received: 0
Thank You very much! I wait for the next update, but I decided not to touch anything except the blue head.png unless my partners want. I think emoticons and websitelinks are cool. :silly:

Pekka

How to show comments right away, how to clean out buttons 14 years 2 months ago #8735

  • Nils Ally
  • Nils Ally's Avatar
  • Offline
  • Gold Boarder
  • Gold Boarder
  • Posts: 299
  • Thank you received: 33
JonusC wrote:

2. [Looks up Aristeer 2] hmm a template generator ... ok, can you explain this a little better with a screenshot maybe? I don't know which margins you mean.


Here's a grab of what I assume is the issue.
The entire site is adjusted to give a margin from the left, and then the Write Comments defaults back to original left side.

Also, when you press on to actually reading the comments, the situation is still like this.
It looks ok, but I understand Pekka would like everything on the same line.

-But, it's a good idea that Pekka confirms that this is in fact the issue. This is also a template issue, rather than !JoomlaComment though.

How to show comments right away, how to clean out buttons 14 years 2 months ago #8736

  • Pekka Varis
  • Pekka Varis's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 15
  • Thank you received: 0
Yes, Customer has made this margin in article editor.

I shall remove them now, and try to figure out a way to have GOOOOOD amount of margin in left and right in pages that do not have any menu elements in left or right.

Artisteer template cannot be solution, since it can do only margin for the article text and images. So it must be a "empty menu" or something like that.

Pekka

How to show comments right away, how to clean out buttons 14 years 2 months ago #8738

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

I shall remove them now, and try to figure out a way to have GOOOOOD amount of margin in left and right in pages that do not have any menu elements in left or right.


You need to edit the Aristeer 2 generated template for that. Sounds to me like these left/right menu block are nested in a floated div that is inside the maincontent block. Send me a copy of your Aristeer 2 template and I should be able to make the changes within minutes.

How to show comments right away, how to clean out buttons 14 years 2 months ago #8739

  • Pekka Varis
  • Pekka Varis's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 15
  • Thank you received: 0
Are you kidding! wow :)

How can I send you file?

..Artister support just wrote me a solution but the code (or the way I copypasted it to template) did not work.

Their solution was:

.art-contentLayout .art-content {
border:0 none;
float:left;
overflow:hidden;
padding:0;
position:relative;
width:654px;
}

margin:0 0 0 100px;

How to show comments right away, how to clean out buttons 14 years 2 months ago #8741

  • JonusC
  • JonusC's Avatar
  • Offline
  • Platinum Boarder
  • Platinum Boarder
  • Posts: 785
  • Thank you received: 48
Actually there is no need if you can make code changes yourself. You have two choices:

(1) Make JoomlaComment thin, just like the article
Add this code block to the CSS of your active JoomlaComment template:
#comment {
    padding-left: 63px; 
    padding-right: 63px;
}

(2) Remove the padding on the inline CSS - you will have to search for it in the PHP files for the Aristeer 2 template. When I go view source I can see this:
<div class="art-article"><p style="padding-left: 63px; padding-right: 63px;">Lorem ipsum dolor sit amet[...]

so it is definitely inline (i.e. in the PHP/HTML instead of the CSS). Search for art-article and it should be nearby. But if you cannot find it, send it to me ZIPped via the E-Mail address in my signature jc AT sonus-online DOT net

How to show comments right away, how to clean out buttons 14 years 2 months ago #8742

  • Pekka Varis
  • Pekka Varis's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 15
  • Thank you received: 0
I just sended you a zipped artister 2 template, the one that is now in use in the site:

eeva.zoner-asiakas.fi/index.php?option=c...ticle&id=5&Itemid=10

So tnow there is no margins at all.. WTF they all think :)

I need to have the margins with these pages where there is NO MENUS in left or right, eh.

Now i have to install that Firefox CSS plugin so I can level with you all guys.

Pekka

How to show comments right away, how to clean out buttons 14 years 2 months ago #8743

  • JonusC
  • JonusC's Avatar
  • Offline
  • Platinum Boarder
  • Platinum Boarder
  • Posts: 785
  • Thank you received: 48
I took a look at your template, it's not that either. It's part of the article itself - what editor do you use for your articles? TinyMCE or JCE? Because it's in the HTML code of the actual article. Try writing a new article with a different editor and see if it's still there on the new one you make.

How to show comments right away, how to clean out buttons 14 years 2 months ago #8744

  • Pekka Varis
  • Pekka Varis's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 15
  • Thank you received: 0
I have had the no-margin version of the pege like 2 or 3 hours now. I did a backup like 1,5 h ago becouse of other problem and it was there 10min. Maybe you then opened the page first time.. Any way please refresh.

The margin WAS made by customer and she used joomlas "toggle editor" button and handcoded the margins there..

Pekka

How to show comments right away, how to clean out buttons 14 years 2 months ago #8745

  • Pekka Varis
  • Pekka Varis's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 15
  • Thank you received: 0
So JonusC , now you see the real problem I have.. How to make margins to pages with no menus in left and right..

Pekka

How to show comments right away, how to clean out buttons 14 years 2 months ago #8765

  • Pekka Varis
  • Pekka Varis's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 15
  • Thank you received: 0
Thanks for you attitude man. ;)

I have no "fixed" the situation with random image banner:

eeva.zoner-asiakas.fi/index.php?option=c...ticle&id=5&Itemid=10

Pekka

How to show comments right away, how to clean out buttons 14 years 2 months ago #8771

  • JonusC
  • JonusC's Avatar
  • Offline
  • Platinum Boarder
  • Platinum Boarder
  • Posts: 785
  • Thank you received: 48
I'm kind of lost as to what you need exactly. "How to make margins to pages with no menus in left and right" you said? Or did you mean "How to remove margins to pages with no menus in left and right"?

And what do you mean about 'random banner image'? On that link I only see the top title image (you want to remove that?!?! why not edit it? that's the TITLE of your webpage) or do you mean the image on the left of the article? Because that looks like a mod_custom that's assigned to the sidebar1 module position (or something?)

We're being very generous here helping you modify your Joomla template you know...

How to show comments right away, how to clean out buttons 14 years 2 months ago #8772

  • JonusC
  • JonusC's Avatar
  • Offline
  • Platinum Boarder
  • Platinum Boarder
  • Posts: 785
  • Thank you received: 48
Try this modified version of template Pekka, I think this is what you mean? (I also do this to all my own templates) clear cache and take a look at that same article with the image on the left.

Eevajokinen12_2010_02_05.zip

How to show comments right away, how to clean out buttons 14 years 2 months ago #8776

  • Pekka Varis
  • Pekka Varis's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 15
  • Thank you received: 0
Hi JonusC!

I am thankfull for your help. I tried the template you sended me, and it is very usefull. I shall study later what is different there..

But this customers white and over-simplified look is not benefitting from this modification, sorry to say. I might use it with my own new joomla sites, where I need more space for the content area at the lower part of each page, after all the menus have run out.

There was a terrible typo in my posting, I am so sorry dude. I wrote:
"I have no "fixed" the situation"

and what I was about to write was:
"I have now "fixed" the situation"

So all is fine now. Hat´s off man!

How to show comments right away, how to clean out buttons 14 years 2 months ago #8825

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Pekka, perhaps you could consider donating for the work, that jonus has put into this ;)

How to show comments right away, how to clean out buttons 14 years 2 months ago #8835

  • Pekka Varis
  • Pekka Varis's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 15
  • Thank you received: 0
Oh, maybe you are right. I just have to wait til my next payment to the end of month. Right now have money 10€ and that shall sure be used to spotify so no freaking ads break up the Chuck Berry´s music.

Yea, after all there was no solution for this marginal problem (but to use different template on some pages but I am not that far in my joomla studies) but the effort he put and the nice tweak to the template are sure a big help.

Nice and caring participation from you too Daniel. This is the first time I have heard about this kind of idea in forum, but what the heck I have wrote like 500 questions to forums and supports last 2 month I have been learning joomla..

Pekka

How to show comments right away, how to clean out buttons 14 years 2 months ago #8836

  • Pekka Varis
  • Pekka Varis's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 15
  • Thank you received: 0
The site has been published so the draft-links here are now broken. The real site is: www.eevajokinen.com/
  • Page:
  • 1
  • 2
Time to create page: 0.143 seconds