Welcome, Guest
Please Login or Register.    Lost Password?

More than one footer
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: More than one footer
#255
More than one footer 1 Year, 4 Months ago 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
jarmush
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#256
Re:More than one footer 1 Year, 4 Months ago Karma: 7
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.
purplepomegranite
Administrator
Posts: 656
graph
User Offline Click here to see the profile of this user
Location: Winchester, UK Birthday: 06/04
The administrator has disabled public write access.
 
#257
Re:More than one footer 1 Year, 4 Months ago 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
jarmush
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#258
Re:More than one footer 1 Year, 4 Months ago Karma: 7
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.
purplepomegranite
Administrator
Posts: 656
graph
User Offline Click here to see the profile of this user
Location: Winchester, UK Birthday: 06/04
The administrator has disabled public write access.
 
#259
Re:More than one footer 1 Year, 4 Months ago 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
jarmush
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#260
Re:More than one footer 1 Year, 4 Months ago Karma: 7
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).
purplepomegranite
Administrator
Posts: 656
graph
User Offline Click here to see the profile of this user
Location: Winchester, UK Birthday: 06/04
The administrator has disabled public write access.
 
#1278
Re:More than one footer 3 Months, 3 Weeks ago Karma: 0
Version 1.1.3 of 2-nd instance of this great plugin.
File Attachment:
File Name: cedit_articlefooter2.zip
File Size: 3734
oxus
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#1279
Re:More than one footer 3 Months, 3 Weeks ago Karma: 7
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.
purplepomegranite
Administrator
Posts: 656
graph
User Offline Click here to see the profile of this user
Location: Winchester, UK Birthday: 06/04
The administrator has disabled public write access.
 
#1280
Re:More than one footer 3 Months, 3 Weeks ago 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.
oxus
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2010/05/13 14:48 By oxus.
The administrator has disabled public write access.
 
#1330
Re:More than one footer 2 Months ago Karma: 0
Installed the 2nd instance from you, oxus, and works like a charm

Also, big thx for the developer of this amazing plugin
Erestor
Fresh Boarder
Posts: 1
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 1
Copyright © 2009 www.cedit.biz. All rights reserved.