The Joomla! Forum ™



Forum rules


Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.



Post new topic Reply to topic  [ 16 posts ] 
Author Message
PostPosted: Tue Mar 18, 2008 3:50 pm 
User avatar
Joomla! Explorer
Joomla! Explorer

Joined: Thu Jan 17, 2008 7:31 pm
Posts: 394
I've searched the forums, but nothing came up....

Where has it gone :-)

_________________
Read developer tips & and tricks about Joomla on my blog:
http://www.youcanjoomla.com


Top
 Profile  
 
PostPosted: Thu Mar 27, 2008 8:39 am 
User avatar
Joomla! Intern
Joomla! Intern

Joined: Mon Feb 05, 2007 9:32 am
Posts: 63
Location: Winchester, UK
Would it be any help to insert some javascript into the HTML for a back button?
Code:
<div class="back_button">
            <a href='javascript:history.go(-1)'>
               Go Back</a>
         </div>

_________________
§


Top
 Profile  
 
PostPosted: Thu Mar 27, 2008 9:45 am 
User avatar
Joomla! Explorer
Joomla! Explorer

Joined: Thu Jan 17, 2008 7:31 pm
Posts: 394
I made my own little module with exact that javacode and enabled it on the pages where I wanted it :-)

_________________
Read developer tips & and tricks about Joomla on my blog:
http://www.youcanjoomla.com


Top
 Profile  
 
PostPosted: Wed Apr 09, 2008 12:40 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Sun Feb 10, 2008 1:01 pm
Posts: 30
Hi, may I ask how you did that? Can you set it in global configuration?


Top
 Profile  
 
PostPosted: Wed Apr 09, 2008 2:12 pm 
User avatar
Joomla! Explorer
Joomla! Explorer

Joined: Thu Jan 17, 2008 7:31 pm
Posts: 394
Just make a new custom module (a module with HTMl code) and paste the above script inside that. The place the module where you want to

_________________
Read developer tips & and tricks about Joomla on my blog:
http://www.youcanjoomla.com


Top
 Profile  
 
PostPosted: Mon Jul 13, 2009 9:07 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Sun Nov 19, 2006 10:09 pm
Posts: 27
Location: Spain
Great idea but surely the developer cannot expect a normal user to write JS code. So where as hte back button gone. how can I get it back. It was in J1.0 and such a basic function will surely not be left out. I have a web site with 15.000 (yes you are reading correctly) articles still in 1.0. Without a back button its impossible to migrate to 1.5


Top
 Profile  
 
PostPosted: Thu Sep 24, 2009 2:49 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Thu Jul 16, 2009 3:10 pm
Posts: 4
I was looking for this, using template overides copy com_content view to your templates html folder (see beez for example) edit templates/your template/html/com_content/article/default.php and insert the code
Code:
<div class="back_button">
            <a href='javascript:history.go(-1)'>
               Go Back</a>
         </div>
just before the last
Code:
</div>


Now every article view has a back button automaticly inserted.


Top
 Profile  
 
PostPosted: Thu Sep 24, 2009 3:07 pm 
User avatar
Joomla! Master
Joomla! Master

Joined: Wed Aug 13, 2008 2:57 am
Posts: 20420
Location: Chennai, India
For developers who are not coders, there are extensions such as Back Button Plugin (http://extensions.joomla.org/extensions/structure-a-navigation/site-navigation/4583) for accomplishing this.

_________________
- Ilagnayeru (MIG) Manickam
http://www.eegan.org - helping the poor and underprivileged
educate. empower. enrich.
Support the poor and underprivileged


Top
 Profile  
 
PostPosted: Thu Sep 24, 2009 3:20 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Sun Nov 19, 2006 10:09 pm
Posts: 27
Location: Spain
Yes I know that is a cool way to do it. Its just the fact that the developers have taken in out in the first place that really annoys me. There are lots of other really stupid things they have done. But I have to be careful. They don't even like to be criticized, this would not be the first post that I started that has been deleted because I raise unpopular questions. I have even provided coding solution for there short comings but they are just ignored.

But thanks again for posting your solutuion. There is even one that will work for without changing the template. Have a look at this plugin.
http://extensions.joomla.org/extensions/structure-a-navigation/site-navigation/4583


Top
 Profile  
 
PostPosted: Wed Sep 30, 2009 1:24 am 
Joomla! Explorer
Joomla! Explorer

Joined: Fri Jan 20, 2006 11:09 pm
Posts: 459
Location: US-IL
viewtopic.php?f=428&t=276192

Thank you. Bookmarking this page.

Andrew (MasterChief) was giving a meeting on Joomla 1.6 where he showed what would be taken out, and what major changes were being made. I for one think reducing what Joomla already does "is_not" progress. Why is it that to have ACL you have to remove polls and pdf creation?

Honestly, the best things about Joomla are often messed up with some of the ideas that are introduced. ACL isn't needed in Joomla by default in my opinion. There are components that do a wonderful job at ACL and a component type integration for ACL is the proper way to have it implemented. Many Joomla sites are fine without having any further permission settings and honestly, bloating the code for what you can get in a component is the wrong direction. I would prefer to have Joomla slimmed down and add what is needed per site rather than have a bloated core to start with. We can only hope that Joomla's 1.6 ACL is a component type that can be eliminated and not a core function that has to be hacked on.

Doesn't make sense to me. But then again, I didn't need a back button in Joomla 1.5 until tonight and this doesn't make any sense either. Just makes for more custom modules.

Module and plugin/component creators should get started now creating what Joomla dumps in 1.6. I would start with something that allows one to disable Joomla 1.6's ACL.

In my opinion, to create a decent upcoming Joomla 1.6, all they would have had to do is add a search to the admin edit templates/css pages so you could search the templates and code without having to pull the code out and use other means. But I'm sure as this would be extremely useful that it won't be implemented. That would have been a fine upgrade. But, I am not a Joomla developer, I only use joomla 8 hours a day minimum. If I needed an ACL I couldn't get with Joomla, or for Joomla, I would be using Drupal. However, that isn't the case, and ACL for Joomla 1.5 is a non issue.

What we need is a few Joomla core developers to actually use the program, create sites with the program daily, and implement what is needed to have the editing, the creation of, and the running of such site made easier. It should be a requirement that anyone on the Joomla core development team have a Joomla website.
It wouldn't take long to get what is needed in the core, and change a few minds as to the direction this project should be heading.

Just one toggle of the words:
"Do you want to allow front end editing" yes or no <- If this exists, please do let me know where it's at. Please do. Please tell me that I'm blind and crazy. Tell me that this is Joomla 1.5.14 and that I need to study the program a bit better since moving to r1.5 versions. I can live with that. But to implement a full blown ACL without having first allowed for this sort of implementation is, well, not very helpful.

That along with a search function for the templates and css, would be a far greater feat for those that use this program day in and day out than an ACL that won't solve all the issues and needs of each site administrator.

Next thank you and rant.... Joomla 1.6.. Where are the polls? Where is the pdf button? Why on earth can I still not search the templates and css without taking the code out to an external editor . And of course, where is the toggle for disabling front end editing? Might as well ask now, because past experience back to Mambo proves that the core team would rather look good and chase after what others do, than to fix and do what is actually needed to produce results that work for end users, results that help those that use the product. Would be better to win another Open Source CMS award. Correct?

On to implementing a back button that I had no issues with in 1.0 Joomla. It might even be there for all I know, but it's not working right with the current template if it is. Thanks, and have a great evening.

_________________
==
Best Regards, --rjs


Top
 Profile  
 
PostPosted: Sun Nov 08, 2009 4:24 am 
Joomla! Explorer
Joomla! Explorer

Joined: Fri Jan 20, 2006 11:09 pm
Posts: 459
Location: US-IL
http://developer.joomla.org/security/ne ... ssue-.html

Just a reminder that the complete disabling of front end editing, or the political okay to allow for such via core, would be in the best interests of Joomla IMO. if for no other reason, for security reasons alone will suffice.

Thank you,
rjs

_________________
==
Best Regards, --rjs


Top
 Profile  
 
PostPosted: Mon Mar 14, 2011 11:36 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Wed Mar 09, 2011 10:55 am
Posts: 15
Location: The Netherlands
Does anyone know how to do this in Joomla 1.6? I tried lots of different html and javascript code, but nothing works?!?

Also when I paste the above code into the custom HTML and click update. Joomla changes the code to
Code:
<div class="back_button"><a>Go Back</a></div>
and the Javascript part is gone???

Please someone help!


Top
 Profile  
 
PostPosted: Mon Mar 14, 2011 2:46 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Sun Nov 19, 2006 10:09 pm
Posts: 27
Location: Spain
The editor you use will remove the javascript. Go to the control panel of the editor and allow javascript


Top
 Profile  
 
PostPosted: Mon Mar 14, 2011 2:59 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Wed Mar 09, 2011 10:55 am
Posts: 15
Location: The Netherlands
Thanks for your answer! But I just figured out what the problem was. By default Joomla 1.6.1 enables the textfilter in the backend, and this was the problem. Once I disabled the textfilter the code stays the same. :-)


Top
 Profile  
 
PostPosted: Tue Nov 29, 2011 8:51 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Tue Nov 29, 2011 8:44 pm
Posts: 3
maybe a solution is:

1-. install this plugin: http://extensions.joomla.org/extensions/edition/custom-code-in-content/18030

2-. paste this code:
Code:
<div class="back_button">
<a href='javascript:history.back(1)'>
<< BACK
</a>
</div>


it works....


Top
 Profile  
 
PostPosted: Mon Dec 19, 2011 8:26 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Wed Dec 14, 2011 2:34 am
Posts: 9
Thanks for this tip. This really works!


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



Who is online

Users browsing this forum: No registered users and 28 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