Welcome, Guest
Username Password: Remember me

More than one footer
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: More than one footer

More than one footer 2 years, 9 months ago #255

  • jarmush
  • OFFLINE
  • Fresh Boarder
  • Posts: 4
  • Karma: 0
Hi,

is it possible to:

1. place more than 1 article footer in all the articles? I would like to place (beneath each article) some kind of warning in the first one and e.g. ad-sense to the second one.

2. resize the AF format (i.e. to set the sizes of AF, especially width)? My AF is a little bit wider than the article is, so it looks a kind of curved.

And finally, I found the Article Footer being very useful, so thanks for it.

Peter

Re:More than one footer 2 years, 9 months ago #256

1. If both footers are to be applied to all articles, couldn't you just combine both footers? That is all that the extension would be able to do anyway.

2. This isn't possible as the display/placement of the footer is entirely dependent upon the article and the template. You may be able to make the adjustments you need by using css.

Re:More than one footer 2 years, 9 months ago #257

  • jarmush
  • OFFLINE
  • Fresh Boarder
  • Posts: 4
  • Karma: 0
Hi Dave,

what exactly do you mean by "combine both footers"?
I tried to place my warning and Adsense in one AF and it worked, but I would prefer to have it in 2 separate footers. That would be useful especially if the 2 various footers shouldn't be placed in the same articles.
You can make copies of all the Joomla Modules and use them as many times as you want, but AF is a Plug-in, so unfortunatelly you can't do the same.

Thanks, Peter

Re:More than one footer 2 years, 9 months ago #258

I was wondering if that was what you meant after I replied!

The only solution I can think of would be to have a second plugin with a different name - Joomla checks the name during install. So long as the name is different, the plugin could be duplicated as needed.

To change the name you could search for the text cedit_articlefooter within the two main files (cedit_articlefooter.php and cedit_articlefooter.xml) and replace it (with, for example, cedit_articlefooter2 - or anything you like really).

I could have a look at providing a download with a different name, won't be able to do this until sometime later though.

Re:More than one footer 2 years, 9 months ago #259

  • jarmush
  • OFFLINE
  • Fresh Boarder
  • Posts: 4
  • Karma: 0
Hi David,

I still had some problems after re-name, so decided to make some changes in the .php and .xml files. It works now. I attach the file so it can help some others.

File Attachment:

File Name: ArticleFooter_2.zip
File Size: 3728


The possibility to format and align the inserted text would be great, too. And I'm wondering whether it is difficult to prepare some kind of "Article Header". That could be very useful, as well.

Peter
Attachments:

Re:More than one footer 2 years, 9 months ago #260

Thanks for posting the update - I'll take a look later!

The article footer supports any HTML - so you can add any alignment or formatting options you like (either using CSS, or inline HTML). Just enter the relevant HTML code in the article footer stuff.

I thought about an article header too, but didn't look much into it as I didn't have any use for one. It should be a case of simply trapping a different event (one that fires before the article is prepared instead of after).

Re:More than one footer 1 year, 8 months ago #1278

  • oxus
  • OFFLINE
  • Fresh Boarder
  • Posts: 2
  • Karma: 0
Version 1.1.3 of 2-nd instance of this great plugin.

File Attachment:

File Name: cedit_articlefooter2.zip
File Size: 3734
The following user(s) said Thank You: navibd

Re:More than one footer 1 year, 8 months ago #1279

Thank-you. Could you let me know what you have added? I will take a look a little later and then release on this site for everyone's benefit.
The following user(s) said Thank You: navibd

Re:More than one footer 1 year, 8 months ago #1280

  • oxus
  • OFFLINE
  • Fresh Boarder
  • Posts: 2
  • Karma: 0
Ok.

I use this plugin on me site.
But I need more than one footer for some article.
I read in this post the solution for a second instance install of your plugin (some path modification, some code changing).
This second instance is what I have uploaded.
Basically everyone can install your plugin 2 time in joomla and use 2 footer sets.

I use this in a live site and everything is ok.
Last Edit: 1 year, 8 months ago by oxus.

Re:More than one footer 1 year, 7 months ago #1330

  • Erestor
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
  • Karma: 0
Installed the 2nd instance from you, oxus, and works like a charm

Also, big thx for the developer of this amazing plugin
The following user(s) said Thank You: navibd

Re:More than one footer 11 months, 1 week ago #1727

  • spirit66
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
  • Karma: 0
Hi,
use the 2nd footer too because I need different text for different categories. Works with footer_2 very well.
Thanks
Rudolf Aigner
The following user(s) said Thank You: navibd
  • Page:
  • 1
Time to create page: 0.20 seconds
Copyright © 2009 www.cedit.biz. All rights reserved.