The Joomla! Forum ™



Forum rules


Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.



Post new topic Reply to topic  [ 9 posts ] 
Author Message
PostPosted: Mon Jan 11, 2010 1:22 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Tue Dec 30, 2008 12:06 am
Posts: 17
Hi.

Does anybody knows how can I move the pront/pdf icons from the right side to the left side of the text? Or, even better, to the bottom of the page?
Many thanks in advance.


Top
 Profile  
 
PostPosted: Mon Jan 11, 2010 5:32 pm 
Joomla! Enthusiast
Joomla! Enthusiast

Joined: Sun Sep 16, 2007 12:05 am
Posts: 130
[Deleted by poster for being an embarrassingly airhead answer!]


Last edited by dbzeroone on Wed Jan 13, 2010 11:41 pm, edited 1 time in total.

Top
 Profile  
 
PostPosted: Wed Jan 13, 2010 11:31 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Tue Dec 30, 2008 12:06 am
Posts: 17
Tks, Dbzeroone.
I think you mean the default.php file, on the html folder, isn't it? The problem is that my template don't have that html folder... But I may try to create one.


Top
 Profile  
 
PostPosted: Wed Jan 13, 2010 6:57 pm 
Joomla! Enthusiast
Joomla! Enthusiast

Joined: Sun Sep 16, 2007 12:05 am
Posts: 130
Quote:
I think you mean the default.php file, on the html folder, isn't it?


I meant the index.php file in the template folder, but now that I try to confirm that, I can't seem to find the example I gave! :-[ I wonder which template I was looking at? They're all a little different...

By the way, which template are you using?


Top
 Profile  
 
PostPosted: Wed Jan 13, 2010 8:18 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Tue Dec 30, 2008 12:06 am
Posts: 17
dbzeroone wrote:
By the way, which template are you using?

I'm using a modified version of Dreamsquare template, by Vonfio


Top
 Profile  
 
PostPosted: Wed Jan 13, 2010 11:39 pm 
Joomla! Enthusiast
Joomla! Enthusiast

Joined: Sun Sep 16, 2007 12:05 am
Posts: 130
Ok, completely ignore my previous answer... I have no clue what I was thinking!

The layout of the articles themselves isn't in your template. It's a component.

Look in components/com_content/views/frontpage/tmpl/default_item.php for the front page articles and in components/com_content/views/article/tmpl/default.php for the inside articles.

Around line 24 of each of those files, you'll see:
Code:
<?php if (!$this->print) : ?>
      <?php if ($this->params->get('show_pdf_icon')) : ?>
      <td align="right" width="100%" class="buttonheading">
      <?php echo JHTML::_('icon.pdf',  $this->article, $this->params, $this->access); ?>
      </td>
      <?php endif; ?>


You'll also see code for the print icon, email icon and edit icon (if you have front end editing). These files are fairly simple table layouts. Just edit as you wish in Dreamweaver or what have you.

Sorry about the misleading answer earlier!


Top
 Profile  
 
PostPosted: Fri Jan 15, 2010 11:14 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Tue Dec 30, 2008 12:06 am
Posts: 17
Right.
Many thanks. :)


Top
 Profile  
 
PostPosted: Tue Apr 20, 2010 2:22 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Tue Apr 20, 2010 2:19 am
Posts: 4
*** forget my post - i found a template override which was the reason my changes had no effect ***


Top
 Profile  
 
PostPosted: Fri Jul 06, 2012 2:51 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Mon Jul 02, 2012 8:43 am
Posts: 5
This actually works for 2.5, except, the path to the correct file is:

/components/com_content/views/article/tmpl

for the icons for print, edit, etc in articles...

The way I am setting my site up, the only front-end is for admin, just needed those pesky icons at the bottom for appearances as they shifted the content down...

Thanks for the post and answer, helped a lot....


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 



Who is online

Users browsing this forum: Google Feedfetcher and 18 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group