Jump to content

[SOLVED]URGENT !!!! I want to insert a specific URL to the category image and subcategory images, how?


seldon.paul2
 Share

Recommended Posts

I want to insert a specific URL to the category image and subcategory images, how?
I put the examples how it should be modified in my opinion for guidance, but it was trashed.
I don't know why?
----------------------------------------------------------------
http://www.prestashop.com/forums/viewreply/343645/
Title: URGENT!!! inserting URL for Category Image as well as subcategory
image
Message:As this topic does not comply with the
forum rules,
it has been deleted.
-----------------------------------------------------------------
That's not the point for this thread. I must have done something wrong.

So basically,
(1) I need to modify BO page, right? to have the input asking for the specific URL
for this image and when it is saved,

(2) where it is saved? for me to retrieve using php code.
(3) how can I retrieve the save specific URL

That retrieval would be the one to replace of the one in the current category.tpl?


/// --- how about using friendly URL? I will try and come back to this forum -
/// --- What is the definition of friendly URL in the category page for edit in BO?


(1) I decide to use description input field as a URL for the specific image.
(2) Comment out the description printing area in the category.tpl
(3) Insert this " {$category->description}" should be inside the

    
<!-- Category image -->
       {if $category->id_image}






       {/if}     



to

<!-- Category image -->
       {if $category->id_image}






       {/if}


"

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More